uPortal 2.4.1
API Documentation

org.jasig.portal.layout
Class ALChannelDescription

java.lang.Object
  extended byorg.jasig.portal.layout.UserLayoutNodeDescription
      extended byorg.jasig.portal.layout.UserLayoutChannelDescription
          extended byorg.jasig.portal.layout.ALChannelDescription
All Implemented Interfaces:
IALChannelDescription, IALNodeDescription, IALNodeProperties, IUserLayoutChannelDescription, IUserLayoutNodeDescription

public class ALChannelDescription
extends UserLayoutChannelDescription
implements IALChannelDescription

An extension of the ChannelDescription for the Aggregated Layout implementation

Version:
1.0
Author:
Peter Kharchenko

Field Summary
 
Fields inherited from interface org.jasig.portal.layout.IUserLayoutNodeDescription
CHANNEL, FOLDER
 
Constructor Summary
ALChannelDescription()
           
ALChannelDescription(org.w3c.dom.Element xmlNode)
           
ALChannelDescription(IUserLayoutChannelDescription d)
           
 
Method Summary
 void addRestriction(IUserLayoutRestriction restriction)
          Adds the restriction for this node.
 void addRestrictionChildren(org.w3c.dom.Element node, org.w3c.dom.Document root)
           
 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 org.jasig.portal.layout.UserLayoutChannelDescription
addNodeAttributes, canOverrideParameter, clearParameters, containsParameter, getChannelPublishId, getChannelSubscribeId, getChannelTypeId, getClassName, getDescription, getFunctionalName, getParameterMap, getParameterNames, getParameterOverrideValue, getParameterValue, getParameterValues, getTimeout, getTitle, getType, getXML, hasAbout, hasHelp, hasParameters, isEditable, isSecure, numberOfParameters, remove, setChannelPublishId, setChannelSubscribeId, setChannelTypeId, setClassName, setDescription, setEditable, setFunctionalName, setHasAbout, setHasHelp, setIsSecure, setParameterOverride, setParameterValue, setTimeout, setTitle
 
Methods inherited from class org.jasig.portal.layout.UserLayoutNodeDescription
createUserLayoutNodeDescription, getId, getName, isHidden, isImmutable, isUnremovable, setHidden, setId, setImmutable, setName, setUnremovable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasig.portal.layout.IUserLayoutChannelDescription
canOverrideParameter, clearParameters, containsParameter, getChannelPublishId, getChannelSubscribeId, getChannelTypeId, getClassName, getDescription, getFunctionalName, getParameterMap, getParameterNames, getParameterOverrideValue, getParameterValue, getParameterValues, getTimeout, getTitle, getXML, hasAbout, hasHelp, hasParameters, isEditable, isSecure, numberOfParameters, remove, setChannelPublishId, setChannelSubscribeId, setChannelTypeId, setClassName, setDescription, setEditable, setFunctionalName, setHasAbout, setHasHelp, setIsSecure, setParameterOverride, setParameterValue, setTimeout, setTitle
 
Methods inherited from interface org.jasig.portal.layout.IUserLayoutNodeDescription
addNodeAttributes, getId, getName, getType, isHidden, isImmutable, isUnremovable, setHidden, setId, setImmutable, setName, setUnremovable
 

Constructor Detail

ALChannelDescription

public ALChannelDescription()

ALChannelDescription

public ALChannelDescription(org.w3c.dom.Element xmlNode)
                     throws PortalException

ALChannelDescription

public ALChannelDescription(IUserLayoutChannelDescription d)
Method Detail

setFragmentId

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

Specified by:
setFragmentId in interface IALNodeProperties
Parameters:
fragmentId - a String value

getFragmentId

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

Specified by:
getFragmentId in interface IALNodeProperties
Returns:
a String value

setFragmentNodeId

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

Specified by:
setFragmentNodeId in interface IALNodeProperties
Parameters:
fragmentNodeId - a String value

getFragmentNodeId

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

Specified by:
getFragmentNodeId in interface IALNodeProperties
Returns:
a String value

setGroup

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

Specified by:
setGroup in interface IALNodeProperties
Parameters:
group - a String group identificator value

getGroup

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

Specified by:
getGroup in interface IALNodeProperties

setRestrictions

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

Specified by:
setRestrictions in interface IALNodeProperties
Parameters:
restrictions - a Hashtable of restriction expressions

getRestrictions

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

Specified by:
getRestrictions in interface IALNodeProperties
Returns:
a set of restriction expressions

addRestriction

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

Specified by:
addRestriction in interface IALNodeProperties
Parameters:
restriction - a IUserLayoutRestriction a restriction

getRestriction

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

Specified by:
getRestriction in interface IALNodeProperties
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.

Specified by:
getRestrictionsByPath in interface IALNodeProperties
Parameters:
restrictionPath - a String restriction path
Returns:
a IUserLayoutRestriction

addRestrictionChildren

public void addRestrictionChildren(org.w3c.dom.Element node,
                                   org.w3c.dom.Document root)
Specified by:
addRestrictionChildren in interface IALNodeProperties

uPortal 2.4.1
API Documentation