org.alfresco.repo.webservice.administration
Class UserQuerySession

java.lang.Object
  extended by org.alfresco.repo.webservice.AbstractQuerySession
      extended by org.alfresco.repo.webservice.administration.UserQuerySession
All Implemented Interfaces:
java.io.Serializable, QuerySession

public class UserQuerySession
extends AbstractQuerySession

A session for managing user-related queries.

Since:
2.1
See Also:
Serialized Form

Constructor Summary
UserQuerySession(long maxResults, long batchSize, ServerQuery query)
           
 
Method Summary
 org.alfresco.repo.webservice.administration.UserQueryResults getNextResults(org.alfresco.service.ServiceRegistry serviceRegistry)
          Get the next batch of results from the full set of available results.
protected  org.alfresco.repo.webservice.administration.UserDetails[] makeArray(int size)
           
 
Methods inherited from class org.alfresco.repo.webservice.AbstractQuerySession
getId, getNextResults, getQuery, getQueryResults, haveMoreResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserQuerySession

public UserQuerySession(long maxResults,
                        long batchSize,
                        ServerQuery query)
Method Detail

makeArray

protected org.alfresco.repo.webservice.administration.UserDetails[] makeArray(int size)
Specified by:
makeArray in class AbstractQuerySession

getNextResults

public org.alfresco.repo.webservice.administration.UserQueryResults 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.