com.plumtree.portalpages.browsing.portalsettings.displayoptions
Class DisplayOptModel
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portalpages.browsing.portalsettings.displayoptions.DisplayOptModel
- All Implemented Interfaces:
- IDisplayOptModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel
public class DisplayOptModel
- extends EditorModel
- implements IDisplayOptModelRO
- Author:
- Sample
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, Init, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
m_ptSession
protected IPTSession m_ptSession
DisplayOptModel
public DisplayOptModel()
AddToErrorString
public java.lang.String AddToErrorString(java.lang.String strErrorMsgs,
java.lang.String strNewMessage)
- Parameters:
strErrorMsgs
- strNewMessage
-
- Returns:
CheckEditorAccessAndStart
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
- Description copied from class:
EditorModel
- Implements some actions to perform on start.
Use the Editor Type if needed.
- Specified by:
CheckEditorAccessAndStart
in class EditorModel
- Returns:
- boolean Is true if the current user has the rights to access this Editor.
Create
public java.lang.Object Create()
- Description copied from class:
EditorModel
- This method is used by the ASManager to return new instances of managed
objects.
- Specified by:
Create
in interface IManagedObject
- Specified by:
Create
in class EditorModel
- Returns:
- A new instance of the managed class (i.e. return new Foo();)
- See Also:
IManagedObject.Create()
Finish
public void Finish()
- Description copied from class:
EditorModel
- Implement some code to execute when the user clicks on "Finish".
- Specified by:
Finish
in interface IRepostModel
- Specified by:
Finish
in class EditorModel
GetAccessibilityStyle
public java.lang.String GetAccessibilityStyle()
- Specified by:
GetAccessibilityStyle
in interface IDisplayOptModelRO
- Returns:
GetGreeting
public java.lang.String GetGreeting()
- Specified by:
GetGreeting
in interface IDisplayOptModelRO
- Returns:
GetRulesDebugMode
public boolean GetRulesDebugMode()
- Specified by:
GetRulesDebugMode
in interface IDisplayOptModelRO
- Returns:
GetName
public java.lang.String GetName()
- Description copied from class:
EditorModel
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorModel
- Returns:
GetTimeout
public int GetTimeout()
- Specified by:
GetTimeout
in interface IDisplayOptModelRO
- Returns:
IsRefreshRate
public boolean IsRefreshRate(java.lang.String strRate)
- Specified by:
IsRefreshRate
in interface IDisplayOptModelRO
- Returns:
IsViewChecked
public boolean IsViewChecked(java.lang.String strType)
- Specified by:
IsViewChecked
in interface IDisplayOptModelRO
- Parameters:
strType
-
- Returns:
LoadSettings
public void LoadSettings()
SavePage
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
- Description copied from class:
EditorModel
- Calls the right save function according to the page name passed in argument.
- Specified by:
SavePage
in interface IRepostModel
- Specified by:
SavePage
in class EditorModel
- Parameters:
_sPageName
- _htFormData
-
- Returns:
ShouldOpenNewWindow
public boolean ShouldOpenNewWindow()
- Specified by:
ShouldOpenNewWindow
in interface IDisplayOptModelRO
- Returns:
SaveAccessibility
protected int SaveAccessibility(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns:
SaveDisplayOptions
protected int SaveDisplayOptions(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns:
SaveGreeting
protected int SaveGreeting(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns:
SaveTimeout
protected int SaveTimeout(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns:
SaveEnableRulesDebugMode
protected int SaveEnableRulesDebugMode(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns: