| org.jasig.portal.ThemeStylesheetUserPreferences org.jasig.portal.StructureStylesheetUserPreferences org.jasig.portal.layout.dlm.DistributedUserPreferences
DistributedUserPreferences | public class DistributedUserPreferences extends StructureStylesheetUserPreferences (Code) | | Distributed layout Extension to user preferences object for stylesheets
performing structure or theme transformation. This extension adds support
for user preferences set by layout owneres in incorporated elements.
author: Mark Boyd mboyd@campuspipeline.com version: $Revision: 36684 $ $Date: 2006-08-24 00:56:17 -0700 (Thu, 24 Aug 2006) $ since: uPortal 2.5 |
Method Summary | |
public void | changeChannelId(String oldChannelId, String newChannelId) Used when loading fragment layouts and converting them to their
"fragmentized" version suitable for incorporating into other user's
layouts. | public void | changeFolderId(String oldFolderId, String newFolderId) Used when loading fragment layouts and converting them to their
"fragmentized" version suitable for incorporating into other user's
layouts. | public String | getChannelAttributeValue(String channelSubscribeId, String attributeName) | public Enumeration | getChannels() | public String | getDefaultChannelAttributeValue(String channelSubscribeId, String attributeName) Returns the default value for the specified attribute for the specified
channel. | public String | getDefaultFolderAttributeValue(String folderId, String attributeName) Returns the default value for the specified attribute for the specified
folder. | public String | getFolderAttributeValue(String folderId, String attributeName) | public Enumeration | getFolders() | public boolean | hasChannel(String chanId) | public boolean | hasFolder(String folderId) | public Object | newInstance() Provides a copy of this object with all fields instantiated to reflect
the values of this object. | public void | removeChannel(String channelSubscribeId) | public void | removeDefinedChannelAttributeValue(String channelID, String attributeName) | public void | removeDefinedFolderAttributeValue(String folderID, String attributeName) | public void | removeFolder(String folderID) | public void | setIncorporatedChannelAttributeValue(String channelSubscribeId, String attributeName, String attributeValue) Sets the value of an attribute to the value that it had on the channel in
the fragment from which it was incorporated. | public void | setIncorporatedFolderAttributeValue(String folderSubscribeId, String attributeName, String attributeValue) Sets the value of an attribute to the value that it had on the folder in
the fragment from which it was incorporated. |
incorporatedChannelAttributeValues | protected Hashtable incorporatedChannelAttributeValues(Code) | | |
incorporatedFolderAttributeValues | protected Hashtable incorporatedFolderAttributeValues(Code) | | |
DistributedUserPreferences | public DistributedUserPreferences()(Code) | | Creates a new DistributedUserPreferences object with empty tables.
|
DistributedUserPreferences | public DistributedUserPreferences(StructureStylesheetUserPreferences ssup)(Code) | | Creates a DistributedUserPreferences with values for super classes
derived from those of the passed in StructureStylesheetUserPreferences
object.
Parameters: ssup - |
DistributedUserPreferences | public DistributedUserPreferences(ThemeStylesheetUserPreferences tsup)(Code) | | If instantiated with a theme stylesheet preferences then this object
should only be used in place of a theme stylesheet user prefs since
structure stylesheet oriented variables will not be initialized.
|
DistributedUserPreferences | public DistributedUserPreferences(DistributedUserPreferences dup)(Code) | | Creates a new DistributedUserPreferences object populated with all values
from the passed-in instance.
Parameters: dup - |
changeChannelId | public void changeChannelId(String oldChannelId, String newChannelId)(Code) | | Used when loading fragment layouts and converting them to their
"fragmentized" version suitable for incorporating into other user's
layouts. One aspect of fragmentization is converting the user and layout
node IDs to globally unique and consistent IDs. This method is used to
replace the channel's user and layout specific ID with its globally
unique value.
Parameters: oldChannelId - Parameters: newChannelId - |
changeFolderId | public void changeFolderId(String oldFolderId, String newFolderId)(Code) | | Used when loading fragment layouts and converting them to their
"fragmentized" version suitable for incorporating into other user's
layouts. One aspect of fragmentization is converting the user and layout
node IDs to globally unique and consistent IDs. This method is used to
replace the folder's user and layout specific ID with its globally
unique value.
Parameters: oldFolderId - Parameters: newFolderId - |
getDefaultChannelAttributeValue | public String getDefaultChannelAttributeValue(String channelSubscribeId, String attributeName)(Code) | | Returns the default value for the specified attribute for the specified
channel. Defaults for an attribute may be unique to a channel since an
incorporated value becomes the default value for a fragment user.
|
getDefaultFolderAttributeValue | public String getDefaultFolderAttributeValue(String folderId, String attributeName)(Code) | | Returns the default value for the specified attribute for the specified
folder. Defaults for an attribute may be unique to a folder since an
incorporated value becomes the default value for a fragment user.
|
newInstance | public Object newInstance()(Code) | | 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.
a copy of this object |
removeChannel | public void removeChannel(String channelSubscribeId)(Code) | | |
removeDefinedChannelAttributeValue | public void removeDefinedChannelAttributeValue(String channelID, String attributeName)(Code) | | |
removeDefinedFolderAttributeValue | public void removeDefinedFolderAttributeValue(String folderID, String attributeName)(Code) | | |
setIncorporatedChannelAttributeValue | public void setIncorporatedChannelAttributeValue(String channelSubscribeId, String attributeName, String attributeValue)(Code) | | Sets the value of an attribute to the value that it had on the channel in
the fragment from which it was incorporated. User overrides, if allowed,
are not set here. The setChannelAttributeValue() method is where user
overrides are set and maintained distinctly from the original values had
in the originating fragment.
Parameters: channelSubscribeId - Parameters: attributeName - Parameters: attributeValue - |
setIncorporatedFolderAttributeValue | public void setIncorporatedFolderAttributeValue(String folderSubscribeId, String attributeName, String attributeValue)(Code) | | Sets the value of an attribute to the value that it had on the folder in
the fragment from which it was incorporated. User overrides, if allowed,
are not set here. The setFolderAttributeValue() method is where user
overrides are set and maintained distinctly from the original values had
in the originating fragment.
Parameters: folderSubscribeId - Parameters: attributeName - Parameters: attributeValue - |
|
|