|
||||||||||
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
public abstract class NodeProxy
This class proxies Node instances to create a logical view of site content.
Field Summary | |
---|---|
protected static java.lang.reflect.Method |
EQUALS_METHOD
*_METHOD - Node method constants |
protected static java.lang.reflect.Method |
GET_PARENT_METHOD
|
protected static java.lang.reflect.Method |
GET_PATH_METHOD
|
protected static java.lang.reflect.Method |
GET_URL_METHOD
|
protected static java.lang.reflect.Method |
HASH_CODE_METHOD
|
protected static java.lang.reflect.Method |
IS_HIDDEN_METHOD
|
protected static java.lang.reflect.Method |
TO_STRING_METHOD
|
Constructor Summary | |
---|---|
protected |
NodeProxy(SiteView view,
java.lang.String locatorName,
Folder parent,
java.lang.String name,
boolean hidden)
NodeProxy - constructor |
Method Summary | |
---|---|
protected void |
aggregateMenuDefinitionLocators()
aggregateMenuDefinitionLocators - aggregate all menu definition locators in site view for this folder or page |
boolean |
equals(java.lang.Object object)
equals - proxy implementation of Object.equals() |
SiteViewMenuDefinitionLocator |
getMenuDefinitionLocator(java.lang.String name)
getMenuDefinitionLocator - get menu definition locator by name |
java.util.List |
getMenuDefinitionLocators()
getMenuDefinitionLocators - get list of menu definition locators aggregated by name for this folder or page |
java.util.List |
getMenuDefinitions()
getMenuDefinitions - proxy implementation of Folder.getMenuDefinitions() and Page.getMenuDefinitions() |
static NodeProxy |
getNodeProxy(java.lang.Object node)
getNodeProxy - utility method to access NodeProxy handler from Node proxy instance |
Node |
getParent()
getParent - proxy implementation of Node.getParent() |
java.lang.String |
getPath()
getPath - proxy implementation of Node.getPath() |
java.lang.String |
getUrl()
getUrl - proxy implementation of Node.getUrl() |
int |
hashCode()
hashCode - proxy implementation of Object.hashCode() |
boolean |
isHidden()
getPath - proxy implementation of Node.isHidden() |
protected void |
mergeMenuDefinitionLocators(java.util.List locators)
mergeMenuDefinitionLocators - utilty to merge menu definition locator lists to be used by derived implementations to aggregate menu definition locators |
protected void |
mergeMenuDefinitionLocators(java.util.List definitions,
Node node)
mergeMenuDefinitionLocators - utilty to merge menu definition locator lists to be used by derived implementations to aggregate menu definition locators |
java.lang.String |
toString()
toString - proxy implementation of Object.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 EQUALS_METHOD
protected static final java.lang.reflect.Method GET_PARENT_METHOD
protected static final java.lang.reflect.Method GET_PATH_METHOD
protected static final java.lang.reflect.Method GET_URL_METHOD
protected static final java.lang.reflect.Method HASH_CODE_METHOD
protected static final java.lang.reflect.Method IS_HIDDEN_METHOD
protected static final java.lang.reflect.Method TO_STRING_METHOD
Constructor Detail |
---|
protected NodeProxy(SiteView view, java.lang.String locatorName, Folder parent, java.lang.String name, boolean hidden)
view
- site view owner of this proxylocatorName
- profile locator name associated with
the derived delegate of this proxy in
the site viewparent
- view parent proxy foldername
- name of node to proxyhidden
- hidden status of node to proxyMethod Detail |
---|
public Node getParent()
public java.lang.String getPath()
public boolean isHidden()
public java.lang.String getUrl()
public java.util.List getMenuDefinitions()
public java.util.List getMenuDefinitionLocators()
public SiteViewMenuDefinitionLocator getMenuDefinitionLocator(java.lang.String name)
name
- menu definition name
protected void aggregateMenuDefinitionLocators()
protected void mergeMenuDefinitionLocators(java.util.List definitions, Node node)
definitions
- list of menu definitions to mergenode
- page or folder node that defines menu definitionsprotected void mergeMenuDefinitionLocators(java.util.List locators)
locators
- list of menu definition locators to mergepublic boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- test instance
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static NodeProxy getNodeProxy(java.lang.Object node)
node
- node proxy instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |