|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.layout.alm.ALNodeProperties
public class ALNodeProperties
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. Prior to uPortal 2.5, this class existed in the package org.jasig.portal.layout. It was moved to its present package to reflect that it is part of Aggregated Layouts.
Field Summary | |
---|---|
protected java.lang.String |
fragmentId
|
protected java.lang.String |
fragmentNodeId
|
protected java.lang.String |
group
|
protected java.util.Hashtable |
restrictions
|
Constructor Summary | |
---|---|
ALNodeProperties()
|
|
ALNodeProperties(IALNodeProperties p)
|
Method Summary | |
---|---|
void |
addRestriction(IUserLayoutRestriction restriction)
Adds the restriction for this node. |
protected 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String fragmentId
protected java.lang.String fragmentNodeId
protected java.util.Hashtable restrictions
protected java.lang.String group
Constructor Detail |
---|
public ALNodeProperties()
public ALNodeProperties(IALNodeProperties p)
Method Detail |
---|
public void setFragmentId(java.lang.String fragmentId)
fragmentId
- a String
valuepublic java.lang.String getFragmentId()
String
valuepublic void setFragmentNodeId(java.lang.String fragmentNodeId)
fragmentNodeId
- a String
valuepublic java.lang.String getFragmentNodeId()
String
valuepublic void setGroup(java.lang.String group)
group
- a String
group identificator valuepublic java.lang.String getGroup()
public void setRestrictions(java.util.Hashtable restrictions)
restrictions
- a Hashtable
of restriction expressionspublic java.util.Hashtable getRestrictions()
public void addRestriction(IUserLayoutRestriction restriction)
restriction
- a IUserLayoutRestriction
a restrictionpublic IUserLayoutRestriction getRestriction(java.lang.String restrictionName)
restrictionName
- a String
name of the restriction
public java.util.Vector getRestrictionsByPath(java.lang.String restrictionPath)
restrictionPath
- a String
restriction path
protected void addRestrictionChildren(org.w3c.dom.Element node, org.w3c.dom.Document root)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |