org.jasig.portal
Class StructureStylesheetUserPreferences
java.lang.Object
org.jasig.portal.StylesheetUserPreferences
org.jasig.portal.ThemeStylesheetUserPreferences
org.jasig.portal.StructureStylesheetUserPreferences
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DistributedUserPreferences
public class StructureStylesheetUserPreferences
- extends ThemeStylesheetUserPreferences
User preferences for stylesheets performing structure transformation
- Version:
- $Revision: 19776 $
- Author:
- Peter Kharchenko
- See Also:
- Serialized Form
| Methods inherited from class org.jasig.portal.ThemeStylesheetUserPreferences |
addChannel, addChannelAttribute, getChannelAttributeNames, getChannelAttributeValue, getChannels, getDefinedChannelAttributeValue, hasChannel, removeChannel, removeChannelAttribute, setChannelAttributeDefaultValue, setChannelAttributeValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
folderAttributeNumbers
protected Hashtable folderAttributeNumbers
folderAttributeValues
protected Hashtable folderAttributeValues
defaultFolderAttributeValues
protected ArrayList defaultFolderAttributeValues
StructureStylesheetUserPreferences
public StructureStylesheetUserPreferences()
StructureStylesheetUserPreferences
public StructureStylesheetUserPreferences(StructureStylesheetUserPreferences fsup)
StructureStylesheetUserPreferences
public StructureStylesheetUserPreferences(ThemeStylesheetUserPreferences tsup)
- If instantiated with a theme stylesheet this object will be used only
for theme type work and so don't instantiate the variables added by
this class. Used in DLM.
newInstance
public 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 ThemeStylesheetUserPreferences
- Returns:
- a copy of this object
getFolderAttributeValue
public String getFolderAttributeValue(String folderID,
String attributeName)
getDefinedFolderAttributeValue
public String getDefinedFolderAttributeValue(String folderID,
String attributeName)
- Returns folder attribute value only if it has been assigned specifically.
- Parameters:
folderID - folder idattributeName - name of the attribute
- Returns:
- attribute value or null if the value is determined by the attribute default
setFolderAttributeValue
public void setFolderAttributeValue(String folderID,
String attributeName,
String attributeValue)
addFolderAttribute
public void addFolderAttribute(String attributeName,
String defaultValue)
setFolderAttributeDefaultValue
public void setFolderAttributeDefaultValue(String attributeName,
String defaultValue)
removeFolderAttribute
public void removeFolderAttribute(String attributeName)
getFolderAttributeNames
public Enumeration getFolderAttributeNames()
addFolder
public void addFolder(String folderID)
removeFolder
public void removeFolder(String folderID)
getFolders
public Enumeration getFolders()
hasFolder
public boolean hasFolder(String folderID)
getCacheKey
public String getCacheKey()
- Overrides:
getCacheKey in class ThemeStylesheetUserPreferences
Copyright © 2010 Jasig. All Rights Reserved.