public interface DynamicConnectionService
DynamicConnectionProvider).
When run a report
getAvailableDynamicConnections(String, String, int, String)
getDynamicConnection(String, String, int, String, String) | Modifier and Type | Method and Description |
|---|---|
DynamicConnection[] |
getAvailableDynamicConnections(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource)
Gets available dynamic connections to let end-user select one from them (Advanced Run & Schedule Run).
|
DynamicConnection[] |
getAvailableDynamicConnections(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
DynamicConnection originalCatConnection)
Gets available dynamic connections to let end-user select one from them (Advanced Run & Schedule Run).
|
DynamicConnection[] |
getAvailableDynamicConnections(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
java.lang.String connName)
Gets available dynamic connections to let end-user select one from them (Advanced Run & Schedule Run).
|
DynamicConnection[] |
getAvailableDynamicConnections(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
java.lang.String connName,
DynamicConnection originalCatConnection)
Gets available dynamic connections to let end-user select one from them (Advanced Run & Schedule Run).
|
DynamicConnection |
getDynamicConnection(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
java.lang.String dynamicConnectionId)
Gets the dynamic connection for report runtime with the specified dynamic connection identifier, or
choose a dynamic connection from available connections (if without specified
dynamicConnectionId |
DynamicConnection |
getDynamicConnection(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
java.lang.String dynamicConnectionId,
DynamicConnection originalCatConnection)
Gets the dynamic connection for report runtime with the specified dynamic connection identifier, or
choose a dynamic connection from available connections (if without specified
dynamicConnectionId |
DynamicConnection |
getDynamicConnection(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
java.lang.String connName,
java.lang.String dynamicConnectionId)
Gets the dynamic connection for report runtime with the specified dynamic connection identifier, or
choose a dynamic connection from available connections (if without specified
dynamicConnectionId |
DynamicConnection |
getDynamicConnection(java.lang.String userName,
java.lang.String catalog,
int catVerNumber,
java.lang.String datasource,
java.lang.String connName,
java.lang.String dynamicConnectionId,
DynamicConnection originalCatConnection)
Gets the dynamic connection for report runtime with the specified dynamic connection identifier, or
choose a dynamic connection from available connections (if without specified
dynamicConnectionId |
DynamicConnection[] getAvailableDynamicConnections(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource) throws RptServerException
userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version number, -1 means latest version.datasource - the datasoruce name in the catalogRptServerException - catalog not exists.DynamicConnection[] getAvailableDynamicConnections(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, java.lang.String connName) throws RptServerException
userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version number, -1 means latest version.datasource - the datasoruce name in the catalogconnName - the connection name in the datasoruceRptServerException - catalog not exists.DynamicConnection[] getAvailableDynamicConnections(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, DynamicConnection originalCatConnection) throws RptServerException
userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version number, -1 means latest version.datasource - the datasoruce name in the catalogoriginalCatConnection - the original connection information which defined in the catalog, must not be null.RptServerException - catalog not exists.DynamicConnection[] getAvailableDynamicConnections(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, java.lang.String connName, DynamicConnection originalCatConnection) throws RptServerException
userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version number, -1 means latest version.datasource - the datasoruce name in the catalogconnName - the connection name in the data sourceoriginalCatConnection - the original connection information which defined in the catalog, must not be null.RptServerException - catalog not exists.DynamicConnection getDynamicConnection(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, java.lang.String dynamicConnectionId) throws RptServerException
dynamicConnectionId).userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version numberdatasource - the datasource name in the catalogdynamicConnectionId - the dynamic connection identifier, null to get default dynamic connection(for Direct Run)null the specified dynamicConnectionId not exists or there is not any dynamic connections.RptServerException - catalog not exists, user not exists.DynamicConnection getDynamicConnection(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, java.lang.String connName, java.lang.String dynamicConnectionId) throws RptServerException
dynamicConnectionId).userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version numberdatasource - the datasource name in the catalogconnName - the connection name in the datasourcedynamicConnectionId - the dynamic connection identifier, null to get default dynamic connection(for Direct Run)null the specified dynamicConnectionId not exists or there is not any dynamic connections.RptServerException - catalog not exists, user not exists.DynamicConnection getDynamicConnection(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, java.lang.String dynamicConnectionId, DynamicConnection originalCatConnection) throws RptServerException
dynamicConnectionId).userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version numberdatasource - the datasource name in the catalogdynamicConnectionId - the dynamic connection identifier, null to get default dynamic connection(for Direct Run)originalCatConnection - the original connection information which defined in the catalog, must not be null.null the specified dynamicConnectionId not exists or there is not any dynamic connections.RptServerException - catalog not exists, user not exists.DynamicConnection getDynamicConnection(java.lang.String userName, java.lang.String catalog, int catVerNumber, java.lang.String datasource, java.lang.String connName, java.lang.String dynamicConnectionId, DynamicConnection originalCatConnection) throws RptServerException
dynamicConnectionId).userName - the server logon userNamecatalog - the catalog resource pathcatVerNumber - the catalog version numberdatasource - the datasource name in the catalogconnName - the connection name in the data sourcedynamicConnectionId - the dynamic connection identifier, null to get default dynamic connection(for Direct Run)originalCatConnection - the original connection information which defined in the catalog, must not be null.null the specified dynamicConnectionId not exists or there is not any dynamic connections.RptServerException - catalog not exists, user not exists.