|
|||||||||||
| 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
This class proxies PSML Page instances to create a logical view of site content using the Dynamic Proxy pattern.
| Field Summary | |
protected static Method |
GET_MENU_DEFINITIONS_METHOD
*_METHOD - Page method constants |
private org.apache.jetspeed.om.page.Page |
page
page - proxy delegate page instance |
| 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 |
| Fields inherited from class org.apache.jetspeed.portalsite.view.SiteViewProxy |
|
| Constructor Summary | |
private |
PageProxy(SiteView view,
String locatorName,
org.apache.jetspeed.om.folder.Folder parentFolder,
org.apache.jetspeed.om.page.Page page)
PageProxy - private constructor used by newInstance() |
| Method Summary | |
protected void |
aggregateMenuDefinitionLocators()
aggregateMenuDefinitionLocators - aggregate all menu definition locators in site view for this folder or page |
org.apache.jetspeed.om.page.Page |
getPage()
getPage - get proxy delegate page instance |
Object |
invoke(Object proxy,
Method m,
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 org.apache.jetspeed.om.page.Page |
newInstance(SiteView view,
String locatorName,
org.apache.jetspeed.om.folder.Folder parentFolder,
org.apache.jetspeed.om.page.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 Method GET_MENU_DEFINITIONS_METHOD
private org.apache.jetspeed.om.page.Page page
| Constructor Detail |
private PageProxy(SiteView view,
String locatorName,
org.apache.jetspeed.om.folder.Folder parentFolder,
org.apache.jetspeed.om.page.Page page)
view - site view owner of this proxylocatorName - name of profile locator associated
with the proxy delegateparentFolder - view parent proxy folderpage - proxy delegate| Method Detail |
public static org.apache.jetspeed.om.page.Page newInstance(SiteView view,
String locatorName,
org.apache.jetspeed.om.folder.Folder parentFolder,
org.apache.jetspeed.om.page.Page page)
view - site view owner of this proxylocatorName - name of profile locator associated
with the proxy delegateparentFolder - view parent proxy folderpage - proxy delegate
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerproxy - instance invoked againstargs - method arguments
Throwablepublic org.apache.jetspeed.om.page.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 | ||||||||||