|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.html.ItemNavigator
public class ItemNavigator
ItemNavigation provides a way to navigate between items
| Constructor Summary | |
|---|---|
ItemNavigator(java.util.List<java.lang.String> listItems,
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 |
void |
setCurrentItemId(java.lang.String strItem)
Set the current item id given the content of the item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemNavigator(java.util.List<java.lang.String> listItems,
int nCurrentItemId,
java.lang.String strBaseUrl,
java.lang.String strParameterName)
listItems - the list of itemnCurrentItemId - The current map keystrBaseUrl - The base urlstrParameterName - The parameter name| Method Detail |
|---|
public void setCurrentItemId(java.lang.String strItem)
strItem - the itempublic java.lang.String getPreviousPageLink()
public java.lang.String getNextPageLink()
public int getListItemSize()
public int getCurrentItemId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||