uPortal 2.4.1
API Documentation

org.jasig.portal
Class ThemeStylesheetUserPreferences

java.lang.Object
  extended byorg.jasig.portal.StylesheetUserPreferences
      extended byorg.jasig.portal.ThemeStylesheetUserPreferences
Direct Known Subclasses:
StructureStylesheetUserPreferences

public class ThemeStylesheetUserPreferences
extends StylesheetUserPreferences

User preferences for stylesheets performing theme transformation

Version:
$Revision: 1.13 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.coma

Constructor Summary
ThemeStylesheetUserPreferences()
           
ThemeStylesheetUserPreferences(ThemeStylesheetUserPreferences ssup)
           
 
Method Summary
 void addChannel(java.lang.String channelSubscribeId)
           
 void addChannelAttribute(java.lang.String attributeName, java.lang.String defaultValue)
           
 java.lang.String getCacheKey()
           
 java.util.Enumeration getChannelAttributeNames()
           
 java.lang.String getChannelAttributeValue(java.lang.String channelSubscribeId, java.lang.String attributeName)
           
 java.util.Enumeration getChannels()
           
 java.lang.String getDefinedChannelAttributeValue(java.lang.String channelSubscribeId, java.lang.String attributeName)
          Returns channel attribute value only if it has been assigned specifically.
 boolean hasChannel(java.lang.String channelSubscribeId)
           
 void removeChannel(java.lang.String channelSubscribeId)
           
 void removeChannelAttribute(java.lang.String attributeName)
           
 void setChannelAttributeDefaultValue(java.lang.String attributeName, java.lang.String defaultValue)
           
 void setChannelAttributeValue(java.lang.String channelSubscribeId, java.lang.String attributeName, java.lang.String attributeValue)
           
 
Methods inherited from class org.jasig.portal.StylesheetUserPreferences
deleteParameter, getParameterValue, getParameterValues, getStylesheetId, putParameterValue, setParameterValues, setStylesheetId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeStylesheetUserPreferences

public ThemeStylesheetUserPreferences()

ThemeStylesheetUserPreferences

public ThemeStylesheetUserPreferences(ThemeStylesheetUserPreferences ssup)
Method Detail

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 id
attributeName - 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)

getCacheKey

public java.lang.String getCacheKey()
Overrides:
getCacheKey in class StylesheetUserPreferences

uPortal 2.4.1
API Documentation