|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.cms.dispatcher.PageResolver
This class contains methods for registering and resolving CMS resources in a specific content section.
The PageResolver includes methods for caching resource mappings.
| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
PageResolver()
|
|
| Method Summary | |
protected BigDecimal |
getContentSectionID()
|
ResourceHandler |
getPage(String url)
Fetch the page associated with the request URL. |
void |
loadPage(String url,
ResourceHandler page)
Loads a page into the page resolver cache. |
abstract void |
registerPage(ResourceHandler page,
String url)
Register a page to the content section. |
void |
releasePage(String url)
Flushes a page from the page resolver cache. |
void |
setContentSectionID(BigDecimal id)
|
abstract void |
unregisterPage(ResourceHandler page,
String url)
Register a page to the content section. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
public PageResolver()
| Method Detail |
public void setContentSectionID(BigDecimal id)
protected BigDecimal getContentSectionID()
public ResourceHandler getPage(String url)
url - The content section-relative URL stub
public abstract void registerPage(ResourceHandler page,
String url)
page - The master pageurl - The desired URL of the page
public abstract void unregisterPage(ResourceHandler page,
String url)
page - The master pageurl - The desired URL of the page
public void loadPage(String url,
ResourceHandler page)
url - The URL of the resource to load into the cachepage - The resourcepublic void releasePage(String url)
url - The URL of the resource to remove from the cache
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||