public interface CompletedTaskTable
CompletedTaskTable manages a table of CompletedTaskRecord.
It provides a variety of methods to do query and removal.CompletedTaskRecord| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.Enumeration getAllCompletedTaskRecords()
throws RptServerException
CompletedTaskRecordEnumeration of all the CompletedTaskRecord of the completed task.RptServerException - if communication error or access database error.CompletedTaskRecordCompletedTaskRecord getCompletedTaskRecord(java.lang.String recordID) throws RptServerException
CompletedTaskRecord specified by record ID.recordID - the record Idnull.RptServerException - if communication error or access database error.CompletedTaskRecordjava.util.Vector getCompletedTaskRecordsByTaskID(java.lang.String taskID)
throws RptServerException
CompletedTaskRecord.taskID - the task IdCompletedTaskRecord of the completed task.RptServerException - if communication error or access database error.CompletedTaskRecordjava.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.clsCompletedTaskRecord of the completed task.RptServerException - if communication error or access database error.CompletedTaskRecordjava.util.Vector getCompletedTaskRecordsByUser(java.lang.String userId)
throws RptServerException
CompletedTaskRecord.userId - owner of the completed taskCompletedTaskRecord of the completed task.RptServerException - if communication error or access database error.CompletedTaskRecordboolean 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.