Class NodeService.FindNodeParameters
- java.lang.Object
-
- org.alfresco.service.cmr.repository.NodeService.FindNodeParameters
-
- Enclosing interface:
- NodeService
public static class NodeService.FindNodeParameters extends Object
General node-find parameters. There may be some combinations of parameters that are not valid; look at the specific setter methods to get more information.- Since:
- 3.4.0b
- Author:
- Derek Hulley
-
-
Constructor Summary
Constructors Constructor Description FindNodeParameters()
Defaults:
minNodeId: null
maxNodeId: null
nodeTypes: null
nodeAspects: null
sortAscending: true
limit: 10000
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLimit()
Long
getMaxNodeId()
Long
getMinNodeId()
List<QName>
getNodeAspects()
List<QName>
getNodeTypes()
boolean
isSortAscending()
void
setLimit(int limit)
Set the number of results to return.void
setMaxNodeId(Long maxNodeId)
The largest node ID (exclusive) to returnvoid
setMinNodeId(Long minNodeId)
The lowest node ID (inclusive) to returnvoid
setNodeAspects(List<QName> nodeAspects)
Set the node aspects to find.void
setNodeTypes(List<QName> nodeTypes)
Set the node types to find.void
setSortAscending(boolean sortAscending)
Set the node-ID sort order.
-
-
-
Method Detail
-
getMinNodeId
public Long getMinNodeId()
-
setMinNodeId
public void setMinNodeId(Long minNodeId)
The lowest node ID (inclusive) to return- Parameters:
minNodeId
- the minimum node ID or null to ignore
-
getMaxNodeId
public Long getMaxNodeId()
-
setMaxNodeId
public void setMaxNodeId(Long maxNodeId)
The largest node ID (exclusive) to return- Parameters:
maxNodeId
- the maximum node ID or null to ignore
-
setNodeTypes
public void setNodeTypes(List<QName> nodeTypes)
Set the node types to find. Subtypes will be included automatically.- Parameters:
nodeTypes
- the node types or null to ignore
-
setNodeAspects
public void setNodeAspects(List<QName> nodeAspects)
Set the node aspects to find. Subtypes will be included automatically.- Parameters:
nodeAspects
- the node aspects or null to ignore
-
isSortAscending
public boolean isSortAscending()
-
setSortAscending
public void setSortAscending(boolean sortAscending)
Set the node-ID sort order.- Parameters:
sortAscending
- true to retrieve the nodes in ascending ID order
-
getLimit
public int getLimit()
-
setLimit
public void setLimit(int limit)
Set the number of results to return. If this too large, then results will be trimmed by wrapping classes or might cause excessive resource usage; limit the results and requery using the ID-bases limiters.- Parameters:
limit
- the maximum number of results to return
-
-