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 org.alfresco.service.namespace.QName QNAME
           
 
Fields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE
 
Method Summary
 void beforeCreateChildAssociation(org.alfresco.service.cmr.repository.NodeRef parentNodeRef, org.alfresco.service.cmr.repository.NodeRef childNodeRef, org.alfresco.service.namespace.QName assocTypeQName, org.alfresco.service.namespace.QName assocQName, boolean isNewNode)
          Deprecated. This is not necessary and we don't know about the child node until after the association has been created.
 

Field Detail

QNAME

static final org.alfresco.service.namespace.QName QNAME
Method Detail

beforeCreateChildAssociation

void beforeCreateChildAssociation(org.alfresco.service.cmr.repository.NodeRef parentNodeRef,
                                  org.alfresco.service.cmr.repository.NodeRef childNodeRef,
                                  org.alfresco.service.namespace.QName assocTypeQName,
                                  org.alfresco.service.namespace.QName assocQName,
                                  boolean isNewNode)
Deprecated. This is not necessary and we don't know about the child node until after the association has been created.

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.