uPortal 2.4.1
API Documentation

org.jasig.portal.layout
Class UserLayoutNode

java.lang.Object
  extended byorg.jasig.portal.layout.UserLayoutNode
Direct Known Subclasses:
UserLayoutFolder

public class UserLayoutNode
extends java.lang.Object

Represents a node in the user layout tree.

Version:
$Revision: 1.10 $
Author:
Michael Ivanov

Constructor Summary
UserLayoutNode()
           
UserLayoutNode(IUserLayoutNodeDescription nd)
           
 
Method Summary
 void addRestriction(IUserLayoutRestriction restriction)
          Adds the restriction for this node.
 int getDepth()
          Gets the depth value for this node.
 java.lang.String getGroupName()
          Gets the group name for this node.
 java.lang.String getId()
           
 java.lang.String getNextNodeId()
           
 IUserLayoutNodeDescription getNodeDescription()
           
 java.lang.String getParentNodeId()
           
 java.lang.String getPreviousNodeId()
           
 int getPriority()
          Gets the priority value for this node.
 java.util.Set getRestrictions()
          Gets the hashtable of restrictions bound to this node
 void setDepth(int depth)
          Sets the tree depth for this node.
 void setGroupName(java.lang.String groupName)
          Sets the group name for this node.
 void setNextNodeId(java.lang.String nextNodeId)
           
 void setNodeDescription(IUserLayoutNodeDescription nd)
           
 void setParentNodeId(java.lang.String parentNodeId)
           
 void setPreviousNodeId(java.lang.String previousNodeId)
           
 void setPriority(int priority)
          Sets the priority for this node.
 void setRestrictions(java.util.Set restrictions)
          Sets the hashtable of restrictions bound to this node
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLayoutNode

public UserLayoutNode()

UserLayoutNode

public UserLayoutNode(IUserLayoutNodeDescription nd)
Method Detail

getId

public java.lang.String getId()

setNodeDescription

public void setNodeDescription(IUserLayoutNodeDescription nd)

getNodeDescription

public IUserLayoutNodeDescription getNodeDescription()

setParentNodeId

public void setParentNodeId(java.lang.String parentNodeId)

getParentNodeId

public java.lang.String getParentNodeId()

setNextNodeId

public void setNextNodeId(java.lang.String nextNodeId)

getNextNodeId

public java.lang.String getNextNodeId()

setPreviousNodeId

public void setPreviousNodeId(java.lang.String previousNodeId)

getPreviousNodeId

public java.lang.String getPreviousNodeId()

setRestrictions

public void setRestrictions(java.util.Set restrictions)
Sets the hashtable of restrictions bound to this node

Parameters:
restrictions - a Hashtable hashtable of restriction expressions

getRestrictions

public java.util.Set getRestrictions()
Gets the hashtable of restrictions bound to this node

Returns:
a hashtable of restriction expressions

addRestriction

public void addRestriction(IUserLayoutRestriction restriction)
Adds the restriction for this node.

Parameters:
restriction - a IUserLayoutRestriction a restriction

setPriority

public void setPriority(int priority)
Sets the priority for this node.

Parameters:
priority - a int priority value

getPriority

public int getPriority()
Gets the priority value for this node.


setDepth

public void setDepth(int depth)
Sets the tree depth for this node.

Parameters:
depth - a int depth value

getDepth

public int getDepth()
Gets the depth value for this node.

Returns:
the depth of this node

setGroupName

public void setGroupName(java.lang.String groupName)
Sets the group name for this node.

Parameters:
groupName - a String group name value

getGroupName

public java.lang.String getGroupName()
Gets the group name for this node.

Returns:
the group name

uPortal 2.4.1
API Documentation