public class PageRegistry extends AbstractRegistry<String,Page>
map| Modifier and Type | Method and Description |
|---|---|
protected String |
getKey(Page item) |
static Page |
getPage(String pid)
Convenience method for looking up a registered page.
|
static Collection<Page> |
getPages()
Convenience method for returning all registered pages.
|
static boolean |
hasPage(String pid)
Returns true if the page specified by its id is registered.
|
static void |
registerPage(Page page)
Convenience method for registering a page.
|
static void |
unregisterPage(Page page)
Convenience method for unregistering a page.
|
clear, contains, get, getAll, iterator, register, size, unregister, unregisterByKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static void registerPage(Page page)
page - Page to register.public static void unregisterPage(Page page)
page - Page to unregister.public static Page getPage(String pid)
pid - The page id.IllegalArgumentException - Thrown if the page cannot be found.public static boolean hasPage(String pid)
pid - The page id.public static Collection<Page> getPages()
Copyright © 2018 Fujion Framework. All rights reserved.