Package org.cyclos.services.access
Interface AgreementService
-
- All Superinterfaces:
CRUDService<AgreementDTO,AgreementData,Void>,Service
- All Known Subinterfaces:
AgreementServiceLocal
public interface AgreementService extends CRUDService<AgreementDTO,AgreementData,Void>
Service interface for agreement operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgreementContentVOgetContent(@NotNull AgreementVO agreement, Integer version, Long groupId)Returns the content of a given agreement, optionally with a specific version.List<AgreementVO>list()Lists all agreements.-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
getContent
AgreementContentVO getContent(@NotNull @NotNull AgreementVO agreement, Integer version, Long groupId) throws FrameworkException
Returns the content of a given agreement, optionally with a specific version. When no version is specified, returns the current content.- Throws:
FrameworkException
-
list
List<AgreementVO> list() throws FrameworkException
Lists all agreements.- Throws:
FrameworkException
-
-