org.alfresco.repo.node
Class NodeUtils

java.lang.Object
  extended by org.alfresco.repo.node.NodeUtils

public abstract class NodeUtils
extends java.lang.Object

Since:
4.0

Constructor Summary
NodeUtils()
           
 
Method Summary
static boolean exists(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.cmr.repository.NodeService nodeService)
           
static org.alfresco.util.collections.Filter exists(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 java.util.Comparator getNodeCreationDateComparator(org.alfresco.service.cmr.repository.NodeService nodeService)
           
static org.alfresco.service.cmr.repository.NodeRef getSingleAssocNode(java.util.Collection assocs, boolean getTarget)
           
static org.alfresco.service.cmr.repository.NodeRef getSingleChildAssocNode(java.util.Collection assocs, boolean getChild)
           
 java.util.List sortByCreationDate(org.alfresco.service.cmr.repository.NodeService nodeService, java.util.Collection nodes)
           
static org.alfresco.util.collections.Function toChildRef()
           
static java.util.List toChildRefs(java.util.Collection assocRefs)
           
static org.alfresco.util.collections.Function toNodeRef()
           
static org.alfresco.util.collections.Function toNodeRefQueitly()
           
static java.util.List toNodeRefs(java.util.Collection nodeIds)
           
static org.alfresco.util.collections.Function toParentRef()
           
static java.util.List toParentRefs(java.util.Collection assocRefs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeUtils

public NodeUtils()
Method Detail

toNodeRef

public static org.alfresco.util.collections.Function toNodeRef()

toNodeRefs

public static java.util.List toNodeRefs(java.util.Collection nodeIds)

toChildRef

public static org.alfresco.util.collections.Function toChildRef()

toChildRefs

public static java.util.List toChildRefs(java.util.Collection assocRefs)

toParentRef

public static org.alfresco.util.collections.Function toParentRef()

toParentRefs

public static java.util.List toParentRefs(java.util.Collection assocRefs)

toNodeRefQueitly

public static org.alfresco.util.collections.Function toNodeRefQueitly()

exists

public static org.alfresco.util.collections.Filter exists(org.alfresco.service.cmr.repository.NodeService nodeService)

exists

public static boolean exists(org.alfresco.service.cmr.repository.NodeRef node,
                             org.alfresco.service.cmr.repository.NodeService nodeService)

getSingleChildAssocNode

public static org.alfresco.service.cmr.repository.NodeRef getSingleChildAssocNode(java.util.Collection assocs,
                                                                                  boolean getChild)

getSingleAssocNode

public static org.alfresco.service.cmr.repository.NodeRef getSingleAssocNode(java.util.Collection assocs,
                                                                             boolean getTarget)

sortByCreationDate

public java.util.List sortByCreationDate(org.alfresco.service.cmr.repository.NodeService nodeService,
                                         java.util.Collection nodes)

getNodeCreationDateComparator

public java.util.Comparator getNodeCreationDateComparator(org.alfresco.service.cmr.repository.NodeService nodeService)


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