|
|||||||||
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.job.JobModel
public class JobModel
This class implements the model for the job editor
Field Summary | |
---|---|
static int |
c_intDict
Constant used internally |
static int |
c_intDictObjClass
Constant used internally |
static int |
c_intDictObjName
Constant used internally |
static int |
SCHEDULE_TYPE_RECURRING
This constant is returned by the UI when the job type is recurring. |
static int |
SCHEDULE_TYPE_RUN_ONCE_NOW
This constant is returned by the UI when the job type is set to RunOnceNow |
static java.lang.String |
STR_MVC_CLASS_NAME
Unique identifier for the class |
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 |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
JobModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteJobHistory(XPDateTime xpdtDeleteFrom)
Delete the job history from the passed in date and earlier |
void |
DoTaskAfterStore()
Code executed after the object is stored. |
void |
DoTaskBeforeStore()
Code executed before the object is stored. |
void |
DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting. |
static int |
DurationFromPTScheduleType(int nScheduleType)
This helper function translates PTSCHEDULETYPES units into PTDurationCombo values. |
int |
GetContinue()
Returns Continue on errors setting. |
java.lang.String |
GetDateFormatPattern()
Returns the format pattern for the current locale so that it can be passed into the date picker control |
JSDateTimePickerMgr |
GetDateTimePickerControlManager()
Get the Date Time picker control manager |
XPLocale |
GetLocale()
|
int |
GetLogLevel()
Returns Log Level setting. |
java.lang.String |
GetName()
Returns the Class name. |
PTGrowableSortedArrayWrapper |
GetOperations()
Returns Array of Operations. |
int |
GetRecurrenceInterval()
Returns Recurrence Interval setting. |
int |
GetRestrictions()
Returns Restrictions setting. |
XPDateTime |
GetRunOnceNowDateTime()
Get the Date Time for the RunOnceNow option |
int |
GetScheduleType()
Returns Schedule Type setting. |
int |
GetSuspendCheckpointInterval()
Returns Suspend Checkpoint Interval setting. |
int |
GetSuspendMode()
Returns Suspend Mode setting: One of PT_SCHEDULE_SUSPEND_MODES: PT_SCHEDULE_WORK_CONTINUOUSLY (Default), PT_SCHEDULE_SUSPEND_ON, PT_SCHEDULE_WORK_ON |
int |
GetTimeout()
Returns timeout setting. |
int |
GetTimeoutUnits()
Returns timeout units setting. |
XPTimeZone |
GetTimezone()
|
void |
InitializeDatePickerMgrs()
This function initializes the manager objects (Page and datetime) for the date pickers |
boolean |
IsAddOperationDisabled()
Returns true if the Add an Operation table on the Main DP should not be displayed. |
boolean |
IsFolderRegistered(int nAdminFolderID)
This helper function checks whether an admin folder has been assigned to any job server |
boolean |
IsJobFolderRegistered()
Returns whether the Folder containing this Job is assigned to any Automation Server |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
StartSelectPTObject(int[] _arrNewOp)
Helper method to start the Select PTObject List. |
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel |
---|
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, 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, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, 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.portaluiinfrastructure.editor.IObjEditorModelRO |
---|
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession |
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int SCHEDULE_TYPE_RECURRING
public static final int SCHEDULE_TYPE_RUN_ONCE_NOW
public static final int c_intDict
public static final int c_intDictObjClass
public static final int c_intDictObjName
Constructor Detail |
---|
public JobModel()
Method Detail |
---|
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class ObjEditorModel
_sPageName
- _htFormData
-
public void InitializeDatePickerMgrs()
public void DeleteJobHistory(XPDateTime xpdtDeleteFrom)
xpdtDeleteFrom
- public void StartSelectPTObject(int[] _arrNewOp)
public static int DurationFromPTScheduleType(int nScheduleType)
public boolean IsFolderRegistered(int nAdminFolderID)
public int GetContinue()
GetContinue
in interface IJobModelRO
public int GetLogLevel()
GetLogLevel
in interface IJobModelRO
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public PTGrowableSortedArrayWrapper GetOperations()
GetOperations
in interface IJobModelRO
public int GetRecurrenceInterval()
GetRecurrenceInterval
in interface IJobModelRO
public int GetRestrictions()
GetRestrictions
in interface IJobModelRO
public int GetScheduleType()
GetScheduleType
in interface IJobModelRO
public int GetSuspendCheckpointInterval()
GetSuspendCheckpointInterval
in interface IJobModelRO
public int GetSuspendMode()
GetSuspendMode
in interface IJobModelRO
public int GetTimeout()
GetTimeout
in interface IJobModelRO
public int GetTimeoutUnits()
GetTimeoutUnits
in interface IJobModelRO
public boolean IsAddOperationDisabled()
IsAddOperationDisabled
in interface IJobModelRO
public XPLocale GetLocale()
GetLocale
in interface IJobModelRO
public XPTimeZone GetTimezone()
GetTimezone
in interface IJobModelRO
public java.lang.String GetDateFormatPattern()
GetDateFormatPattern
in interface IJobModelRO
public JSDateTimePickerMgr GetDateTimePickerControlManager()
GetDateTimePickerControlManager
in interface IJobModelRO
public XPDateTime GetRunOnceNowDateTime()
IJobModelRO
GetRunOnceNowDateTime
in interface IJobModelRO
public boolean IsJobFolderRegistered()
IsJobFolderRegistered
in interface IJobModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |