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
ConstructorDescriptionAbstractUpdateDomainShortcutListener
(ContentTreeService contentTreeService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
clearNode
(ContentTreeNode node) void
protected abstract void
updateNode
(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, entityRelationChanging
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
handleSessionOnlyEntity
-
Constructor Details
-
AbstractUpdateDomainShortcutListener
public AbstractUpdateDomainShortcutListener(ContentTreeService contentTreeService, SecurityManager securityManager)
-
-
Method Details
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptible
in classInterruptibleEntityFacadeAdapter
-
updateNode
-
clearNode
-