Class CreateResourceEntityListener
java.lang.Object
ch.tocco.nice2.dms.impl.entitylistener.CreateResourceEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
Create resource entity for all non empty entity doc binary fields.
Additionally create the resource folders if required.
-
Constructor Summary
ConstructorDescriptionCreateResourceEntityListener
(org.slf4j.Logger log, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, CommandExecutor commandExecutor, EntityDefaultValueService defaultValueService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
entityChanging
(EntityChangedEvent event) Fired when any changes are made to an entity.void
entityCreating
(EntityFacadeEvent event) Fired when an entity is being created.void
setExcludedEntityModels
(Collection<String> excludedEntityModels) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeListener
entityDeleting, entityReceivedValues, entityRelationChanging, handleSessionOnlyEntity
-
Constructor Details
-
CreateResourceEntityListener
public CreateResourceEntityListener(org.slf4j.Logger log, ContentTreeService contentTreeService, InternalEntityDocumentsService internalEntityDocumentsService, CommandExecutor commandExecutor, EntityDefaultValueService defaultValueService, SecurityManager securityManager)
-
-
Method Details
-
entityCreating
Description copied from interface:EntityFacadeListener
Fired when an entity is being created.- Specified by:
entityCreating
in interfaceEntityFacadeListener
- Parameters:
event
- The event object.
-
entityChanging
Description copied from interface:EntityFacadeListener
Fired when any changes are made to an entity.- Specified by:
entityChanging
in interfaceEntityFacadeListener
- Parameters:
event
- The event object.
-
setExcludedEntityModels
-