|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CompletedTaskTable
The CompletedTaskTable manages a table of CompletedTaskRecord.
It provides a variety of methods to do query and removal.
CompletedTaskRecord| Method Summary | |
|---|---|
void |
commit()
Commits changes into the disk. |
java.util.Enumeration |
getAllCompletedTaskRecords()
Gets all the completed task records. |
CompletedTaskRecord |
getCompletedTaskRecord(java.lang.String recordID)
Gets a CompletedTaskRecord specified by record ID. |
java.util.Vector |
getCompletedTaskRecordsByReport(java.lang.String catalog,
java.lang.String report)
Gets completed task records through the catalog and report. |
java.util.Vector |
getCompletedTaskRecordsByTaskID(java.lang.String taskID)
Gets completed task records below the specified task ID. |
java.util.Vector |
getCompletedTaskRecordsByUser(java.lang.String userId)
Gets completed task records for specified user. |
boolean |
removeAllCompletedTaskRecord()
Removes all completed task records. |
boolean |
removeCompletedTaskRecord(java.lang.String recordID)
Removes a completed task record with the specified record ID. |
| Method Detail |
|---|
java.util.Enumeration getAllCompletedTaskRecords()
throws RptServerException
CompletedTaskRecord
Enumeration of all the CompletedTaskRecord of the completed task.
RptServerException - if communication error or access database error.CompletedTaskRecord
CompletedTaskRecord getCompletedTaskRecord(java.lang.String recordID)
throws RptServerException
CompletedTaskRecord specified by record ID.
recordID - the record Id
null.
RptServerException - if communication error or access database error.CompletedTaskRecord
java.util.Vector getCompletedTaskRecordsByTaskID(java.lang.String taskID)
throws RptServerException
CompletedTaskRecord.
taskID - the task Id
CompletedTaskRecord of the completed task.
RptServerException - if communication error or access database error.CompletedTaskRecord
java.util.Vector getCompletedTaskRecordsByReport(java.lang.String catalog,
java.lang.String report)
throws RptServerException
CompletedTaskRecord.
catalog - the full path catalog name on the resource tree, for example, /SampleReports/Catalog1.catreport - the full path report name on the resource tree, for example, /SampleReports/Report1.cls
CompletedTaskRecord of the completed task.
RptServerException - if communication error or access database error.CompletedTaskRecord
java.util.Vector getCompletedTaskRecordsByUser(java.lang.String userId)
throws RptServerException
CompletedTaskRecord.
userId - owner of the completed task
CompletedTaskRecord of the completed task.
RptServerException - if communication error or access database error.CompletedTaskRecord
boolean removeCompletedTaskRecord(java.lang.String recordID)
throws RptServerException
recordID - the record ID to be removed.
true,
if the record ID does not exist return false.
RptServerException - if communication error or access database error.
boolean removeAllCompletedTaskRecord()
throws RptServerException
true,
if not all records are removed return false.
RptServerException - if communication error or access database error.
void commit()
throws RptServerException
RptServerException - if communication error or access database error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||