org.alfresco.repo.rule.ruletrigger
Class OnCreateChildAssociationRuleTrigger
java.lang.Object
org.alfresco.repo.rule.ruletrigger.RuleTriggerAbstractBase
org.alfresco.repo.rule.ruletrigger.OnCreateChildAssociationRuleTrigger
- All Implemented Interfaces:
- NodeServicePolicies.OnCreateChildAssociationPolicy, AssociationPolicy, Policy, RuleTrigger
public class OnCreateChildAssociationRuleTrigger
- extends RuleTriggerAbstractBase
- implements NodeServicePolicies.OnCreateChildAssociationPolicy
A rule trigger for the creation of secondary child associations.
Policy names supported are:
- NodeServicePolicies.OnCreateChildAssociationPolicy
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
Policy.Arg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnCreateChildAssociationRuleTrigger
public OnCreateChildAssociationRuleTrigger()
setIsClassBehaviour
public void setIsClassBehaviour(boolean isClassBehaviour)
registerRuleTrigger
public void registerRuleTrigger()
- Description copied from interface:
RuleTrigger
- Register the rule trigger
- Specified by:
registerRuleTrigger
in interface RuleTrigger
- See Also:
RuleTrigger.registerRuleTrigger()
onCreateChildAssociation
public void onCreateChildAssociation(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
boolean isNewNode)
- Description copied from interface:
NodeServicePolicies.OnCreateChildAssociationPolicy
- Called after a node child association has been created.
- Specified by:
onCreateChildAssociation
in interface NodeServicePolicies.OnCreateChildAssociationPolicy
- Parameters:
childAssocRef
- the child association that has been createdisNewNode
- true if the node is new or false if the node is being linked in
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.