jet.server.api
Interface CompletedTaskTable


public interface CompletedTaskTable

Interface CompletedTaskTable contains records of completed tasks in the report server.


Method Summary
 void commit()
          Commit changes into the disk.
 java.util.Enumeration getAllCompletedTaskRecords()
          Get all the completed task records.
 CompletedTaskRecord getCompletedTaskRecord(java.lang.String recordID)
          Get CompletedTaskRecord with the record ID.
 java.util.Vector getCompletedTaskRecordsByReport(java.lang.String catalog, java.lang.String report)
          Get completed task records through the catalog and report.
 java.util.Vector getCompletedTaskRecordsByTaskID(java.lang.String taskID)
          Get completed task records with the task ID.
 java.util.Vector getCompletedTaskRecordsByUser(java.lang.String userId)
          Get completed task records through the user
 boolean removeAllCompletedTaskRecord()
          Remove All completed task record
 boolean removeCompletedTaskRecord(java.lang.String recordID)
          Remove a completed task record with the record ID.
 

Method Detail

getAllCompletedTaskRecords

java.util.Enumeration getAllCompletedTaskRecords()
                                                 throws RptServerException
Get all the completed task records.

Returns:
all the completed task records. The Enumeration contains CompletedTaskRecord objects.
Throws:
RptServerException - if a RptServerException occurs.

getCompletedTaskRecord

CompletedTaskRecord getCompletedTaskRecord(java.lang.String recordID)
                                           throws RptServerException
Get CompletedTaskRecord with the record ID.

Returns:
the CompletedTaskRecord.
Throws:
RptServerException - if a RptServerException occurs.
See Also:
CompletedTaskRecord

getCompletedTaskRecordsByTaskID

java.util.Vector getCompletedTaskRecordsByTaskID(java.lang.String taskID)
                                                 throws RptServerException
Get completed task records with the task ID.

Returns:
completed task records. The Vector contains CompletedTaskRecord objects.
Throws:
RptServerException - if a RptServerException occurs.
See Also:
CompletedTaskRecord

getCompletedTaskRecordsByReport

java.util.Vector getCompletedTaskRecordsByReport(java.lang.String catalog,
                                                 java.lang.String report)
                                                 throws RptServerException
Get completed task records through the catalog and report.

Returns:
completed task records. The Vector contains CompletedTaskRecord objects.
Throws:
RptServerException - if a RptServerException occurs.
See Also:
CompletedTaskRecord

getCompletedTaskRecordsByUser

java.util.Vector getCompletedTaskRecordsByUser(java.lang.String userId)
                                               throws RptServerException
Get completed task records through the user

Returns:
completed task records. The Vector contains CompletedTaskRecord objects.
Throws:
RptServerException - if a RptServerException occurs.
Since:
JREntserver V6
See Also:
CompletedTaskRecord

removeCompletedTaskRecord

boolean removeCompletedTaskRecord(java.lang.String recordID)
                                  throws RptServerException
Remove a completed task record with the record ID.

Parameters:
recordID - the record ID.
Returns:
if the completed task is removed.
Throws:
RptServerException - if a RptServerException occurs.

removeAllCompletedTaskRecord

boolean removeAllCompletedTaskRecord()
                                     throws RptServerException
Remove All completed task record

Returns:
if All completed task is removed.
Throws:
RptServerException - if a RptServerException occurs. modify by xie

commit

void commit()
            throws RptServerException
Commit changes into the disk.

Throws:
RptServerException - if a RptServerException occurs.