public class PeopleSearchProvider.DirectoryPagingIterator extends Object
Modifier and Type | Field and Description |
---|---|
IDirServiceBizPolicy |
bizPolicy |
int |
currentIdxInPage |
int |
currentPage |
com.webmethods.portal.service.dir.IDirPrincipal |
currentPrincipal |
IThingID |
directoryServiceThingID |
int |
pageSize |
int |
pageStartIdx |
com.webmethods.portal.service.view.IPagingCookie |
pagingCookie |
com.webmethods.portal.service.dir.IDirPrincipalList |
principalList |
com.webmethods.common.search.query.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 |
---|---|
com.webmethods.portal.service.dir.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 com.webmethods.portal.service.view.IPagingCookie pagingCookie
public com.webmethods.portal.service.dir.IDirPrincipalList principalList
public IDirServiceBizPolicy bizPolicy
public com.webmethods.portal.service.dir.IDirPrincipal currentPrincipal
protected int searchType
public com.webmethods.common.search.query.ISearchQuery searchQuery
public DirectoryPagingIterator(IThingID directoryService, ISearchQuery cafSearchQuery) throws Exception
directoryService
- cafSearchQuery
- Exception
protected void init() throws Exception
Exception
public com.webmethods.portal.service.dir.IDirPrincipal getPrincipal()
public void next() throws PortalException
Exception
PortalException