public interface RASConfigurationManager extends EntityManager
| Modifier and Type | Method and Description |
|---|---|
RASTargetDatabaseEntry |
createTargetDatabase(java.lang.String targetDatabaseName, java.lang.String displayName, java.lang.String description, java.lang.String address, java.util.Properties connectionProperties, java.lang.String schema)
Create a configuration for RAS target database.
|
void |
deleteTargetDatabase(java.lang.String targetDatabaseName)
Delete configuration for a given RAS target database.
|
RASTargetDatabaseEntry |
getTargetDatabase(java.lang.String targetDatabaseName)
Get Instance of target database Configuration, by target database Name.
|
java.util.List<RASTargetDatabaseEntry> |
getTargetDatabases(RASTargetDatabaseSearchQuery query)
Get a set of RASTargetDatabase entries base on search pattern
|
void |
modifyTargetDatabase(RASTargetDatabaseEntry config)
Update a target database configuration.
|
resolveReferenceRASTargetDatabaseEntry createTargetDatabase(java.lang.String targetDatabaseName, java.lang.String displayName, java.lang.String description, java.lang.String address, java.util.Properties connectionProperties, java.lang.String schema) throws InvalidArgumentException, PolicyStoreException
targetDatabaseName - - Name of a target database configurationdisplayName - - display name to be used for target database, null to use same as targetDatabaseNamedescription - - Description as required, null if noneaddress - - it could be the JNDI name of data source or JDBC URL which is used to connect to target databaseconnectionProperties - - properties which is used in connecting to target database using jdbc url.schema - - the schema into which RAS policies to be written. If not specified the user which is used to connect to RAS DB is used as default schema.ConfigurationAlreadyExistsException - - if target database with the name already existsInvalidArgumentException - - on invalid parameterPolicyStoreException - - check message for specific policy store issue
void deleteTargetDatabase(java.lang.String targetDatabaseName)
throws InvalidArgumentException,
PolicyStoreException
targetDatabaseName - - the target database Name to be deletedConfigurationNotFoundException - if Configuration does not existInvalidArgumentException - - if invalid parameterPolicyStoreException - - check message for specific policy store issueRASTargetDatabaseEntry getTargetDatabase(java.lang.String targetDatabaseName) throws InvalidArgumentException, PolicyStoreException
smConfigurationId - - contains the unique IDInvalidArgumentException - - if invalid parameterConfigurationNotFoundException - - if the specified target database does not existPolicyStoreException - - check message for specific policy store issuejava.util.List<RASTargetDatabaseEntry> getTargetDatabases(RASTargetDatabaseSearchQuery query) throws PolicyStoreException, InvalidArgumentException
query - - instance of configuration search query patternInvalidArgumentException - - on invalid parameter.PolicyStoreException - - check message for specific policy store issuevoid modifyTargetDatabase(RASTargetDatabaseEntry config) throws PolicyStoreException, InvalidArgumentException
config - - target database Configuration to be updatedConfigurationNotFoundException - if Configuration does not existInvalidArgumentException - - on invalid parameter.PolicyStoreException - - check message for specific policy store issue