PublisherService.java
1014 Bytes
package org.legrog.web.publisher;
import org.legrog.entities.Publisher;
import org.legrog.entities.PublisherAction;
import org.legrog.entities.PublisherVersion;
import java.util.List;
/*
Interface correspondant à la gestion des éditeurs et de leurs versions.
Contient des signatures méthodes d'ajout, de modification et de validation de version ainsi que de restitution.
*/
public interface PublisherService {
PublisherVersion addNewPublisher(PublisherVersion publisherVersion);
PublisherVersion addVersionToPublisher(Publisher publisher, PublisherVersion publisherVersion);
PublisherAction validatePublisherVersion(PublisherVersion publisherVersion);
List<PublisherVersion> getAllPublisherVersions();
PublisherVersion getPublisherVersion(Integer publisherVersionId);
PublisherAction getLastValidate(Publisher publisher);
List<PublisherAction> getAllPublisherActions();
List<PublisherAction> getAllPublisherVersionActions(PublisherVersion publisherVersion);
}