|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.activityspace.AClearModel com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletModel com.plumtree.portalpages.portlets.jobhistory.JobHistoryPortletModel
public class JobHistoryPortletModel
This class implements the model for the Job History intrinsic portlet
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for the model |
Fields inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletModel |
---|
m_asOwner, m_nContainerClassID, m_nContainerObjectID, m_nPageID, m_nPortletID, m_nPrefType, m_ptAppDataState, m_ptPortlet, m_ptSession, PREF_TYPE_ADMIN, PREF_TYPE_COMMUNITY, PREF_TYPE_PERSONAL, SETTINGSTYPE_ADMIN, SETTINGSTYPE_COMMUNITY, SETTINGSTYPE_COMMUNITYPORTLET, SETTINGSTYPE_PORTLET, SETTINGSTYPE_USER |
Constructor Summary | |
---|---|
JobHistoryPortletModel()
|
Method Summary | |
---|---|
boolean |
ControlExists()
Returns true if this portlet has a control class |
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". |
int[] |
GetArrayOfJobsToKill(XPHashtable _htFormData)
This function returns an int array of JobID's to be killed |
int |
GetCurrentLogPage()
Returns the log page currently being displayed. |
int |
GetCurrentPage()
Returns CurrentPage setting. |
JSDatePickerMgr |
GetDatePickerControlManager()
Get the Date picker control manager |
int |
GetJobID()
Returns the jobID. |
java.lang.String |
GetJobName()
Returns the jobName. |
byte[] |
GetLogFile()
Returns the log file in byte array format |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.Object |
GetNewTempData()
This method returns a new temporary data object. |
java.lang.String |
GetPortletName()
Returns the portlet name |
IPTSession |
GetPTSession()
Returns the Plumtree Session object. |
Redirect |
GetRedirectAfterFinish()
Returns the Redirect object (this is were we need to go at the end of the Editor). |
int |
GetRowToDisplay()
Returns the job history row to display in the job log detail viewer. |
java.lang.String |
GetRunTime()
Returns the runTime. |
java.lang.String |
GetSearchString()
Returns a string used for searching the job log. |
void |
Init(AActivitySpace parent)
Inits the Model with the IPTSession. |
boolean |
IsSearchRequest()
Returns whether the very last request is a search of the job log. |
void |
KillJobs(XPHashtable _htFormData)
This function will send a kill message to each job that has been checked by the user. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetCurrentLogPage(int currentLogPage)
Sets the the log page currently being displayed. |
void |
SetCurrentPage(int _intCurrentPage)
Sets CurrentRecord setting. |
void |
SetJobID(int jobID)
Sets the jobID. |
void |
SetJobName(java.lang.String jobName)
Sets the jobName. |
void |
SetLogSearchPage(java.lang.String strSearchText)
Sets the the search term and indicates a result page |
void |
SetRowToDisplay(int rowToDisplay)
Sets the job history row to display in the job log detail viewer. |
void |
SetRunTime(java.lang.String runTime)
Sets the runTime. |
Methods inherited from class com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletModel |
---|
CleanupAllData, CleanupTempData, GetPortletID, GetSettingValue, GetSettingValues, InitPortlet, IsIntrinsicPortlet |
Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AClearModel |
---|
GetTempData |
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.intrinsicportlets.IIntrinsicPortletModelRO |
---|
GetPortletID |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel |
---|
CleanupAllData, CleanupTempData |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public JobHistoryPortletModel()
Method Detail |
---|
public boolean ControlExists()
ControlExists
in interface IIntrinsicPortletModelRO
ControlExists
in class IntrinsicPortletModel
IIntrinsicPortletModelRO.ControlExists()
public java.lang.Object Create()
AClearModel
Create
in interface IManagedObject
Create
in class AClearModel
IManagedObject.Create()
public void Finish()
Finish
in interface IRepostModel
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class IntrinsicPortletModel
IMVCObject.GetName()
public java.lang.Object GetNewTempData()
AClearModel
GetNewTempData
in class AClearModel
public java.lang.String GetPortletName()
GetPortletName
in interface IJobHistoryPortletModelRO
public Redirect GetRedirectAfterFinish()
GetRedirectAfterFinish
in interface IRepostModel
public void Init(AActivitySpace parent)
Init
in interface IModel
Init
in class IntrinsicPortletModel
parent
- IModel.Init(AActivitySpace)
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
_sPageName
- _htFormData
-
public int[] GetArrayOfJobsToKill(XPHashtable _htFormData)
_htFormData
-
public void KillJobs(XPHashtable _htFormData)
_htFormData
- public boolean IsSearchRequest()
IsSearchRequest
in interface IJobLogModelRO
IsSearchRequest
in interface IJobHistoryPortletModelRO
public java.lang.String GetSearchString()
GetSearchString
in interface IJobLogModelRO
GetSearchString
in interface IJobHistoryPortletModelRO
public int GetCurrentLogPage()
GetCurrentLogPage
in interface IJobLogModelRO
GetCurrentLogPage
in interface IJobHistoryPortletModelRO
public int GetCurrentPage()
GetCurrentPage
in interface IJobLogModelRO
GetCurrentPage
in interface IJobHistoryPortletModelRO
public int GetJobID()
GetJobID
in interface IJobLogModelRO
GetJobID
in interface IJobHistoryPortletModelRO
public java.lang.String GetJobName()
GetJobName
in interface IJobLogModelRO
GetJobName
in interface IJobHistoryPortletModelRO
public IPTSession GetPTSession()
GetPTSession
in interface IJobLogModelRO
GetPTSession
in interface IJobHistoryPortletModelRO
public int GetRowToDisplay()
GetRowToDisplay
in interface IJobLogModelRO
GetRowToDisplay
in interface IJobHistoryPortletModelRO
public java.lang.String GetRunTime()
GetRunTime
in interface IJobLogModelRO
GetRunTime
in interface IJobHistoryPortletModelRO
public void SetLogSearchPage(java.lang.String strSearchText)
SearchTerm
- to be applied against the log textpublic void SetCurrentLogPage(int currentLogPage)
currentLogPage
- The currentLogPage to setpublic void SetCurrentPage(int _intCurrentPage)
public void SetJobID(int jobID)
jobID
- The jobID to setpublic void SetJobName(java.lang.String jobName)
jobName
- The jobName to setpublic void SetRowToDisplay(int rowToDisplay)
rowToDisplay
- The rowToDisplay to setpublic void SetRunTime(java.lang.String runTime)
runTime
- The runTime to setpublic byte[] GetLogFile()
GetLogFile
in interface IJobLogModelRO
public JSDatePickerMgr GetDatePickerControlManager()
GetDatePickerControlManager
in interface IJobLogModelRO
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |