org.alfresco.repo.node
Interface NodeServicePolicies.BeforeCreateChildAssociationPolicy

All Superinterfaces:
AssociationPolicy, Policy
All Known Implementing Classes:
LockServiceImpl, RuleServiceImpl
Enclosing interface:
NodeServicePolicies

public static interface NodeServicePolicies.BeforeCreateChildAssociationPolicy
extends AssociationPolicy


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg
 
Field Summary
static QName QNAME
           
 
Fields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE
 
Method Summary
 void beforeCreateChildAssociation(NodeRef parentNodeRef, NodeRef childNodeRef, QName assocTypeQName, QName assocQName, boolean isNewNode)
          Called before a node child association is created.
 

Field Detail

QNAME

static final QName QNAME
Method Detail

beforeCreateChildAssociation

void beforeCreateChildAssociation(NodeRef parentNodeRef,
                                  NodeRef childNodeRef,
                                  QName assocTypeQName,
                                  QName assocQName,
                                  boolean isNewNode)
Called before a node child association is created.

Parameters:
parentNodeRef - the parent node reference
childNodeRef - the child node reference
assocTypeQName - the type of the association
assocQName - the name of the association
isNewNode - true if the node is new or false if the node is being linked in


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.