|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.layout.node.UserLayoutNodeDescription
org.jasig.portal.layout.node.UserLayoutFolderDescription
public class UserLayoutFolderDescription
A class describing a folder node fo the user layout structure.
| Field Summary | |
|---|---|
protected int |
folderType
|
static String[] |
folderTypeNames
|
static int |
FOOTER_TYPE
|
static int |
HEADER_TYPE
|
static int |
REGULAR_TYPE
|
| Fields inherited from class org.jasig.portal.layout.node.UserLayoutNodeDescription |
|---|
addChildAllowed, deleteAllowed, editAllowed, hidden, id, immutable, moveAllowed, name, precedence, unremovable |
| Fields inherited from interface org.jasig.portal.layout.node.IUserLayoutNodeDescription |
|---|
CHANNEL, FOLDER |
| Constructor Summary | |
|---|---|
UserLayoutFolderDescription()
|
|
UserLayoutFolderDescription(Element xmlNode)
Reconstruct folder information from an xml Element |
|
UserLayoutFolderDescription(IUserLayoutFolderDescription d)
|
|
| Method Summary | |
|---|---|
void |
addNodeAttributes(Element node)
Add all of common node attributes to the Element. |
int |
getFolderType()
Returns folder type. |
int |
getType()
Returns a type of the node, could be FOLDER or CHANNEL integer constant. |
Element |
getXML(Document root)
Creates a org.w3c.dom.Element representation of the current node. |
void |
setFolderType(int folderType)
Assign a type to a folder. |
| Methods inherited from class org.jasig.portal.layout.node.UserLayoutNodeDescription |
|---|
createUserLayoutNodeDescription, getId, getName, getPrecedence, isAddChildAllowed, isDeleteAllowed, isEditAllowed, isHidden, isImmutable, isMoveAllowed, isUnremovable, setAddChildAllowed, setDeleteAllowed, setEditAllowed, setHidden, setId, setImmutable, setMoveAllowed, setName, setPrecedence, setUnremovable, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jasig.portal.layout.node.IUserLayoutNodeDescription |
|---|
getId, getName, getPrecedence, isAddChildAllowed, isDeleteAllowed, isEditAllowed, isHidden, isImmutable, isMoveAllowed, isUnremovable, setAddChildAllowed, setDeleteAllowed, setEditAllowed, setHidden, setId, setImmutable, setMoveAllowed, setName, setPrecedence, setUnremovable |
| Field Detail |
|---|
public static final int REGULAR_TYPE
public static final int HEADER_TYPE
public static final int FOOTER_TYPE
public static final String[] folderTypeNames
protected int folderType
| Constructor Detail |
|---|
public UserLayoutFolderDescription(Element xmlNode)
throws PortalException
Element
xmlNode - a user layout channel Element value
PortalException - if xml is malformedpublic UserLayoutFolderDescription()
public UserLayoutFolderDescription(IUserLayoutFolderDescription d)
| Method Detail |
|---|
public int getType()
getType in interface IUserLayoutNodeDescriptiongetType in class UserLayoutNodeDescriptionpublic int getFolderType()
getFolderType in interface IUserLayoutFolderDescriptionint value corresponding
to one of the valid folder types.public void setFolderType(int folderType)
setFolderType in interface IUserLayoutFolderDescriptionfolderType - an int value corresponding
to one of the valid folder types.public Element getXML(Document root)
org.w3c.dom.Element representation of the current node.
getXML in interface IUserLayoutFolderDescriptiongetXML in interface IUserLayoutNodeDescriptiongetXML in class UserLayoutNodeDescriptionroot - a Document for which the Element should be created.
Node valuepublic void addNodeAttributes(Element node)
UserLayoutNodeDescriptionElement.
addNodeAttributes in interface IUserLayoutNodeDescriptionaddNodeAttributes in class UserLayoutNodeDescriptionnode - an Element value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||