Package org.apache.wicket.page
Interface IPageManager
-
- All Known Implementing Classes:
MockPageManager,PageManager
public interface IPageManagerA manager of pages - facade betweenPages andIPageStores they are stored in.- See Also:
PageManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidaddPage(IManageablePage page)Add a page.default voidclear()Deprecated.will be removed in Wicket 10voiddestroy()Destroy when application is destroyed.voiddetach()Detach at end of request.IManageablePagegetPage(int pageId)Get a pageIPageStoregetPageStore()Get the storage of pages, optional.voidremoveAllPages()Remove all pages.voidremovePage(IManageablePage page)Remove a pagebooleansupportsVersioning()Is versionining of pages supported, seeIPageStore.supportsVersioning().default voidtouchPage(IManageablePage page)Deprecated.will be removed in Wicket 10
-
-
-
Method Detail
-
supportsVersioning
boolean supportsVersioning()
Is versionining of pages supported, seeIPageStore.supportsVersioning().- Returns:
trueif versioning is supported
-
getPage
IManageablePage getPage(int pageId)
Get a page- Parameters:
pageId- id of page- Returns:
- page, may be
null
-
removePage
void removePage(IManageablePage page)
Remove a page- Parameters:
page- page to remove
-
addPage
void addPage(IManageablePage page)
Add a page.- Parameters:
page- page to add
-
removeAllPages
void removeAllPages()
Remove all pages.
-
detach
void detach()
Detach at end of request.
-
destroy
void destroy()
Destroy when application is destroyed.
-
getPageStore
IPageStore getPageStore()
Get the storage of pages, optional.- Returns:
- store or
null
-
touchPage
default void touchPage(IManageablePage page)
Deprecated.will be removed in Wicket 10
-
clear
default void clear()
Deprecated.will be removed in Wicket 10
-
-