public class BeforeDeleteChildAssociationRuleTrigger extends RuleTriggerAbstractBase implements NodeServicePolicies.BeforeDeleteChildAssociationPolicy, NodeServicePolicies.BeforeMoveNodePolicy
Policy names supported are:
Policy.Arg
authenticationComponent, contentService, dictionaryService, executeRuleImmediately, nodeService, policyComponent, ruleService
QNAME
QNAME
RULE_TRIGGER_NEW_NODES, RULE_TRIGGER_RENAMED_NODES
Constructor and Description |
---|
BeforeDeleteChildAssociationRuleTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
beforeDeleteChildAssociation(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
Called before a node child association is deleted.
|
void |
beforeMoveNode(org.alfresco.service.cmr.repository.ChildAssociationRef oldChildAssocRef,
org.alfresco.service.cmr.repository.NodeRef newParentRef)
Called before a node is 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 BeforeDeleteChildAssociationRuleTrigger()
public void setIsClassBehaviour(boolean isClassBehaviour)
public void registerRuleTrigger()
RuleTrigger
registerRuleTrigger
in interface RuleTrigger
RuleTrigger.registerRuleTrigger()
public void beforeDeleteChildAssociation(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
NodeServicePolicies.BeforeDeleteChildAssociationPolicy
beforeDeleteChildAssociation
in interface NodeServicePolicies.BeforeDeleteChildAssociationPolicy
childAssocRef
- the child association to be deletedpublic void beforeMoveNode(org.alfresco.service.cmr.repository.ChildAssociationRef oldChildAssocRef, org.alfresco.service.cmr.repository.NodeRef newParentRef)
NodeServicePolicies.BeforeMoveNodePolicy
beforeMoveNode
in interface NodeServicePolicies.BeforeMoveNodePolicy
oldChildAssocRef
- the child association reference prior to the movenewParentRef
- the new parent node referenceCopyright © 2005–2017 Alfresco Software. All rights reserved.