Package org.alfresco.repo.node
Class NodeUtils
java.lang.Object
org.alfresco.repo.node.NodeUtils
- Since:
- 4.0
- Author:
- Nick Smith
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanexists(NodeRef node, NodeService nodeService) static org.alfresco.util.collections.Filter<NodeRef>exists(NodeService nodeService) getNodeCreationDateComparator(NodeService nodeService) static NodeRefgetSingleAssocNode(Collection<AssociationRef> assocs, boolean getTarget) static NodeRefgetSingleChildAssocNode(Collection<ChildAssociationRef> assocs, boolean getChild) sortByCreationDate(NodeService nodeService, Collection<NodeRef> nodes) static org.alfresco.util.collections.Function<ChildAssociationRef,NodeRef> toChildRefs(Collection<ChildAssociationRef> assocRefs) toNodeRefs(Collection<String> nodeIds) static org.alfresco.util.collections.Function<ChildAssociationRef,NodeRef> toParentRefs(Collection<ChildAssociationRef> assocRefs)
-
Constructor Details
-
NodeUtils
public NodeUtils()
-
-
Method Details
-
toNodeRef
-
toNodeRefs
-
toChildRef
-
toChildRefs
-
toParentRef
-
toParentRefs
-
toNodeRefQueitly
-
exists
-
exists
-
getSingleChildAssocNode
public static NodeRef getSingleChildAssocNode(Collection<ChildAssociationRef> assocs, boolean getChild) -
getSingleAssocNode
-
sortByCreationDate
-
getNodeCreationDateComparator
-