org.jasig.portal
Class ThemeStylesheetUserPreferences
java.lang.Object
org.jasig.portal.StylesheetUserPreferences
org.jasig.portal.ThemeStylesheetUserPreferences
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- StructureStylesheetUserPreferences
public class ThemeStylesheetUserPreferences
- extends StylesheetUserPreferences
User preferences for stylesheets performing theme transformation
- Version:
- $Revision: 1.15.4.1 $
- Author:
- Peter Kharchenko pkharchenko@interactivebusiness.com>a
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
channelAttributeNumbers
protected java.util.Hashtable channelAttributeNumbers
channelAttributeValues
protected java.util.Hashtable channelAttributeValues
defaultChannelAttributeValues
protected java.util.ArrayList defaultChannelAttributeValues
ThemeStylesheetUserPreferences
public ThemeStylesheetUserPreferences()
ThemeStylesheetUserPreferences
public ThemeStylesheetUserPreferences(ThemeStylesheetUserPreferences ssup)
newInstance
public java.lang.Object newInstance()
- Provides a copy of this object with all fields instantiated to reflect
the values of this object. This allows subclasses to override to add
correct copying behavior for their added fields.
- Overrides:
newInstance
in class StylesheetUserPreferences
- Returns:
- a copy of this object
getChannelAttributeValue
public java.lang.String getChannelAttributeValue(java.lang.String channelSubscribeId,
java.lang.String attributeName)
getDefinedChannelAttributeValue
public java.lang.String getDefinedChannelAttributeValue(java.lang.String channelSubscribeId,
java.lang.String attributeName)
- Returns channel attribute value only if it has been assigned specifically.
- Parameters:
channelSubscribeId
- channel idattributeName
- name of the attribute
- Returns:
- attribute value or null if the value is determined by the attribute default
setChannelAttributeValue
public void setChannelAttributeValue(java.lang.String channelSubscribeId,
java.lang.String attributeName,
java.lang.String attributeValue)
addChannelAttribute
public void addChannelAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
setChannelAttributeDefaultValue
public void setChannelAttributeDefaultValue(java.lang.String attributeName,
java.lang.String defaultValue)
removeChannelAttribute
public void removeChannelAttribute(java.lang.String attributeName)
getChannelAttributeNames
public java.util.Enumeration getChannelAttributeNames()
addChannel
public void addChannel(java.lang.String channelSubscribeId)
removeChannel
public void removeChannel(java.lang.String channelSubscribeId)
getChannels
public java.util.Enumeration getChannels()
hasChannel
public boolean hasChannel(java.lang.String channelSubscribeId)
createChannel
private java.util.ArrayList createChannel(java.lang.String channelSubscribeId)
getCacheKey
public java.lang.String getCacheKey()
- Overrides:
getCacheKey
in class StylesheetUserPreferences