public interface RASConfigurationBindingManager extends EntityManager
| Modifier and Type | Method and Description |
|---|---|
void |
bindTargetDatabase(java.lang.String targetDatabaseName, java.lang.String appName)
Create bindings between an application and a target database.
|
java.util.List<RASApplicationPolicy> |
getBoundRASApplications(java.lang.String targetDatabaseName)
Retrieve application names bound to a target database.
|
java.util.List<RASTargetDatabaseEntry> |
getBoundTargetDatabases(java.lang.String appName)
Retrieve target database Entries bound to a given application.
|
void |
unbindTargetDatabase(java.lang.String targetDatabaseName, java.lang.String appName)
Remove binding relationship between an application and a target database.
|
resolveReference
void bindTargetDatabase(java.lang.String targetDatabaseName,
java.lang.String appName)
throws InvalidArgumentException,
PolicyObjectNotFoundException,
PolicyStoreException
targetDatabaseName - - target database name to bind to an applicationappName - - application policy name to bindInvalidArgumentException - - if appName and/or targetDatabaseName is null or emptyPolicyObjectNotFoundException - - if application does not existConfigurationNotFoundException - - if target database do not existConfiguratationAlreadyBoundException - if the specified application already binds to the specified target databasePolicyStoreException - - check message for specific policy store issue
void unbindTargetDatabase(java.lang.String targetDatabaseName,
java.lang.String appName)
throws InvalidArgumentException,
PolicyObjectNotFoundException,
PolicyStoreException
targetDatabaseName - - target database name to unbind from an application.appName - - application policy name to unbind fromInvalidArgumentException - - if appName and/or targetDatabaseName is null or emptyPolicyObjectNotFoundException - - if application does not existConfigurationNotFoundException - - if target database do not existPolicyStoreException - - check message for specific policy store issuejava.util.List<RASTargetDatabaseEntry> getBoundTargetDatabases(java.lang.String appName) throws InvalidArgumentException, PolicyObjectNotFoundException, PolicyStoreException
appName - application policy nameInvalidArgumentException - - if appName is null or empty stringPolicyObjectNotFoundException - - if application does not exist.PolicyStoreException - - check message for specific policy store issuejava.util.List<RASApplicationPolicy> getBoundRASApplications(java.lang.String targetDatabaseName) throws InvalidArgumentException, PolicyStoreException
targetDatabaseName - - target database name.InvalidArgumentException - - if smName is null or empty stringConfigurationNotFoundException - - if target database do not exist.PolicyStoreException - - check message for specific policy store issue