uPortal 2.4.1
API Documentation

org.jasig.portal.layout
Class ALNodeProperties

java.lang.Object
  extended byorg.jasig.portal.layout.ALNodeProperties

public class ALNodeProperties
extends java.lang.Object

A proxy class representing additional properties of the Aggregated Layout nodes. Thanks to the java's inability to support multiple inheritance, we can make a mess out of an elegant class structure.

Version:
1.0
Author:
Peter Kharchenko

Constructor Summary
ALNodeProperties()
           
ALNodeProperties(IALNodeProperties p)
           
 
Method Summary
 void addRestriction(IUserLayoutRestriction restriction)
          Adds the restriction for this node.
 java.lang.String getFragmentId()
          Get fragment id
 java.lang.String getFragmentNodeId()
          Get fragment node id
 java.lang.String getGroup()
          Gets the priority value for this node.
 IUserLayoutRestriction getRestriction(java.lang.String restrictionName)
          Gets a restriction by the type.
 java.util.Hashtable getRestrictions()
          Gets the hashtable of restrictions bound to this node
 java.util.Vector getRestrictionsByPath(java.lang.String restrictionPath)
          Gets a restrictions list by a restriction path.
 void setFragmentId(java.lang.String fragmentId)
          Set fragment id
 void setFragmentNodeId(java.lang.String fragmentNodeId)
          Set fragment node id
 void setGroup(java.lang.String group)
          Sets the group identificator for this node.
 void setRestrictions(java.util.Hashtable 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

ALNodeProperties

public ALNodeProperties()

ALNodeProperties

public ALNodeProperties(IALNodeProperties p)
Method Detail

setFragmentId

public void setFragmentId(java.lang.String fragmentId)
Set fragment id

Parameters:
fragmentId - a String value

getFragmentId

public java.lang.String getFragmentId()
Get fragment id

Returns:
a String value

setFragmentNodeId

public void setFragmentNodeId(java.lang.String fragmentNodeId)
Set fragment node id

Parameters:
fragmentNodeId - a String value

getFragmentNodeId

public java.lang.String getFragmentNodeId()
Get fragment node id

Returns:
a String value

setGroup

public void setGroup(java.lang.String group)
Sets the group identificator for this node.

Parameters:
group - a String group identificator value

getGroup

public java.lang.String getGroup()
Gets the priority value for this node.


setRestrictions

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

Parameters:
restrictions - a Hashtable of restriction expressions

getRestrictions

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

Returns:
a set of restriction expressions

addRestriction

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

Parameters:
restriction - a IUserLayoutRestriction a restriction

getRestriction

public IUserLayoutRestriction getRestriction(java.lang.String restrictionName)
Gets a restriction by the type.

Parameters:
restrictionName - a String name of the restriction
Returns:
a IUserLayoutRestriction

getRestrictionsByPath

public java.util.Vector getRestrictionsByPath(java.lang.String restrictionPath)
Gets a restrictions list by a restriction path.

Parameters:
restrictionPath - a String restriction path
Returns:
a IUserLayoutRestriction

uPortal 2.4.1
API Documentation