public class PeopleSearchProvider.DirectoryPagingIterator extends Object
Modifier and Type | Field and Description |
---|---|
IDirServiceBizPolicy |
bizPolicy |
int |
currentIdxInPage |
int |
currentPage |
IDirPrincipal |
currentPrincipal |
IThingID |
directoryServiceThingID |
int |
pageSize |
int |
pageStartIdx |
IPagingCookie |
pagingCookie |
IDirPrincipalList |
principalList |
ISearchQuery |
searchQuery |
protected int |
searchType |
String |
sortExpression |
String |
sortOrder |
Constructor and Description |
---|
DirectoryPagingIterator(IThingID directoryService,
ISearchQuery cafSearchQuery)
Construct a paging iterator from the given directory service and search query.
|
Modifier and Type | Method and Description |
---|---|
IDirPrincipal |
getPrincipal()
Get the next principal from the directory service.
|
protected void |
init()
Initialize the biz policy, paging cookie, and directory service.
|
void |
next()
Advance to the next principal in the directory service query.
|
public int currentPage
public int currentIdxInPage
public int pageStartIdx
public int pageSize
public String sortExpression
public String sortOrder
public IThingID directoryServiceThingID
public IPagingCookie pagingCookie
public IDirPrincipalList principalList
public IDirServiceBizPolicy bizPolicy
public IDirPrincipal currentPrincipal
protected int searchType
public ISearchQuery searchQuery
public DirectoryPagingIterator(IThingID directoryService, ISearchQuery cafSearchQuery) throws Exception
directoryService
- cafSearchQuery
- Exception
protected void init() throws Exception
Exception
public IDirPrincipal getPrincipal()
public void next() throws PortalException
Exception
PortalException