|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPageMap
FIXME IPageMap javadoc
| Method Summary | ||
|---|---|---|
java.lang.String |
attributeForId(int id)
|
|
void |
clear()
Removes all pages from this map |
|
boolean |
containsPage(int id,
int versionNumber)
Returns true if the PageMap contains page with given id and versonNumber |
|
boolean |
continueToOriginalDestination()
Redirects to any intercept page previously specified by a call to redirectToInterceptPage. |
|
Page |
get(int id,
int versionNumber)
Retrieves page with given id. |
|
IPageMapEntry |
getEntry(int id)
Retrieves entry with given id. |
|
java.lang.String |
getName()
|
|
long |
getSizeInBytes()
|
|
boolean |
isDefault()
|
|
int |
nextId()
|
|
void |
put(Page page)
|
|
|
redirectToInterceptPage(java.lang.Class<T> pageClazz)
Redirects browser to an intermediate page such as a sign-in page. |
|
void |
redirectToInterceptPage(Page page)
Redirects browser to an intermediate page such as a sign-in page. |
|
void |
remove()
Removes this PageMap from the Session. |
|
void |
remove(Page page)
Removes the page from the pagemap |
|
void |
removeEntry(IPageMapEntry entry)
|
|
| Method Detail |
|---|
java.lang.String attributeForId(int id)
id - The page id to create an attribute for
void clear()
boolean continueToOriginalDestination()
Component.redirectToInterceptPage(Page)
Page get(int id,
int versionNumber)
id - The page identifierversionNumber - The version to get
IPageMapEntry getEntry(int id)
id - The page identifier
java.lang.String getName()
long getSizeInBytes()
boolean isDefault()
int nextId()
void put(Page page)
page - The page to put into this map<T extends Page> void redirectToInterceptPage(java.lang.Class<T> pageClazz)
T - pageClazz - The page clazz to temporarily redirect tovoid redirectToInterceptPage(Page page)
page - The sign in pageComponent.continueToOriginalDestination()void remove()
void remove(Page page)
page - page to be removed from the pagemapvoid removeEntry(IPageMapEntry entry)
entry - The entry to remove
boolean containsPage(int id,
int versionNumber)
id - versionNumber -
PageMap contains a page with the given id and versionNumber
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||