Package org.cyclos.services.access
Interface AgreementLogService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
AgreementLogServiceLocal
public interface AgreementLogService extends Service
Service interface for agreement log operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacceptPending(@NotNull Set<AgreementVO> agreements)Marks the given pending agreements as accepted.UserAgreementsDatagetData(UserLocatorVO locator)Returns agreements data for the given userAgreementLogVOload(@NotNull Long id)Loads anAgreementLogVOby idvoidsaveOptional(@NotNull UserOptionalAgreementsDTO params)Saves the accepted status for optional agreements
-
-
-
Method Detail
-
acceptPending
void acceptPending(@NotNull @NotNull Set<AgreementVO> agreements) throws FrameworkExceptionMarks the given pending agreements as accepted. It is validated that all the currently pending agreements are accepted, ie, it is not possible to accept a subset of the pending agreements- Throws:
FrameworkException
-
getData
UserAgreementsData getData(UserLocatorVO locator) throws FrameworkException
Returns agreements data for the given user- Throws:
FrameworkException
-
load
AgreementLogVO load(@NotNull @NotNull Long id) throws FrameworkException
Loads anAgreementLogVOby id- Throws:
FrameworkException
-
saveOptional
void saveOptional(@NotNull @NotNull UserOptionalAgreementsDTO params) throws FrameworkExceptionSaves the accepted status for optional agreements- Throws:
FrameworkException
-
-