|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.layout.LayoutStructure
public final class LayoutStructure
LayoutStructure represents a channel or folder in a layout.
| Constructor Summary | |
|---|---|
LayoutStructure(int structId,
int nextId,
int childId,
int chanId,
String hidden,
String unremovable,
String immutable)
Instantiate a new LayoutStructure with the given configuration. |
|
LayoutStructure(int structId,
int nextId,
int childId,
int chanId,
String hidden,
String unremovable,
String immutable,
String locale)
Instantiate a new LayoutStructure with the given configuration. |
|
| Method Summary | |
|---|---|
void |
addFolderData(String folderName,
String folderType)
Add information about the folder represented by this LayoutStructure. |
void |
addParameter(String paramName,
String paramValue)
Add a parameter to this LayoutStructure. |
int |
getChanId()
Get the id of the channel represented by this LayoutStructure instance, or zero if we do not represent a channel. |
int |
getChildId()
Get the id of the child of this LayoutStructure, or zero if we do not have a child. |
String |
getLocale()
Get the locale of this LayoutStructure. |
String |
getName()
Get the name of the folder that this LayoutStructure represents, or null if this LayoutStructure does not represent a folder. |
int |
getNextId()
Get the id of the next LayoutStructure or zero if there is no next LayoutStructure. |
List |
getParameters()
Get a List of StructureParameter instances representing parameters of this LayoutStructure instance. |
int |
getStructId()
Get the id of this LayoutStructure. |
String |
getType()
Get the String representing the type of the folder that this LayoutStructure represents, or null if this LayoutStructure does not represent a folder. |
boolean |
isChannel()
Returns true if this LayoutStructure represents a channel, false otherwise. |
boolean |
isHidden()
Return true if this LayoutStructure is hidden, false otherwise. |
boolean |
isImmutable()
Returns true if this LayoutStructure is immutable, false otherwise. |
boolean |
isUnremovable()
Return true if this structure is unremovable, false otherwise. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutStructure(int structId,
int nextId,
int childId,
int chanId,
String hidden,
String unremovable,
String immutable)
structId - the id of this LayoutStructurenextId - the id of the next sibling of this LayoutStructurechildId - the id of the first child of this LayoutStructurechanId - the id of the channel represented by this LayoutStructure, or zero if we do not represent a channelhidden - "T" or "Y" if this LayoutStructure is hiddenunremovable - "T" or "Y" if this LayoutStructure is unremovableimmutable - "T" or "Y" if this LayoutStructure is unchangeable
public LayoutStructure(int structId,
int nextId,
int childId,
int chanId,
String hidden,
String unremovable,
String immutable,
String locale)
structId - the id of this LayoutStructurenextId - the id of the next sibling of this LayoutStructurechildId - the id of the first child of this LayoutStructurechanId - the id of the channel represented by this LayoutStructure, or zero if we do not represent a channelhidden - "T" or "Y" if this LayoutStructure is hiddenunremovable - "T" or "Y" if this LayoutStructure is unremovableimmutable - "T" or "Y" if this LayoutStructure is unchangeablelocale - the locale of this LayoutStructure| Method Detail |
|---|
public void addFolderData(String folderName,
String folderType)
folderName - the name of the folderfolderType - the type of the folderpublic boolean isChannel()
public void addParameter(String paramName,
String paramValue)
paramName - the name of the parameterparamValue - the value of the parameterpublic int getNextId()
public int getChildId()
public int getChanId()
public int getStructId()
public boolean isHidden()
public boolean isImmutable()
public String getLocale()
public String getName()
public List getParameters()
public String getType()
public boolean isUnremovable()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||