Class CopyLicenceServiceImpl
java.lang.Object
ch.tocco.nice2.optional.licence.impl.service.CopyLicenceServiceImpl
- All Implemented Interfaces:
CopyLicenceService
-
Constructor Summary
ConstructorDescriptionCopyLicenceServiceImpl
(Context context, TextResources textResources, QueryBuilderFactory queryBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
referenceValidLicenceType
(Entity originalLicence, Entity newLicenceCopy, Function<String, Void> errorHandler, Locale locale) void
setManualRelations
(Entity newLicenceCopy, Entity currentUserEntity) void
-
Constructor Details
-
CopyLicenceServiceImpl
public CopyLicenceServiceImpl(Context context, TextResources textResources, QueryBuilderFactory queryBuilderFactory)
-
-
Method Details
-
setManualRelations
- Specified by:
setManualRelations
in interfaceCopyLicenceService
-
referenceValidLicenceType
public void referenceValidLicenceType(Entity originalLicence, Entity newLicenceCopy, Function<String, Void> errorHandler, Locale locale) - Specified by:
referenceValidLicenceType
in interfaceCopyLicenceService
-
setStatus
- Specified by:
setStatus
in interfaceCopyLicenceService
-