org.alfresco.repo.webservice.repository
Class RepositoryQuerySession
java.lang.Object
org.alfresco.repo.webservice.AbstractQuerySession
org.alfresco.repo.webservice.repository.RepositoryQuerySession
- All Implemented Interfaces:
- java.io.Serializable, QuerySession
public class RepositoryQuerySession
- extends AbstractQuerySession
A query session for use with node-related queries against the
repository.
- Since:
- 2.1
- See Also:
- Serialized Form
Method Summary |
org.alfresco.repo.webservice.types.ResultSet |
getNextResults(org.alfresco.service.ServiceRegistry serviceRegistry)
Get the next batch of results from the full set of available results. |
protected org.alfresco.repo.webservice.types.ResultSetRow[] |
makeArray(int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryQuerySession
public RepositoryQuerySession(long maxResults,
long batchSize,
ServerQuery query)
makeArray
protected org.alfresco.repo.webservice.types.ResultSetRow[] makeArray(int size)
- Specified by:
makeArray
in class AbstractQuerySession
getNextResults
public org.alfresco.repo.webservice.types.ResultSet getNextResults(org.alfresco.service.ServiceRegistry serviceRegistry)
- Description copied from interface:
QuerySession
- Get the next batch of results from the full set of available results. If there are no results
available, then this session must go and fetch them. It is up to the implementation to provide
a means for this to occur.
- Parameters:
serviceRegistry
- the services to perform a query
- Returns:
- Returns the next batch of results based on the maximum fetch size. If there are no
more results, the resultset will be empty.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.