站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortalNode - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.api.node
Interface PortalNode

All Known Implementing Classes:
PortalObjectNode

public interface PortalNode

Version:
$Revision: 5441 $
Author:
Julien Viet

Field Summary
static int TYPE_CONTEXT
          A node of type context.
static int TYPE_PAGE
          A node of type page.
static int TYPE_PORTAL
          A node of type portal.
static int TYPE_WINDOW
          A node of type window.
 
Method Summary
 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 getName()
          Return the node name relative to its parent.
 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.
 

Field Detail

TYPE_CONTEXT

public static final int TYPE_CONTEXT
A node of type context.

See Also:
Constant Field Values

TYPE_PORTAL

public static final int TYPE_PORTAL
A node of type portal.

See Also:
Constant Field Values

TYPE_PAGE

public static final int TYPE_PAGE
A node of type page.

See Also:
Constant Field Values

TYPE_WINDOW

public static final int TYPE_WINDOW
A node of type window.

See Also:
Constant Field Values
Method Detail

getType

public int getType()
Return the node type.

Returns:
the node type

getRoot

public PortalNode getRoot()
Return the root node of this node.

Returns:
the root node

getParent

public PortalNode getParent()
Return the parent node of this node.

Returns:
the parent node

getName

public java.lang.String getName()
Return the node name relative to its parent.

Returns:
the node name

getChild

public PortalNode getChild(java.lang.String name)
Return a child of this object.

Parameters:
name - the child name
Returns:
a named child

getChildren

public java.util.Collection getChildren()
Return the children of this object.

Returns:
the children

resolve

public PortalNode resolve(java.lang.String relativePath)
Get a portal node relative to this object.

Parameters:
relativePath - the relative path
Returns:
the relative object

getProperties

public java.util.Map getProperties()
Returns the node properties.

Returns:
the node properties