public class ItemNavigator extends Object implements Serializable
| Constructor and Description |
|---|
ItemNavigator(List<String> listItems,
int nCurrentItemId,
String strBaseUrl,
String strParameterName)
Create a new instance of ItemNavigator
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl()
Get the Url of he navigator
|
int |
getCurrentItemId()
Get the current item map key
|
int |
getListItemSize()
Get the size of the item list
|
String |
getNextPageLink()
Get the next page link of the item
|
String |
getPreviousPageLink()
Get the previous page link of the item
|
void |
setBaseUrl(String strBaseUrl)
Set the Url of he navigator
|
void |
setCurrentItemId(String strItem)
Set the current item id given the content of the item
|
public ItemNavigator(List<String> listItems, int nCurrentItemId, String strBaseUrl, String strParameterName)
listItems - the list of itemnCurrentItemId - The current map keystrBaseUrl - The base urlstrParameterName - The parameter namepublic void setCurrentItemId(String strItem)
strItem - the itempublic String getPreviousPageLink()
public String getNextPageLink()
public String getBaseUrl()
public void setBaseUrl(String strBaseUrl)
strBaseUrl - The new Url of the navigatorpublic int getListItemSize()
public int getCurrentItemId()
Copyright © 2020 City of Paris. All rights reserved.