|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DynamicConnectionManager
Manage dynamic connections. Users can call jet.server.api.AdminService.getDynamicConnectionManager() to get the DynamicConnectionManager object. Users can call the method addDynamicConnection(鈥� to add a new dynamic connection by program. Also can call the method updateDynamicConnection(...) to update a exists dynamic connection by program.
| Method Summary | |
|---|---|
int |
addDynamicConnection(DynamicConnectionRecord record,
java.lang.String submitter)
Add a new dynamic connection. |
java.util.List<DynamicConnectionRecord> |
getAllDynamicConnections(java.lang.String orgName,
java.lang.String submitter)
Gets all dynamic connections which are visible for the specified organization. |
java.util.List<DynamicConnectionRecord> |
getDynamicConnections(java.lang.String orgName,
java.lang.String catalog,
java.lang.String datasource,
java.lang.String submitter)
Gets dynamic connections of the specified organization, catalog and datasource. |
java.util.List<DynamicConnectionRecord> |
getDynamicConnections(java.lang.String orgName,
java.lang.String catalog,
java.lang.String datasource,
java.lang.String connectionName,
java.lang.String submitter)
Gets dynamic connections of the specified organization, catalog, datasource and connection name. |
void |
removeDynamicConnection(int recordId,
java.lang.String submitter)
Remove the dynamic connection which identified by the DynamicConnectionRecord.getRecordId(). |
void |
updateDynamicConnection(DynamicConnectionRecord record,
java.lang.String submitter)
Update the dynamic connection which identified by the record.dynamicConnectionId. All dynamic connection properties (including UserMappings) will be replaced by the specified DynamicConnectionRecord. |
| Method Detail |
|---|
java.util.List<DynamicConnectionRecord> getAllDynamicConnections(java.lang.String orgName,
java.lang.String submitter)
throws RptServerException
orgName - the organization name. null represents none-organization.submitter - the submitter user id.
RptServerException - storage IOEexception.
java.util.List<DynamicConnectionRecord> getDynamicConnections(java.lang.String orgName,
java.lang.String catalog,
java.lang.String datasource,
java.lang.String submitter)
throws RptServerException
orgName - the organization name, null represents none-organization.submitter - the submitter user id.catalog - the catalog resource pathdatasource - the datasource name in the catalog.
RptServerException - storage IOEexception.
java.util.List<DynamicConnectionRecord> getDynamicConnections(java.lang.String orgName,
java.lang.String catalog,
java.lang.String datasource,
java.lang.String connectionName,
java.lang.String submitter)
throws RptServerException
orgName - the organization name, null represents none-organization.submitter - the submitter user id.catalog - the catalog resource pathdatasource - the datasource name in the catalog.connectionName - the connection name in the catalog.
RptServerException - storage IOEexception.
int addDynamicConnection(DynamicConnectionRecord record,
java.lang.String submitter)
throws RptServerException
record - submitter - the submitter user id.
RptServerException - storage IOEexception or specified information not satisfy storage constrains see DynamicConnectionRecord, DynamicConnectionUserMapping.
void updateDynamicConnection(DynamicConnectionRecord record,
java.lang.String submitter)
throws RptServerException
record - submitter - the submitter user id.
RptServerException - storage IOEexception,
or specified information not satisfy storage constrains see DynamicConnectionRecord, DynamicConnectionUserMapping.
void removeDynamicConnection(int recordId,
java.lang.String submitter)
throws RptServerException
DynamicConnectionRecord.getRecordId().
recordId - the dynamic connection record id to be removed.submitter - the submitter user id.
RptServerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||