com.webmethods.caf.faces.data.dir
Class DirectorySearchProvider.DirectoryPagingIterator

java.lang.Object
  extended by com.webmethods.caf.faces.data.dir.DirectorySearchProvider.DirectoryPagingIterator
Enclosing class:
DirectorySearchProvider

public class DirectorySearchProvider.DirectoryPagingIterator
extends Object

Paging iterator from directory service.


Field Summary
 IDirServiceBizPolicy bizPolicy
           
 int currentIdxInPage
           
 int currentPage
           
 IDirPrincipal currentPrincipal
           
 IThingID directoryServiceThingID
           
 int pageSize
           
 int pageStartIdx
           
 IPagingCookie pagingCookie
           
 IDirPrincipalList principalList
           
 String sortExpression
           
 String sortOrder
           
 
Constructor Summary
DirectorySearchProvider.DirectoryPagingIterator(IThingID directoryService)
          Construct a paging iterator from the given directory service and search query.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentPage

public int currentPage

currentIdxInPage

public int currentIdxInPage

pageStartIdx

public int pageStartIdx

pageSize

public int pageSize

sortExpression

public String sortExpression

sortOrder

public String sortOrder

directoryServiceThingID

public IThingID directoryServiceThingID

pagingCookie

public IPagingCookie pagingCookie

principalList

public IDirPrincipalList principalList

bizPolicy

public IDirServiceBizPolicy bizPolicy

currentPrincipal

public IDirPrincipal currentPrincipal
Constructor Detail

DirectorySearchProvider.DirectoryPagingIterator

public DirectorySearchProvider.DirectoryPagingIterator(IThingID directoryService)
                                                throws Exception
Construct a paging iterator from the given directory service and search query.

Parameters:
directoryService -
Throws:
Exception
Method Detail

init

protected void init()
             throws Exception
Initialize the biz policy, paging cookie, and directory service.

Throws:
Exception

getPrincipal

public IDirPrincipal getPrincipal()
Get the next principal from the directory service.

Returns:
The directory principal.

next

public void next()
          throws PortalException
Advance to the next principal in the directory service query.

Throws:
Exception
PortalException