|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.common.joblogs.JobLogModelHelper
public class JobLogModelHelper
This helper class contains the implementation of the functions that the Job Log Model needs. Those functions have been moved to the helper class so they can be shared among multiple models (e.g. the intrinsic portlet model)
Constructor Summary | |
---|---|
JobLogModelHelper(AActivitySpace parent,
IPTSession session)
The constructor for the JobLogModelHelper class. |
Method Summary | |
---|---|
void |
DeleteJobHistory(XPDateTime xpdtDeleteFrom)
Delete the job history from the passed in date and earlier |
void |
ExitSearchMode()
This function returns the viewer to simple read mode |
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 |
PageMgr |
GetPageMgr()
|
IPTSession |
GetPTSession()
Returns the Plumtree Session object. |
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 |
InitializeDatePickerMgrs(XPLocale xpLocale,
XPTimeZone xpTimeZone)
This function initializes the manager objects (Page and date) for the date pickers |
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. |
void |
RetrieveFileForDownload(int intInstanceID)
Prepare the log file for download by setting it on a byte array member variable |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobLogModelHelper(AActivitySpace parent, IPTSession session)
parent
- - The activity space this is being called fromsession
- - The user's plumtree sessionMethod Detail |
---|
public void InitializeDatePickerMgrs(XPLocale xpLocale, XPTimeZone xpTimeZone)
public void DeleteJobHistory(XPDateTime xpdtDeleteFrom)
xpdtDeleteFrom
- public void ExitSearchMode()
none
- public int[] GetArrayOfJobsToKill(XPHashtable _htFormData)
_htFormData
-
public void KillJobs(XPHashtable _htFormData)
_htFormData
- public void RetrieveFileForDownload(int intInstanceID)
intInstanceID
- - The instance ID of the job logpublic boolean IsSearchRequest()
IsSearchRequest
in interface IJobLogModelRO
public java.lang.String GetSearchString()
GetSearchString
in interface IJobLogModelRO
public int GetCurrentLogPage()
GetCurrentLogPage
in interface IJobLogModelRO
public int GetCurrentPage()
GetCurrentPage
in interface IJobLogModelRO
public int GetJobID()
GetJobID
in interface IJobLogModelRO
public java.lang.String GetJobName()
GetJobName
in interface IJobLogModelRO
public IPTSession GetPTSession()
GetPTSession
in interface IJobLogModelRO
public int GetRowToDisplay()
GetRowToDisplay
in interface IJobLogModelRO
public java.lang.String GetRunTime()
GetRunTime
in interface IJobLogModelRO
public byte[] GetLogFile()
GetLogFile
in interface IJobLogModelRO
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 JSDatePickerMgr GetDatePickerControlManager()
GetDatePickerControlManager
in interface IJobLogModelRO
public PageMgr GetPageMgr()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |