com.plumtree.portalpages.admin.ptutilities.jobfolders
Class JobFoldersModel
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.portalpages.admin.ptutilities.jobfolders.JobFoldersModel
- All Implemented Interfaces:
- IJobFoldersModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel
public class JobFoldersModel
- extends EditorModel
- implements IJobFoldersModelRO
- Author:
- SudhaS
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, 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_sSetting1
protected java.lang.String m_sSetting1
m_sSetting2
protected java.lang.String m_sSetting2
m_strDescription
protected java.lang.String m_strDescription
m_strServerName
protected java.lang.String m_strServerName
m_strURI
protected java.lang.String m_strURI
m_nActivityID
protected int m_nActivityID
JobFoldersModel
public JobFoldersModel()
CheckEditorAccessAndStart
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
- Code executed when the Editor is starting.
- 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
GetActivityDescription
public java.lang.String GetActivityDescription()
- Specified by:
GetActivityDescription
in interface IJobFoldersModelRO
- Returns:
GetActivityID
public int GetActivityID()
- Returns:
GetActivityURI
public java.lang.String GetActivityURI()
- Specified by:
GetActivityURI
in interface IJobFoldersModelRO
- Returns:
GetName
public java.lang.String GetName()
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorModel
- Returns:
- String
GetServerName
public java.lang.String GetServerName()
- Specified by:
GetServerName
in interface IJobFoldersModelRO
- Returns:
ResetInputs
public void ResetInputs()
SaveMainPage
public int SaveMainPage(XPHashtable _htFormData)
- Parameters:
_htFormData
-
- Returns:
SavePage
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
- 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:
- int Page status for server side validation
StartGetFolderJobs
public void StartGetFolderJobs()
StartJobFoldersList
public void StartJobFoldersList()
- Helper method to start the Select PTObject List.