|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.core.impl.api.node.PortalNodeImpl
public class PortalNodeImpl
| Field Summary |
|---|
| Fields inherited from interface org.jboss.portal.api.node.PortalNode |
|---|
TYPE_CONTEXT, TYPE_PAGE, TYPE_PORTAL, TYPE_WINDOW |
| Constructor Summary | |
|---|---|
PortalNodeImpl(PortalAuthorizationManager portalAuthorizationManager,
PortalObject object)
Build a portal node object wrapping the specified portal object. |
|
| Method Summary | |
|---|---|
PortalNodeURL |
createURL(PortalRuntimeContext portalRuntimeContext)
Create a portal node url for this object. |
PortalNode |
getChild(java.lang.String name)
Return a child of this object. |
java.util.Collection |
getChildren()
Return the children of this object. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the best display name for specified locale. |
java.lang.String |
getName()
Return the node name which identifies the node in the context to its parent. |
PortalObjectId |
getObjectId()
|
PortalNode |
getParent()
Return the parent node of this node. |
java.util.Map |
getProperties()
Returns the node properties. |
PortalNode |
getRoot()
Return the root node of this node. |
int |
getType()
Return the node type. |
PortalNode |
resolve(java.lang.String relativePath)
Get a portal node relative to this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalNodeImpl(PortalAuthorizationManager portalAuthorizationManager,
PortalObject object)
throws java.lang.IllegalArgumentException
object - the wrapped portal object
java.lang.IllegalArgumentException - if the specified object is null| Method Detail |
|---|
public int getType()
PortalNode
getType in interface PortalNodepublic PortalNode getRoot()
PortalNode
getRoot in interface PortalNodepublic PortalNode getParent()
PortalNode
getParent in interface PortalNodepublic java.lang.String getName()
PortalNode
getName in interface PortalNodepublic java.lang.String getDisplayName(java.util.Locale locale)
PortalNode
getDisplayName in interface PortalNodepublic PortalNode getChild(java.lang.String name)
PortalNode
getChild in interface PortalNodename - the child name
public java.util.Collection getChildren()
PortalNode
getChildren in interface PortalNodepublic PortalNode resolve(java.lang.String relativePath)
PortalNode
resolve in interface PortalNoderelativePath - the relative path
public java.util.Map getProperties()
PortalNode
getProperties in interface PortalNodepublic PortalNodeURL createURL(PortalRuntimeContext portalRuntimeContext)
PortalNode
createURL in interface PortalNodeportalRuntimeContext - the portal runtime context
public PortalObjectId getObjectId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||