|
|||||||||
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.portaluiinfrastructure.editor.ObjEditorModel com.plumtree.portalpages.admin.editors.externaloperations.ExternalOperationEditorModel
public class ExternalOperationEditorModel
JHQ ExtOpRedesign 050604: External Operations have been re-architected to run script files instead of commands from the command line. These scripts must reside in the automation server's portal_home/scripts directory. This directory can be secured as necessary. Therefore, we no longer use the RunAsUser/RunAsUserPassword. Corresponding methods will be deprecated and should not be implemented.
Field Summary | |
---|---|
protected XPArrayList |
m_ActionData
|
int |
m_nAction
|
protected IPTExternalOperation |
m_ptExtOp
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE |
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 | |
---|---|
ExternalOperationEditorModel()
Creates a new ExternalOperationEditorModel object. |
Method Summary | |
---|---|
protected java.lang.String |
append(java.lang.String s1,
java.lang.String s2)
|
protected void |
ClearActionData()
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected boolean |
differ(java.lang.String s1,
java.lang.String s2)
|
void |
DoTaskAfterStore()
That method contains the code that should be executed just after the object has been stored in the DB. |
void |
DoTaskBeforeStore()
That method contains the code that should be executed just before the object is stored in the DB. |
void |
DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
That method contains the code that should be executed just after the object has been initialized when the new editor is started. |
protected void |
ExtractActionData_All(XPHashtable _htFormData)
|
protected java.lang.String |
ExtractOneElement(java.lang.Object o)
|
protected int |
GetAction()
|
java.lang.String |
GetCommandLine()
|
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPasswordToDisplay()
Deprecated. This method should not be implemented. |
int |
GetTimeout()
|
java.lang.String |
GetUser()
Deprecated. This method should not be implemented. |
protected 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. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, Finish, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskOnChangePage, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, 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
public int m_nAction
protected IPTExternalOperation m_ptExtOp
protected XPArrayList m_ActionData
Constructor Detail |
---|
public ExternalOperationEditorModel()
Method Detail |
---|
public java.lang.String GetCommandLine()
GetCommandLine
in interface IExternalOperationEditorModelRO
public java.lang.String GetPasswordToDisplay()
GetPasswordToDisplay
in interface IExternalOperationEditorModelRO
public int GetTimeout()
GetTimeout
in interface IExternalOperationEditorModelRO
public java.lang.String GetUser()
GetUser
in interface IExternalOperationEditorModelRO
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
EditorModel
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnComeBackFromSubEditor()
ObjEditorModel
DoTaskOnComeBackFromSubEditor
in class ObjEditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
EditorModel
DoTaskOnStartEditor
in class EditorModel
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
ObjEditorModel
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
protected int GetAction()
protected void ClearActionData()
protected void ExtractActionData_All(XPHashtable _htFormData)
_htFormData
- protected java.lang.String ExtractOneElement(java.lang.Object o)
o
-
protected int SaveMainPage(XPHashtable _htFormData)
_htFormData
-
protected java.lang.String append(java.lang.String s1, java.lang.String s2)
s1
- s2
-
protected boolean differ(java.lang.String s1, java.lang.String s2)
s1
- s2
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |