public static class NodeService.FindNodeParameters extends Object
Constructor and Description |
---|
FindNodeParameters()
Defaults:
minNodeId: null maxNodeId: null nodeTypes: null nodeAspects: null sortAscending: true limit: 10000 |
Modifier and Type | Method and 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 return
|
void |
setMinNodeId(Long minNodeId)
The lowest node ID (inclusive) to return
|
void |
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.
|
public FindNodeParameters()
public Long getMinNodeId()
public void setMinNodeId(Long minNodeId)
minNodeId
- the minimum node ID or null to ignorepublic Long getMaxNodeId()
public void setMaxNodeId(Long maxNodeId)
maxNodeId
- the maximum node ID or null to ignorepublic void setNodeTypes(List<QName> nodeTypes)
nodeTypes
- the node types or null to ignorepublic void setNodeAspects(List<QName> nodeAspects)
nodeAspects
- the node aspects or null to ignorepublic boolean isSortAscending()
public void setSortAscending(boolean sortAscending)
sortAscending
- true to retrieve the nodes in ascending ID orderpublic int getLimit()
public void setLimit(int limit)
limit
- the maximum number of results to returnCopyright © 2005–2017 Alfresco Software. All rights reserved.