org.alfresco.repo.node
Interface NodeServicePolicies.OnDeleteNodePolicy

All Superinterfaces:
ClassPolicy, Policy
All Known Implementing Classes:
BaseNodeServiceTest.BadOnDeleteNodePolicy, BufferedContentDiskDriver, DictionaryModelType, FailedThumbnailSourceAspect, IntegrityChecker, NfsServerNodeMonitor, OwnableServiceImpl, VersionableAspect
Enclosing interface:
NodeServicePolicies

public static interface NodeServicePolicies.OnDeleteNodePolicy
extends ClassPolicy


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 onDeleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, boolean isNodeArchived)
          Called after a node is deleted.
 

Field Detail

QNAME

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

onDeleteNode

void onDeleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                  boolean isNodeArchived)
Called after a node is deleted. The reference given is for an association which has been deleted and cannot be used to retrieve node or associaton information from any of the services.

Parameters:
childAssocRef - the primary parent-child association of the deleted node
isNodeArchived - indicates whether the node has been archived rather than purged


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