|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portalpages.admin.ptutilities.automationserver.AutomationServerModel
public class AutomationServerModel
This class keeps an up-to-date state of all the settings. It contains the set and get methods for those settings. It contains the start, save and finish methods. This class is used by the Section MainView (to get the latest value of the settings to display) and by the Control MainRepostControl (to perform the repost actions).
Field Summary | |
---|---|
protected boolean |
m_bFromPopUp
|
protected XPDateTime |
m_dtDeleteDate
|
protected XPDateTime |
m_dtFromDate
|
protected XPDateTime |
m_dtToDate
|
protected java.lang.String |
m_strServerName
|
protected java.lang.String |
m_strServerNetAddr
|
static java.lang.String |
STR_MVC_CLASS_NAME
The unique identifier for the class |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
AutomationServerModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskOnComeBackFromPopUp()
Executes when the user returns from the automation server popup |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
DoTaskOnDeleteFromDate()
Null implementation of parent function |
void |
DoTaskOnShowNewDates()
|
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
java.lang.String |
GetFromDateAsString()
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetToDateAsString()
|
protected void |
InitializeAutomationServerList()
|
int |
SaveAutomationServer(XPHashtable _htFormData)
|
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
int |
SavePopUp(XPHashtable _htFormData)
|
void |
SetFromPopup(boolean _bComingFromPopup)
|
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, 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 |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
protected java.lang.String m_strServerName
protected java.lang.String m_strServerNetAddr
protected XPDateTime m_dtDeleteDate
protected XPDateTime m_dtFromDate
protected XPDateTime m_dtToDate
protected boolean m_bFromPopUp
Constructor Detail |
---|
public AutomationServerModel()
Method Detail |
---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class EditorModel
_htFormData
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskOnComeBackFromPopUp()
public void DoTaskOnComeBackFromSubEditor()
DoTaskOnComeBackFromSubEditor
in class EditorModel
public void DoTaskOnDeleteFromDate()
public void DoTaskOnShowNewDates()
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public java.lang.String GetFromDateAsString()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetToDateAsString()
public int SaveAutomationServer(XPHashtable _htFormData)
_htFormData
-
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
public int SavePopUp(XPHashtable _htFormData)
_htFormData
-
public void SetFromPopup(boolean _bComingFromPopup)
_bComingFromPopup
- protected void InitializeAutomationServerList()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |