|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResultVersionTable
Interface ResultVersionTable contains result version records in
the report server.
| Method Summary | |
|---|---|
void |
commit()
Commits changes into the disk. |
java.util.Vector |
getResultVersionRecords(java.lang.String catalog,
java.lang.String report)
Deprecated. replaced by getResultVersionRecordsByCatalogReport(String userID,
String catalog, String report). |
java.util.Vector |
getResultVersionRecords(java.lang.String catalog,
java.lang.String report,
java.lang.String submitter)
Deprecated. replaced by getResultVersionRecords(String userID, String catalog, String report,
String submitter). |
java.util.Vector |
getResultVersionRecords(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.lang.String submitter)
Gets result versions through the catalog, the report and the submitter. |
java.util.Vector |
getResultVersionRecordsByCatalogReport(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
Gets result versions through the catalog and the report. |
ResultVersionRecord |
getVersion(java.lang.String versionID)
Gets the result version through the version ID. |
void |
removeVersion(java.lang.String versionID)
Deprecated. since version 11.1, no replacement. |
| Method Detail |
|---|
java.util.Vector getResultVersionRecords(java.lang.String catalog,
java.lang.String report)
throws RptServerException
getResultVersionRecordsByCatalogReport(String userID,
String catalog, String report).
catalog - the catalog path in the report server, for example, /SunVMDemo/SunVMDemo.cat.report - the report name, for example, invoice.cls.
Vector contains ResultVersionRecord objects.
RptServerException - if an RptServerException occurs.ResultVersionRecord
java.util.Vector getResultVersionRecordsByCatalogReport(java.lang.String userID,
java.lang.String catalog,
java.lang.String report)
throws RptServerException
userID - the caller of this method.catalog - the catalog path in the report server, for example, /SunVMDemo/SunVMDemo.cat.report - the report name, for example, invoice.cls.
Vector contains ResultVersionRecord objects.
RptServerException - if an RptServerException occurs.ResultVersionRecord
java.util.Vector getResultVersionRecords(java.lang.String catalog,
java.lang.String report,
java.lang.String submitter)
throws RptServerException
getResultVersionRecords(String userID, String catalog, String report,
String submitter).
catalog - the catalog path in the report server, for example, /SunVMDemo/SunVMDemo.cat.report - the report name, for example, invoice.cls.submitter - the submitter of the result versions.
Vector contains ResultVersionRecord objects.
RptServerException - if an RptServerException occurs.ResultVersionRecord
java.util.Vector getResultVersionRecords(java.lang.String userID,
java.lang.String catalog,
java.lang.String report,
java.lang.String submitter)
throws RptServerException
userID - the caller of this method.catalog - the catalog path in the report server, for example, /SunVMDemo/SunVMDemo.cat.report - the report name, for example, invoice.cls.submitter - the submitter of the result versions.
Vector contains ResultVersionRecord objects.
RptServerException - if an RptServerException occurs.ResultVersionRecord
ResultVersionRecord getVersion(java.lang.String versionID)
throws RptServerException
versionID - the result version ID.
RptServerException - if an RptServerException occurs.ResultVersionRecord
void removeVersion(java.lang.String versionID)
throws RptServerException
Notice: As of server 6, when you want to remove a version, version id and user
id are required, so an RptServerException (encapsulated a NoPrivilegeException) will be thrown
during invoking this method, except user sets "No Security Checking" as true. You should
use the method removeVersion(String userID, String versionID) in ResourceManager to remove a version.
versionID - the result version ID.
RptServerException - if an RptServerException occurs.ResourceManager.removeVersion(String userID, String versionID);
void commit()
throws RptServerException
RptServerException - if an RptServerException occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||