|
||||||||||
| 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.UserLayoutChannelDescription
public class UserLayoutChannelDescription
A class managing information contained in a user layout channel node.
| Field Summary |
|---|
| 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 | |
|---|---|
UserLayoutChannelDescription()
|
|
UserLayoutChannelDescription(Element xmlNode)
Reconstruct channel information from an xml Element |
|
UserLayoutChannelDescription(IChannelDefinition definition)
Construct channel information from a Channel Definition object. |
|
UserLayoutChannelDescription(IUserLayoutChannelDescription d)
|
|
| Method Summary | |
|---|---|
void |
addNodeAttributes(Element node)
Add all of common node attributes to the Element. |
void |
addParameterChildren(Element node,
Document root)
|
boolean |
canOverrideParameter(String parameterName)
Determine if a given parameter can be overriden by the user. |
void |
clearParameters()
Clears all of the channel parameters. |
boolean |
containsParameter(String parameterName)
Determines if a certain parameter name is present. |
String |
getChannelPublishId()
Get the value of channelPublishId for this channel. |
String |
getChannelSubscribeId()
Get the value of channelSubscribeId. |
String |
getChannelTypeId()
Get the value of channelTypeId. |
String |
getClassName()
Get the value of className implementing this channel. |
String |
getDescription()
Get the value of description. |
String |
getFunctionalName()
Get the value of functionalName. |
Map |
getParameterMap()
Returns an entire mapping of parameters. |
Enumeration |
getParameterNames()
Obtain a set of channel parameter names. |
boolean |
getParameterOverrideValue(String parameterName)
Obtain a channel parameter override value. |
String |
getParameterValue(String parameterName)
Obtain a channel parameter value. |
Collection |
getParameterValues()
Obtain values of all existing channel parameters. |
long |
getTimeout()
Get the value of channel timeout in milliseconds. |
String |
getTitle()
Get the value of title. |
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 channel. |
boolean |
hasAbout()
Determine if the channel supports "about" action. |
boolean |
hasHelp()
Determine if the channel supports "help" action. |
boolean |
hasParameters()
Determine if the channel has any parameters. |
boolean |
isEditable()
Determine if the channel is editable. |
boolean |
isPortlet()
Get the channel type for portlet / not portlet |
boolean |
isSecure()
Get the value of secure setting. |
int |
numberOfParameters()
Determines the number of existing channel parameters. |
String |
remove(String parameterName)
Remove a channel parameter. |
void |
resetParameter(String parameterName)
Reset a channel parameter value. |
void |
setChannelPublishId(String v)
Set the value of channelPublishId for this channel. |
void |
setChannelSubscribeId(String v)
Set the value of channelSubscribeId. |
void |
setChannelTypeId(String v)
Set the value of channelTypeId. |
void |
setClassName(String v)
Set the value of className implementing this channel. |
void |
setDescription(String v)
Set the value of description. |
void |
setEditable(boolean v)
Specify whether the channel is editable. |
void |
setFunctionalName(String v)
Set the value of functionalName. |
void |
setHasAbout(boolean v)
Specify whether the channel supports "about" action. |
void |
setHasHelp(boolean v)
Specify whether the channel supports "help" action. |
void |
setIsSecure(boolean secure)
Set the value of channel secure setting. |
void |
setParameterOverride(String parameterName,
boolean canOverride)
Set parameter override flag. |
String |
setParameterValue(String parameterName,
String parameterValue)
Set a channel parameter value. |
void |
setTimeout(long v)
Set the value of channel timeout in milliseconds. |
void |
setTitle(String v)
Set the value of title. |
String |
toString()
|
| 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 |
| 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 |
| Constructor Detail |
|---|
public UserLayoutChannelDescription()
public UserLayoutChannelDescription(IUserLayoutChannelDescription d)
public UserLayoutChannelDescription(IChannelDefinition definition)
definition -
public UserLayoutChannelDescription(Element xmlNode)
throws PortalException
Element
xmlNode - a user layout channel Element value
PortalException - if xml is malformed| Method Detail |
|---|
public boolean hasAbout()
hasAbout in interface IUserLayoutChannelDescriptionpublic void setHasAbout(boolean v)
setHasAbout in interface IUserLayoutChannelDescriptionv - Value to assign to hasAbout.public boolean hasHelp()
hasHelp in interface IUserLayoutChannelDescriptionpublic void setHasHelp(boolean v)
setHasHelp in interface IUserLayoutChannelDescriptionv - Value to assign to hasHelp.public boolean isEditable()
isEditable in interface IUserLayoutChannelDescriptionpublic void setEditable(boolean v)
setEditable in interface IUserLayoutChannelDescriptionv - Value to assign to editable.public long getTimeout()
getTimeout in interface IUserLayoutChannelDescriptionpublic void setTimeout(long v)
setTimeout in interface IUserLayoutChannelDescriptionv - Value to assign to timeout.public boolean isSecure()
isSecure in interface IUserLayoutChannelDescriptionpublic void setIsSecure(boolean secure)
setIsSecure in interface IUserLayoutChannelDescriptionsecure - Value to assign to securepublic boolean isPortlet()
isPortlet in interface IUserLayoutChannelDescriptionpublic String getFunctionalName()
getFunctionalName in interface IUserLayoutChannelDescriptionpublic void setFunctionalName(String v)
setFunctionalName in interface IUserLayoutChannelDescriptionv - Value to assign to functionalName.public String getChannelSubscribeId()
getChannelSubscribeId in interface IUserLayoutChannelDescriptionpublic void setChannelSubscribeId(String v)
setChannelSubscribeId in interface IUserLayoutChannelDescriptionv - Value to assign to channelSubscribeId.public String getChannelTypeId()
getChannelTypeId in interface IUserLayoutChannelDescriptionpublic void setChannelTypeId(String v)
setChannelTypeId in interface IUserLayoutChannelDescriptionv - Value to assign to channelTypeId.public String getChannelPublishId()
getChannelPublishId in interface IUserLayoutChannelDescriptionpublic void setChannelPublishId(String v)
setChannelPublishId in interface IUserLayoutChannelDescriptionv - Value to assign to channelPublishId.public String getClassName()
getClassName in interface IUserLayoutChannelDescriptionpublic void setClassName(String v)
setClassName in interface IUserLayoutChannelDescriptionv - Value to assign to className.public String getTitle()
getTitle in interface IUserLayoutChannelDescriptionpublic void setTitle(String v)
setTitle in interface IUserLayoutChannelDescriptionv - Value to assign to title.public String getDescription()
getDescription in interface IUserLayoutChannelDescriptionpublic void setDescription(String v)
setDescription in interface IUserLayoutChannelDescriptionv - Value to assign to description.
public String setParameterValue(String parameterName,
String parameterValue)
setParameterValue in interface IUserLayoutChannelDescriptionparameterValue - a String valueparameterName - a String value
String value that was set.
public void resetParameter(String parameterName)
throws PortalException
resetParameter in interface IUserLayoutChannelDescriptionparameterName - a String value
PortalExceptionpublic String getParameterValue(String parameterName)
getParameterValue in interface IUserLayoutChannelDescriptionparameterName - a String value
String valuepublic boolean getParameterOverrideValue(String parameterName)
getParameterOverrideValue in interface IUserLayoutChannelDescriptionparameterName - a String value
boolean valuepublic Collection getParameterValues()
getParameterValues in interface IUserLayoutChannelDescriptionCollection of String parameter values.public int numberOfParameters()
numberOfParameters in interface IUserLayoutChannelDescriptionint valuepublic void clearParameters()
clearParameters in interface IUserLayoutChannelDescriptionpublic boolean canOverrideParameter(String parameterName)
canOverrideParameter in interface IUserLayoutChannelDescriptionparameterName - a String value
boolean value
public void setParameterOverride(String parameterName,
boolean canOverride)
setParameterOverride in interface IUserLayoutChannelDescriptionparameterName - a String valuecanOverride - a boolean flag.public String remove(String parameterName)
remove in interface IUserLayoutChannelDescriptionparameterName - a String parameter name.
public Enumeration getParameterNames()
getParameterNames in interface IUserLayoutChannelDescriptionSet of String parameter names.public Map getParameterMap()
getParameterMap in interface IUserLayoutChannelDescriptionMap of parameter names on parameter values.public boolean hasParameters()
hasParameters in interface IUserLayoutChannelDescriptionboolean valuepublic boolean containsParameter(String parameterName)
containsParameter in interface IUserLayoutChannelDescriptionparameterName - a String parameter name.
boolean valuepublic Element getXML(Document root)
org.w3c.dom.Element representation of the current channel.
getXML in interface IUserLayoutChannelDescriptiongetXML in interface IUserLayoutNodeDescriptiongetXML in class UserLayoutNodeDescriptionroot - a Document for which the Element should be created.
Node value
public void addParameterChildren(Element node,
Document root)
public void addNodeAttributes(Element node)
UserLayoutNodeDescriptionElement.
addNodeAttributes in interface IUserLayoutNodeDescriptionaddNodeAttributes in class UserLayoutNodeDescriptionnode - an Element valuepublic int getType()
getType in interface IUserLayoutNodeDescriptiongetType in class UserLayoutNodeDescriptionpublic String toString()
toString in class UserLayoutNodeDescription
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||