public abstract class AbstractQuery<RESULTSET> extends Object implements ServerQuery<RESULTSET>
Before executing, all the services need to be set.
SYS_COL_ASSOC_NAME, SYS_COL_ASSOC_TYPE, SYS_COL_IS_PRIMARY, SYS_COL_NTH_SIBLING| Constructor and Description |
|---|
AbstractQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected ResultSetRowNode |
createResultSetRowNode(NodeRef nodeRef,
NodeService nodeService)
Create a result set row node object for the provided node reference
|
RESULTSET |
execute(ServiceRegistry serviceRegistry,
long maxResults)
Override this method only if the query can limit the results without a post-query cut-off.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic RESULTSET execute(ServiceRegistry serviceRegistry, long maxResults)
execute in interface ServerQuery<RESULTSET>maxResults - the total number of results to retrieveprotected ResultSetRowNode createResultSetRowNode(NodeRef nodeRef, NodeService nodeService)
nodeRef - the node referencenodeService - the node serviceCopyright © 2005–2014 Alfresco Software. All rights reserved.