Package ch.tocco.nice2.dms.api.tree
Class AbstractUpdateDomainShortcutListener
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
ch.tocco.nice2.dms.api.tree.AbstractUpdateDomainShortcutListener
- All Implemented Interfaces:
EntityFacadeListener,EventListener
- Direct Known Subclasses:
UpdateCmsDomainShortcutListener,UpdateDmsDomainShortcutListener
This listener sets a shortcut relation from an node to its domain.
A domain shortcut is a direct relation from a child node to the domain.
This information is redundant, since one can also traverse the entire
tree path. This redundant link allows to resolve the root more efficiently.
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractUpdateDomainShortcutListener(ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidclearNode(ContentTreeNode node) voidprotected abstract voidupdateNode(ContentTreeNode node, Entity domain) Methods inherited from class ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
entityChanging, entityChangingInterruptible, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChangingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeListener
handleSessionOnlyEntity
-
Constructor Details
-
AbstractUpdateDomainShortcutListener
public AbstractUpdateDomainShortcutListener(ContentTreeService contentTreeService, SecurityManager securityManager)
-
-
Method Details
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-
updateNode
-
clearNode
-