|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPageMap
FIXME IPageMap javadoc
Method Summary | ||
---|---|---|
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. |
|
String |
getName()
|
|
long |
getSizeInBytes()
|
|
boolean |
isDefault()
|
|
int |
nextId()
|
|
void |
put(Page page)
|
|
|
redirectToInterceptPage(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 |
---|
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
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(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 removeboolean 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 |