public class OnCreateChildAssociationRuleTrigger extends RuleTriggerAbstractBase implements NodeServicePolicies.OnCreateChildAssociationPolicy
Policy names supported are:
Policy.Arg
authenticationComponent, contentService, dictionaryService, executeRuleImmediately, nodeService, policyComponent, ruleService
QNAME
RULE_TRIGGER_NEW_NODES, RULE_TRIGGER_RENAMED_NODES
Constructor and Description |
---|
OnCreateChildAssociationRuleTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
onCreateChildAssociation(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
boolean isNewNode)
Called after a node child association has been created.
|
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 onCreateChildAssociation(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, boolean isNewNode)
NodeServicePolicies.OnCreateChildAssociationPolicy
onCreateChildAssociation
in interface NodeServicePolicies.OnCreateChildAssociationPolicy
childAssocRef
- the child association that has been createdisNewNode
- true if the node is new or false if the node is being linked inCopyright © 2005–2017 Alfresco Software. All rights reserved.