|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.portalsite.view.SiteViewProxy
org.apache.jetspeed.page.document.proxy.NodeProxy
org.apache.jetspeed.om.page.proxy.PageProxy
public class PageProxy
This class proxies PSML Page instances to create a logical view of site content using the Dynamic Proxy pattern.
Field Summary | |
---|---|
protected static java.lang.reflect.Method |
GET_MENU_DEFINITIONS_METHOD
*_METHOD - Page method constants |
Fields inherited from class org.apache.jetspeed.page.document.proxy.NodeProxy |
---|
EQUALS_METHOD, GET_PARENT_METHOD, GET_PATH_METHOD, GET_URL_METHOD, HASH_CODE_METHOD, IS_HIDDEN_METHOD, TO_STRING_METHOD |
Method Summary | |
---|---|
protected void |
aggregateMenuDefinitionLocators()
aggregateMenuDefinitionLocators - aggregate all menu definition locators in site view for this folder or page |
Page |
getPage()
getPage - get proxy delegate page instance |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args)
invoke - method invocation dispatch for this proxy, (defaults to invocation of delegate unless method is implemented in this proxy handler or should be hidden/stubbed) |
static Page |
newInstance(SiteView view,
java.lang.String locatorName,
Folder parentFolder,
Page page)
newInstance - creates a new proxy instance that implements the Page interface |
Methods inherited from class org.apache.jetspeed.page.document.proxy.NodeProxy |
---|
equals, getMenuDefinitionLocator, getMenuDefinitionLocators, getMenuDefinitions, getNodeProxy, getParent, getPath, getUrl, hashCode, isHidden, mergeMenuDefinitionLocators, mergeMenuDefinitionLocators, toString |
Methods inherited from class org.apache.jetspeed.portalsite.view.SiteViewProxy |
---|
getLocatorName, getSiteViewProxy, getView, reflectMethod |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.reflect.Method GET_MENU_DEFINITIONS_METHOD
Method Detail |
---|
public static Page newInstance(SiteView view, java.lang.String locatorName, Folder parentFolder, Page page)
view
- site view owner of this proxylocatorName
- name of profile locator associated
with the proxy delegateparentFolder
- view parent proxy folderpage
- proxy delegatepublic java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
proxy
- instance invoked againstmethod
- Page interface method invokedargs
- method arguments
java.lang.Throwable
public Page getPage()
protected void aggregateMenuDefinitionLocators()
aggregateMenuDefinitionLocators
in class NodeProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |