Class ConceptionFolderGuardFactory
java.lang.Object
ch.tocco.nice2.dms.impl.security.guard.AbstractEntityDocsGuardFactory
ch.tocco.nice2.dms.impl.security.guard.FolderGuardFactory
ch.tocco.nice2.dms.impl.security.guard.ConceptionFolderGuardFactory
- All Implemented Interfaces:
GuardFactory
GuardFactory
for Folder entities in Entity.State.CONCEPTION
state that is based on
Entity
instances.
The FolderGuardFactory
cannot be used for Entity.State.CONCEPTION
entities because it is
based on queries.
This is not a performance issue because nothing needs to be loaded from the database.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.dms.impl.security.guard.AbstractEntityDocsGuardFactory
AbstractEntityDocsGuardFactory.AbstractEntityDocsGuard
-
Field Summary
Fields inherited from class ch.tocco.nice2.dms.impl.security.guard.AbstractEntityDocsGuardFactory
businessUnitManager, dataModel, persistenceService, securityManager
-
Constructor Summary
ConstructorDescriptionConceptionFolderGuardFactory
(org.slf4j.Logger logger, SecurityManager securityManager, DataModel dataModel, PersistenceService persistenceService, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<EntityReference> getRelatedEntities
(List<EntityReference> folders) protected List
<EntityReference> supportedEntities
(List<EntityReference> entityReferences) Methods inherited from class ch.tocco.nice2.dms.impl.security.guard.FolderGuardFactory
createGuard
Methods inherited from class ch.tocco.nice2.dms.impl.security.guard.AbstractEntityDocsGuardFactory
getEntitiesFromSecuredObjects, getPrivilegedInvoker, isMailBoxFolder, loadRelatedEntityKeys, priority, supports
-
Constructor Details
-
ConceptionFolderGuardFactory
public ConceptionFolderGuardFactory(org.slf4j.Logger logger, SecurityManager securityManager, DataModel dataModel, PersistenceService persistenceService, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
supportedEntities
- Overrides:
supportedEntities
in classFolderGuardFactory
- Returns:
- the number of given
EntityReference
that are supported by this guard.
-
getRelatedEntities
- Overrides:
getRelatedEntities
in classFolderGuardFactory
-