Jean-Francois Leveque

Comments in English

......@@ -17,9 +17,10 @@ import java.util.List;
import java.util.stream.Collectors;
/**
* Vue de listPublisherVersions.xhtml
* Permet de voir l'ensemble des actions des éditeurs.
* Permet de voir l'ensemble des actions d'un éditeur.
* listPublisherVersions.xhtml's view
*
* Provides all PublisherAction
* Provides all PublisherAction for a Publisher
*/
@Named
@RequestScoped
......@@ -50,6 +51,7 @@ public class ListPublisherActionsView implements Serializable {
ListPublisherActionsView() {
//no args constructor to make it proxyable
}
@PostConstruct
@RequestAction
public void init() {
......
......@@ -19,9 +19,8 @@ import java.util.List;
import java.util.stream.Collectors;
/**
* Vue de listPublisherVersions.xhtml
* Permet de voir l'ensemble des versions des éditeurs.
* Permet de voir l'ensemble des versions d'un éditeur et de valider l'une d'elles.
* listPublisherVersions.xhtml's view
*
*/
@Named
@RequestScoped
......@@ -86,22 +85,17 @@ public class ListPublisherVersionsView implements Serializable {
/**
* Returns last validation action for Publisher
*
* @param publisher
* @param publisher Publisher we want last Validate PublisherAction
* @return PublisherAction
*/
public PublisherAction getLastValidate(Publisher publisher) {
return publisherService.getLastValidate(publisher);
}
// View Action being executed at view loading
/*
public void setView() {
}
*/
/**
* Validates a PublisherVersion for its Publisher
*
* @param publisherVersion
* @param publisherVersion PublisherVersion to validate
*/
public void validate(PublisherVersion publisherVersion) {
logger.trace("validate");
......
......@@ -46,7 +46,7 @@ public interface PublisherService {
PublisherAction validatePublisherVersion(@NotNull PublisherVersion publisherVersion);
/**
* @return all persisted PublisherVersions*
* @return all persisted PublisherVersions
*/
List<PublisherVersion> getAllPublisherVersions();
......