public abstract class NodeUtils extends Object
Constructor and Description |
---|
NodeUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
exists(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.cmr.repository.NodeService nodeService) |
static org.alfresco.util.collections.Filter<org.alfresco.service.cmr.repository.NodeRef> |
exists(org.alfresco.service.cmr.repository.NodeService nodeService) |
Comparator<org.alfresco.service.cmr.repository.NodeRef> |
getNodeCreationDateComparator(org.alfresco.service.cmr.repository.NodeService nodeService) |
static org.alfresco.service.cmr.repository.NodeRef |
getSingleAssocNode(Collection<org.alfresco.service.cmr.repository.AssociationRef> assocs,
boolean getTarget) |
static org.alfresco.service.cmr.repository.NodeRef |
getSingleChildAssocNode(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> assocs,
boolean getChild) |
List<org.alfresco.service.cmr.repository.NodeRef> |
sortByCreationDate(org.alfresco.service.cmr.repository.NodeService nodeService,
Collection<org.alfresco.service.cmr.repository.NodeRef> nodes) |
static org.alfresco.util.collections.Function<org.alfresco.service.cmr.repository.ChildAssociationRef,org.alfresco.service.cmr.repository.NodeRef> |
toChildRef() |
static List<org.alfresco.service.cmr.repository.NodeRef> |
toChildRefs(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> assocRefs) |
static org.alfresco.util.collections.Function<String,org.alfresco.service.cmr.repository.NodeRef> |
toNodeRef() |
static org.alfresco.util.collections.Function<String,org.alfresco.service.cmr.repository.NodeRef> |
toNodeRefQueitly() |
static List<org.alfresco.service.cmr.repository.NodeRef> |
toNodeRefs(Collection<String> nodeIds) |
static org.alfresco.util.collections.Function<org.alfresco.service.cmr.repository.ChildAssociationRef,org.alfresco.service.cmr.repository.NodeRef> |
toParentRef() |
static List<org.alfresco.service.cmr.repository.NodeRef> |
toParentRefs(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> assocRefs) |
public static org.alfresco.util.collections.Function<String,org.alfresco.service.cmr.repository.NodeRef> toNodeRef()
public static List<org.alfresco.service.cmr.repository.NodeRef> toNodeRefs(Collection<String> nodeIds)
public static org.alfresco.util.collections.Function<org.alfresco.service.cmr.repository.ChildAssociationRef,org.alfresco.service.cmr.repository.NodeRef> toChildRef()
public static List<org.alfresco.service.cmr.repository.NodeRef> toChildRefs(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> assocRefs)
public static org.alfresco.util.collections.Function<org.alfresco.service.cmr.repository.ChildAssociationRef,org.alfresco.service.cmr.repository.NodeRef> toParentRef()
public static List<org.alfresco.service.cmr.repository.NodeRef> toParentRefs(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> assocRefs)
public static org.alfresco.util.collections.Function<String,org.alfresco.service.cmr.repository.NodeRef> toNodeRefQueitly()
public static org.alfresco.util.collections.Filter<org.alfresco.service.cmr.repository.NodeRef> exists(org.alfresco.service.cmr.repository.NodeService nodeService)
public static boolean exists(org.alfresco.service.cmr.repository.NodeRef node, org.alfresco.service.cmr.repository.NodeService nodeService)
public static org.alfresco.service.cmr.repository.NodeRef getSingleChildAssocNode(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> assocs, boolean getChild)
public static org.alfresco.service.cmr.repository.NodeRef getSingleAssocNode(Collection<org.alfresco.service.cmr.repository.AssociationRef> assocs, boolean getTarget)
public List<org.alfresco.service.cmr.repository.NodeRef> sortByCreationDate(org.alfresco.service.cmr.repository.NodeService nodeService, Collection<org.alfresco.service.cmr.repository.NodeRef> nodes)
public Comparator<org.alfresco.service.cmr.repository.NodeRef> getNodeCreationDateComparator(org.alfresco.service.cmr.repository.NodeService nodeService)
Copyright © 2005–2017 Alfresco Software. All rights reserved.