org.alfresco.repo.transfer
Class PeerAssociatedNodeFinder
java.lang.Object
org.alfresco.repo.transfer.AbstractNodeFinder
org.alfresco.repo.transfer.PeerAssociatedNodeFinder
- All Implemented Interfaces:
- NodeFinder
public class PeerAssociatedNodeFinder
- extends AbstractNodeFinder
This class can be used to find nodes that are associated with peer associations
(as opposed to child associations).
- Since:
- 3.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeerAssociatedNodeFinder
public PeerAssociatedNodeFinder()
PeerAssociatedNodeFinder
public PeerAssociatedNodeFinder(java.util.Collection associationTypeNames)
PeerAssociatedNodeFinder
public PeerAssociatedNodeFinder(org.alfresco.service.namespace.QName[] associationTypeNames)
PeerAssociatedNodeFinder
public PeerAssociatedNodeFinder(java.util.Collection associationTypeNames,
boolean exclude)
setExclude
public void setExclude(boolean exclude)
- Parameters:
exclude
- Set to true to exclude the specified association types, and false to include only the specified
association types.
setAssociationTypes
public void setAssociationTypes(org.alfresco.service.namespace.QName[] associationTypes)
setAssociationTypes
public void setAssociationTypes(java.util.Collection associationTypes)
findFrom
public java.util.Set findFrom(org.alfresco.service.cmr.repository.NodeRef thisNode)
- Parameters:
thisNode
- The node to use as the base from which to find other nodes.
- Returns:
- The found nodes
init
public void init()
- Overrides:
init
in class AbstractNodeFinder
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.