com.plumtree.portalpages.common.dirprefs
Class DirPrefsModel
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portalpages.common.dirprefs.DirPrefsModel
- All Implemented Interfaces:
- IDirPrefsModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel
public class DirPrefsModel
- extends EditorModel
- implements IDirPrefsModelRO
- Author:
- StephenC
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_strDocDescriptionType
public java.lang.String m_strDocDescriptionType
m_strFolderDescriptionType
public java.lang.String m_strFolderDescriptionType
m_nBrowseBy
public int m_nBrowseBy
m_nDefaultDocType
public int m_nDefaultDocType
m_nNumDocsPerPage
public int m_nNumDocsPerPage
m_nNumFolderColumns
public int m_nNumFolderColumns
m_nNumSubSubFolders
public int m_nNumSubSubFolders
m_nRelatedResourcesPlacement
public int m_nRelatedResourcesPlacement
m_SCS
protected IPTServerConfigSettings m_SCS
DirPrefsModel
public DirPrefsModel()
GetBrowseBy
public int GetBrowseBy()
- Specified by:
GetBrowseBy
in interface IDirPrefsModelRO
- Returns:
GetDefaultDocType
public int GetDefaultDocType()
- Specified by:
GetDefaultDocType
in interface IDirPrefsModelRO
- Returns:
GetDocDescriptionType
public java.lang.String GetDocDescriptionType()
- Specified by:
GetDocDescriptionType
in interface IDirPrefsModelRO
- Returns:
GetFolderDescriptionType
public java.lang.String GetFolderDescriptionType()
- Specified by:
GetFolderDescriptionType
in interface IDirPrefsModelRO
- Returns:
GetNumDocsPerPage
public int GetNumDocsPerPage()
- Specified by:
GetNumDocsPerPage
in interface IDirPrefsModelRO
- Returns:
GetNumFolderColumns
public int GetNumFolderColumns()
- Specified by:
GetNumFolderColumns
in interface IDirPrefsModelRO
- Returns:
GetNumSubSubFolders
public int GetNumSubSubFolders()
- Specified by:
GetNumSubSubFolders
in interface IDirPrefsModelRO
- Returns:
GetRelatedResourcesPlacement
public int GetRelatedResourcesPlacement()
- Specified by:
GetRelatedResourcesPlacement
in interface IDirPrefsModelRO
- Returns:
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
- Parameters:
_htFormData
-
- Returns:
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
GetDocTypes
public IASQueryResult GetDocTypes()
- Specified by:
GetDocTypes
in interface IDirPrefsModelRO
- 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:
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:
SaveMainPage
protected int SaveMainPage(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns: