Class EntityFolderTemplateConfirmationServiceImpl
java.lang.Object
ch.tocco.nice2.dms.impl.entitydocs.template.EntityFolderTemplateConfirmationServiceImpl
- All Implemented Interfaces:
EntityFolderTemplateConfirmationService
public class EntityFolderTemplateConfirmationServiceImpl
extends Object
implements EntityFolderTemplateConfirmationService
-
Constructor Summary
ConstructorDescriptionEntityFolderTemplateConfirmationServiceImpl
(DefaultDisplayService defaultDisplayService, Context context, EntityDocumentsService entityDocumentsService, FolderNodeMergeService folderNodeMergeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply the configuration as recieved from the clientvoid
askConfirmation
(ConfirmationBuilder confirmationBuilder, Optional<RemoteContext> remoteContextOptional) Asks the current client for confirmation for the provided entity folder templates if the request came from a web client.
-
Constructor Details
-
EntityFolderTemplateConfirmationServiceImpl
public EntityFolderTemplateConfirmationServiceImpl(DefaultDisplayService defaultDisplayService, Context context, EntityDocumentsService entityDocumentsService, FolderNodeMergeService folderNodeMergeService, SecurityManager securityManager)
-
-
Method Details
-
getConfirmationBuilder
- Specified by:
getConfirmationBuilder
in interfaceEntityFolderTemplateConfirmationService
-
askConfirmation
public void askConfirmation(ConfirmationBuilder confirmationBuilder, Optional<RemoteContext> remoteContextOptional) Description copied from interface:EntityFolderTemplateConfirmationService
Asks the current client for confirmation for the provided entity folder templates if the request came from a web client.- Specified by:
askConfirmation
in interfaceEntityFolderTemplateConfirmationService
- Parameters:
confirmationBuilder
- aConfirmationBuilder
containing available entity folder templates for created entities.remoteContextOptional
- the optionalRemoteContext
from which the request was created.
-
apply
Description copied from interface:EntityFolderTemplateConfirmationService
Apply the configuration as recieved from the client- Specified by:
apply
in interfaceEntityFolderTemplateConfirmationService
- Parameters:
configuration
- a map containing entity identifiers in the form "Entity_model_name[PK]" as keys and a comma separated list of unique_ids of selected Entity_folder_templates
-