public class OnMoveNodeRuleTrigger extends RuleTriggerAbstractBase implements NodeServicePolicies.OnMoveNodePolicy
Policy.Arg
authenticationComponent, contentService, dictionaryService, executeRuleImmediately, nodeService, policyComponent, ruleService
QNAME
RULE_TRIGGER_NEW_NODES, RULE_TRIGGER_RENAMED_NODES
Constructor and Description |
---|
OnMoveNodeRuleTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
onMoveNode(org.alfresco.service.cmr.repository.ChildAssociationRef oldChildAssocRef,
org.alfresco.service.cmr.repository.ChildAssociationRef newChildAssocRef)
Called when a node has been moved.
|
void |
registerRuleTrigger()
Register the rule trigger
|
void |
setIsClassBehaviour(boolean isClassBehaviour) |
areRulesEnabled, getIgnoredAspects, getIgnoredTypes, ignoreTrigger, registerRuleType, setAuthenticationComponent, setContentService, setDictionaryService, setExecuteRuleImmediately, setIgnoredAspectsStr, setIgnoredTypeStr, setNodeService, setPolicyComponent, setRuleService, triggerRules
public void setIsClassBehaviour(boolean isClassBehaviour)
public void registerRuleTrigger()
RuleTrigger
registerRuleTrigger
in interface RuleTrigger
RuleTrigger.registerRuleTrigger()
public void onMoveNode(org.alfresco.service.cmr.repository.ChildAssociationRef oldChildAssocRef, org.alfresco.service.cmr.repository.ChildAssociationRef newChildAssocRef)
NodeServicePolicies.OnMoveNodePolicy
onMoveNode
in interface NodeServicePolicies.OnMoveNodePolicy
oldChildAssocRef
- the child association reference prior to the movenewChildAssocRef
- the child association reference after the moveCopyright © 2005–2017 Alfresco Software. All rights reserved.