|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OndemandReportManager
Interface OndemandReportManager manages on demand report records.
| Field Summary | |
|---|---|
static java.lang.String |
STAUTS_STOPPED
Stopped report status (value="Stopped"). |
| Method Summary | |
|---|---|
OndemandReportRecord |
changeStatus(java.lang.String ondemandID,
java.lang.String status)
Changes the on demand report status. |
void |
clearUserOndemandList(java.lang.String userID,
boolean isStopTask)
Clears up all the users' records in the On demand Report Record List. |
java.lang.String |
getOndemandID(java.lang.String userID,
java.lang.String resultName)
Through this method, the user can get a record's On demand ID according to the result name. |
OndemandReportRecord |
getOndemandReportRecord(java.lang.String ondemandID)
Gets the on demand report record of the temporary result. |
java.util.Vector |
getOndemandReports(java.lang.String userID)
Gets on demand report records registered by the user. |
OndemandReportRecord |
notifyOndemandCompleted(java.lang.String ondemandID)
Notifies the on demand report runs over. |
void |
removeAllOndemandReport(java.lang.String userID)
Removes all the on demand report records of the specified user. |
void |
removeOndemandReport(java.lang.String ondemandResult)
Removes the on demand report record of the temporary result. |
void |
removeOndemandReport(java.lang.String ondemandID,
boolean isStop)
Removes the on demand report record of the temporary result. |
void |
removeOndemandReport(java.lang.String userID,
java.lang.String resultName,
boolean isStopTask)
Through this method, the user can delete a record from the On demand List according to the result name. |
| Field Detail |
|---|
static final java.lang.String STAUTS_STOPPED
| Method Detail |
|---|
java.util.Vector getOndemandReports(java.lang.String userID)
userID - the userID.
OndemandReportRecord getOndemandReportRecord(java.lang.String ondemandID)
ondemandID - the on demand ID.
OndemandReportRecord notifyOndemandCompleted(java.lang.String ondemandID)
ondemandID - the on demand ID.
OndemandReportRecord changeStatus(java.lang.String ondemandID,
java.lang.String status)
ondemandID - the on demand ID.status - the on demand status.
void removeOndemandReport(java.lang.String ondemandID,
boolean isStop)
ondemandID - the on demand ID.isStop - if to stop the running of the on demand reports.void removeOndemandReport(java.lang.String ondemandResult)
ondemandResult - the on demand report result file name.void removeAllOndemandReport(java.lang.String userID)
userID - the userID.
void clearUserOndemandList(java.lang.String userID,
boolean isStopTask)
userID - The ID of the user.isStopTask - Whether the server stops the tasks according to On demand ID if they are not completed.
java.lang.String getOndemandID(java.lang.String userID,
java.lang.String resultName)
userID - The ID of the user.resultName - The result name of the report.
void removeOndemandReport(java.lang.String userID,
java.lang.String resultName,
boolean isStopTask)
userID - The ID of the user.resultName - The result name of the report.isStopTask - Whether the server stops the tasks according to On demand ID if they are not completed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||