com.plumtree.portaluiinfrastructure.tags.common
Class SearchPaginationHelper

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.tags.common.SearchPaginationHelper

public class SearchPaginationHelper
extends java.lang.Object

This class generates pagination data from a search result for use in various paginatin tags.


Field Summary
 AActivitySpace m_asOwner
           
 ISearchResultModelRO m_model
           
 int m_nCurrentPage
           
 int m_nFirstPageToDisplay
           
 int m_nLastPage
           
 int m_nLastPageToDisplay
           
 ISearchURLHelper m_URLHelper
           
 
Constructor Summary
SearchPaginationHelper(AActivitySpace _asOwner, ISearchResultModelRO _model, ISearchURLHelper _URLHelper, int _nPagesToDisplay)
           
 
Method Summary
 IDataObject createMainData()
          This method creates the main data object and adds the pagination data to it.
 IXPList createPageList()
          Create the list of pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_asOwner

public AActivitySpace m_asOwner

m_model

public ISearchResultModelRO m_model

m_URLHelper

public ISearchURLHelper m_URLHelper

m_nFirstPageToDisplay

public int m_nFirstPageToDisplay

m_nLastPageToDisplay

public int m_nLastPageToDisplay

m_nCurrentPage

public int m_nCurrentPage

m_nLastPage

public int m_nLastPage
Constructor Detail

SearchPaginationHelper

public SearchPaginationHelper(AActivitySpace _asOwner,
                              ISearchResultModelRO _model,
                              ISearchURLHelper _URLHelper,
                              int _nPagesToDisplay)
Parameters:
_asOwner -
_model -
_URLHelper -
_nPagesToDisplay -
Method Detail

createMainData

public IDataObject createMainData()
This method creates the main data object and adds the pagination data to it.

Returns:

createPageList

public IXPList createPageList()
Create the list of pages.

Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.