org.apache.myfaces.trinidaddemo.email
Class PreferencesData

java.lang.Object
  extended by org.apache.myfaces.trinidaddemo.email.PreferencesData

public class PreferencesData
extends Object

Bean which provides preferences data

Version:
1.0

Field Summary
static String MEDIUM_BRANDING
          Branding type for "medium" branding, which includes the corporate brand, a smaller product brand, and no global button icons
static String REGULAR_BRANDING
          Branding type for "regular" branding, which includes the corporate brand, a large product brand, and global button icons.
static String SMALL_BRANDING
          Branding type for "small" branding, which includes the corporate brand, no product brand, and no global button icons
 
Constructor Summary
PreferencesData()
          Creates a PreferencesData object with default preferences
 
Method Summary
 String getAccessibilityMode()
          Returns the AccessibilityMode for this user
 List<javax.faces.model.SelectItem> getAccessibilityModeItems()
           
 AccessibilityProfile getAccessibilityProfile()
          Returns the AccessibilityProfile for this user.
 String getBranding()
          Returns the branding type: REGULAR_BRANDING, MEDIUM_BRANDING or SMALL_BRANDING
 boolean getDisplayDateColumn()
          Gets whether the date column is displayed
 boolean getDisplayFolderTree()
          Gets whether the SideBar with the folder tree is displayed
 boolean getDisplaySenderColumn()
          Gets whether the sender column is displayed
 boolean getDisplaySizeColumn()
          Gets whether the size column is displayed
 int getRowsShown()
          Returns the numbers of rows to display in the messages table.
 String getSkinFamily()
          Returns the skin-family for the application.
 List<javax.faces.model.SelectItem> getSkinFamilyItems()
           
 boolean isPreviewMessageMode()
          Gets whether the user wants to preview the email message underneath the message list
 void setAccessibilityMode(String accessibilityMode)
          Sets the AccessibilityMode for this user.
 void setBranding(String branding)
          Sets the branding.
 void setDisplayDateColumn(boolean isDisplayed)
          Sets whether the date column is displayed
 void setDisplayFolderTree(boolean isDisplayed)
          Sets whether the SideBar with the folder tree is displayed
 void setDisplaySenderColumn(boolean isDisplayed)
          Sets whether the sender column is displayed
 void setDisplaySizeColumn(boolean isDisplayed)
          Sets whether the size column is displayed
 void setPreviewMessageMode(boolean enable)
          Sets whether the user wants to preview the email message underneath the message list
 void setRowsShown(int rowsShown)
          Sets the number of rows to show in the messages table.
 void setSkinFamily(String skinFamily)
          Returns the skin-family for the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGULAR_BRANDING

public static String REGULAR_BRANDING
Branding type for "regular" branding, which includes the corporate brand, a large product brand, and global button icons.


MEDIUM_BRANDING

public static String MEDIUM_BRANDING
Branding type for "medium" branding, which includes the corporate brand, a smaller product brand, and no global button icons


SMALL_BRANDING

public static String SMALL_BRANDING
Branding type for "small" branding, which includes the corporate brand, no product brand, and no global button icons

Constructor Detail

PreferencesData

public PreferencesData()
Creates a PreferencesData object with default preferences

Method Detail

getSkinFamilyItems

public List<javax.faces.model.SelectItem> getSkinFamilyItems()

getAccessibilityModeItems

public List<javax.faces.model.SelectItem> getAccessibilityModeItems()

getSkinFamily

public String getSkinFamily()
Returns the skin-family for the application.


setSkinFamily

public void setSkinFamily(String skinFamily)
Returns the skin-family for the application.


getAccessibilityMode

public String getAccessibilityMode()
Returns the AccessibilityMode for this user


getAccessibilityProfile

public AccessibilityProfile getAccessibilityProfile()
Returns the AccessibilityProfile for this user.


getBranding

public String getBranding()
Returns the branding type: REGULAR_BRANDING, MEDIUM_BRANDING or SMALL_BRANDING


getRowsShown

public int getRowsShown()
Returns the numbers of rows to display in the messages table.


getDisplayFolderTree

public boolean getDisplayFolderTree()
Gets whether the SideBar with the folder tree is displayed


setDisplayFolderTree

public void setDisplayFolderTree(boolean isDisplayed)
Sets whether the SideBar with the folder tree is displayed


getDisplaySenderColumn

public boolean getDisplaySenderColumn()
Gets whether the sender column is displayed


setDisplaySenderColumn

public void setDisplaySenderColumn(boolean isDisplayed)
Sets whether the sender column is displayed


getDisplayDateColumn

public boolean getDisplayDateColumn()
Gets whether the date column is displayed


setDisplayDateColumn

public void setDisplayDateColumn(boolean isDisplayed)
Sets whether the date column is displayed


getDisplaySizeColumn

public boolean getDisplaySizeColumn()
Gets whether the size column is displayed


setDisplaySizeColumn

public void setDisplaySizeColumn(boolean isDisplayed)
Sets whether the size column is displayed


isPreviewMessageMode

public boolean isPreviewMessageMode()
Gets whether the user wants to preview the email message underneath the message list


setPreviewMessageMode

public void setPreviewMessageMode(boolean enable)
Sets whether the user wants to preview the email message underneath the message list


setAccessibilityMode

public void setAccessibilityMode(String accessibilityMode)
Sets the AccessibilityMode for this user.


setBranding

public void setBranding(String branding)
Sets the branding. Must be one of: REGULAR_BRANDING, MEDIUM_BRANDING, or SMALL_BRANDING.


setRowsShown

public void setRowsShown(int rowsShown)
Sets the number of rows to show in the messages table.



Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.