|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteCompletedTaskTable
The RemoteCompletedTaskTable interface
provides methods to access the completed task records via RMI.
This is an RMI-based interface.
Invoking the methods of this interface
will make an RMI call to the associated JReport Server
jet.server.api.CompletedTaskTable}.,
CompletedTaskTable,
CompletedTaskRecord| Method Summary | |
|---|---|
void |
commit()
Commits changes into the disk. |
java.util.Vector |
getAllCompletedTaskRecords()
Gets all the completed task records. |
CompletedTaskRecord |
getCompletedTaskRecord(java.lang.String recordID)
Gets CompletedTaskRecord with the 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 the completed task records below the specified task ID. |
java.util.Vector |
getCompletedTaskRecordsByUser(java.lang.String userId)
Gets completed task records for the 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.Vector getAllCompletedTaskRecords()
throws java.rmi.RemoteException,
RptServerException
CompletedTaskRecord.
Vector of all the CompletedTaskRecord of the completed task.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
CompletedTaskRecord getCompletedTaskRecord(java.lang.String recordID)
throws java.rmi.RemoteException,
RptServerException
CompletedTaskRecord with the record ID.
recordID - The record ID.
null.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
java.util.Vector getCompletedTaskRecordsByTaskID(java.lang.String taskID)
throws java.rmi.RemoteException,
RptServerException
CompletedTaskRecord.
taskID - The task ID.
CompletedTaskRecord of the completed task.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
java.util.Vector getCompletedTaskRecordsByReport(java.lang.String catalog,
java.lang.String report)
throws java.rmi.RemoteException,
RptServerException
CompletedTaskRecord.
catalog - The full path catalog name on resource tree, such as /SampleReports/Catalog1.cat.report - The full path report name on resource tree, such as /SampleReports/Report1.cls.
CompletedTaskRecord of the completed task.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
java.util.Vector getCompletedTaskRecordsByUser(java.lang.String userId)
throws java.rmi.RemoteException,
RptServerException
CompletedTaskRecord.
userId - Owner of the completed task.
CompletedTaskRecord of the completed task.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
boolean removeCompletedTaskRecord(java.lang.String recordID)
throws java.rmi.RemoteException,
RptServerException
recordID - The record ID to be removed.
true;
if the record id does not exist, returns false.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
boolean removeAllCompletedTaskRecord()
throws java.rmi.RemoteException,
RptServerException
true;
if not all records are removed, returns false.
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
void commit()
throws java.rmi.RemoteException,
RptServerException
java.rmi.RemoteException - If communication-related error occurs during RMI call execution.
RptServerException - If database error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||