com.plumtree.portalpages.admin.ptutilities.jobfolders
Class JobFoldersModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by 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

Field Summary
protected  int m_nActivityID
           
protected  java.lang.String m_sSetting1
           
protected  java.lang.String m_sSetting2
           
protected  java.lang.String m_strDescription
           
protected  java.lang.String m_strServerName
           
protected  java.lang.String m_strURI
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType
 
Constructor Summary
JobFoldersModel()
           
 
Method Summary
 boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
          Code executed when the Editor is starting.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void Finish()
          Implement some code to execute when the user clicks on "Finish".
 java.lang.String GetActivityDescription()
           
 int GetActivityID()
           
 java.lang.String GetActivityURI()
           
 java.lang.String GetName()
          Returns the Class name.
 java.lang.String GetServerName()
           
 void ResetInputs()
           
 int SaveMainPage(XPHashtable _htFormData)
           
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
 void StartGetFolderJobs()
           
 void StartJobFoldersList()
          Helper method to start the Select PTObject List.
 
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
 
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly
 

Field Detail

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
Constructor Detail

JobFoldersModel

public JobFoldersModel()
Method Detail

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.




Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.