org.kuali.rice.kew.api.preferences
Class Preferences

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.preferences.Preferences
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete, PreferencesContract

public final class Preferences
extends AbstractDataTransferObject
implements PreferencesContract

An immutable data transfer object implementing PreferencesContract. p>When loaded, Preferences could be in a state where they require being saved to the database. If this is the case then {requiresSave will evaluate to true.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
PreferencesContract, Serialized Form

Nested Class Summary
static class Preferences.Builder
           
static class Preferences.Cache
           
static class Preferences.KEYS
           
 
Constructor Summary
Preferences(Preferences.Builder builder)
           
 
Method Summary
 String getColorApproved()
           
 String getColorCanceled()
           
 String getColorDisapproveCancel()
           
 String getColorDisapproved()
           
 String getColorEnroute()
           
 String getColorException()
           
 String getColorFinal()
           
 String getColorInitiated()
           
 String getColorProcessed()
           
 String getColorSaved()
           
 String getDelegatorFilter()
           
 String getDocumentTypeNotificationPreference(String documentType)
           
 Map<String,String> getDocumentTypeNotificationPreferences()
           
 String getEmailNotification()
           
 String getNotifyAcknowledge()
           
 String getNotifyApprove()
           
 String getNotifyComplete()
           
 String getNotifyFYI()
           
 String getNotifyPrimaryDelegation()
           
 String getNotifySecondaryDelegation()
           
 String getOpenNewWindow()
           
 String getPageSize()
           
 String getPrimaryDelegateFilter()
           
 String getRefreshRate()
           
 String getShowActionRequested()
           
 String getShowAppDocStatus()
           
 String getShowClearFyi()
           
 String getShowCurrentNode()
           
 String getShowDateApproved()
           
 String getShowDateCreated()
           
 String getShowDelegator()
           
 String getShowDocTitle()
           
 String getShowDocType()
           
 String getShowDocumentStatus()
           
 String getShowInitiator()
           
 String getShowWorkgroupRequest()
           
 String getUseOutbox()
           
 boolean isRequiresSave()
           
 boolean isUsingOutbox()
           
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preferences

public Preferences(Preferences.Builder builder)
Method Detail

isRequiresSave

public boolean isRequiresSave()
Specified by:
isRequiresSave in interface PreferencesContract

getEmailNotification

public String getEmailNotification()
Specified by:
getEmailNotification in interface PreferencesContract

getNotifyPrimaryDelegation

public String getNotifyPrimaryDelegation()
Specified by:
getNotifyPrimaryDelegation in interface PreferencesContract

getNotifySecondaryDelegation

public String getNotifySecondaryDelegation()
Specified by:
getNotifySecondaryDelegation in interface PreferencesContract

getOpenNewWindow

public String getOpenNewWindow()
Specified by:
getOpenNewWindow in interface PreferencesContract

getShowActionRequested

public String getShowActionRequested()
Specified by:
getShowActionRequested in interface PreferencesContract

getShowDateCreated

public String getShowDateCreated()
Specified by:
getShowDateCreated in interface PreferencesContract

getShowDocumentStatus

public String getShowDocumentStatus()
Specified by:
getShowDocumentStatus in interface PreferencesContract

getShowAppDocStatus

public String getShowAppDocStatus()
Specified by:
getShowAppDocStatus in interface PreferencesContract

getShowDocType

public String getShowDocType()
Specified by:
getShowDocType in interface PreferencesContract

getShowInitiator

public String getShowInitiator()
Specified by:
getShowInitiator in interface PreferencesContract

getShowDocTitle

public String getShowDocTitle()
Specified by:
getShowDocTitle in interface PreferencesContract

getShowWorkgroupRequest

public String getShowWorkgroupRequest()
Specified by:
getShowWorkgroupRequest in interface PreferencesContract

getShowDelegator

public String getShowDelegator()
Specified by:
getShowDelegator in interface PreferencesContract

getShowClearFyi

public String getShowClearFyi()
Specified by:
getShowClearFyi in interface PreferencesContract

getPageSize

public String getPageSize()
Specified by:
getPageSize in interface PreferencesContract

getRefreshRate

public String getRefreshRate()
Specified by:
getRefreshRate in interface PreferencesContract

getColorSaved

public String getColorSaved()
Specified by:
getColorSaved in interface PreferencesContract

getColorInitiated

public String getColorInitiated()
Specified by:
getColorInitiated in interface PreferencesContract

getColorDisapproved

public String getColorDisapproved()
Specified by:
getColorDisapproved in interface PreferencesContract

getColorEnroute

public String getColorEnroute()
Specified by:
getColorEnroute in interface PreferencesContract

getColorApproved

public String getColorApproved()
Specified by:
getColorApproved in interface PreferencesContract

getColorFinal

public String getColorFinal()
Specified by:
getColorFinal in interface PreferencesContract

getColorDisapproveCancel

public String getColorDisapproveCancel()
Specified by:
getColorDisapproveCancel in interface PreferencesContract

getColorProcessed

public String getColorProcessed()
Specified by:
getColorProcessed in interface PreferencesContract

getColorException

public String getColorException()
Specified by:
getColorException in interface PreferencesContract

getColorCanceled

public String getColorCanceled()
Specified by:
getColorCanceled in interface PreferencesContract

getDelegatorFilter

public String getDelegatorFilter()
Specified by:
getDelegatorFilter in interface PreferencesContract

getUseOutbox

public String getUseOutbox()
Specified by:
getUseOutbox in interface PreferencesContract

getShowDateApproved

public String getShowDateApproved()
Specified by:
getShowDateApproved in interface PreferencesContract

getShowCurrentNode

public String getShowCurrentNode()
Specified by:
getShowCurrentNode in interface PreferencesContract

getPrimaryDelegateFilter

public String getPrimaryDelegateFilter()
Specified by:
getPrimaryDelegateFilter in interface PreferencesContract

getNotifyComplete

public String getNotifyComplete()
Specified by:
getNotifyComplete in interface PreferencesContract

getNotifyApprove

public String getNotifyApprove()
Specified by:
getNotifyApprove in interface PreferencesContract

getNotifyAcknowledge

public String getNotifyAcknowledge()
Specified by:
getNotifyAcknowledge in interface PreferencesContract

getNotifyFYI

public String getNotifyFYI()
Specified by:
getNotifyFYI in interface PreferencesContract

getDocumentTypeNotificationPreference

public String getDocumentTypeNotificationPreference(String documentType)

getDocumentTypeNotificationPreferences

public Map<String,String> getDocumentTypeNotificationPreferences()
Specified by:
getDocumentTypeNotificationPreferences in interface PreferencesContract

isUsingOutbox

public boolean isUsingOutbox()


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.