fr.paris.lutece.util.html
Class ItemNavigator

java.lang.Object
  extended by fr.paris.lutece.util.html.ItemNavigator

public class ItemNavigator
extends java.lang.Object

ItemNavigation provides a way to navigate between items


Constructor Summary
ItemNavigator(java.util.Map<java.lang.Integer,java.lang.String> listItem, int nCurrentItemId, java.lang.String strBaseUrl, java.lang.String strParameterName)
          Create a new instance of ItemNavigator
 
Method Summary
 int getCurrentItemId()
          Get the current item map key
 int getListItemSize()
          Get the size of the item list
 java.lang.String getNextPageLink()
          Get the next page link of the item
 java.lang.String getPreviousPageLink()
          Get the previous page link of the item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemNavigator

public ItemNavigator(java.util.Map<java.lang.Integer,java.lang.String> listItem,
                     int nCurrentItemId,
                     java.lang.String strBaseUrl,
                     java.lang.String strParameterName)
Create a new instance of ItemNavigator

Parameters:
listItem - the list of item
nCurrentItemId - The current map key
strBaseUrl - The base url
strParameterName - The parameter name
Method Detail

getPreviousPageLink

public java.lang.String getPreviousPageLink()
Get the previous page link of the item

Returns:
the previous page link of the item

getNextPageLink

public java.lang.String getNextPageLink()
Get the next page link of the item

Returns:
the next page link of the item

getListItemSize

public int getListItemSize()
Get the size of the item list

Returns:
the size of the item list

getCurrentItemId

public int getCurrentItemId()
Get the current item map key

Returns:
the current item map key


Copyright © 2011 Mairie de Paris. All Rights Reserved.