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