Package com.basis.api.admin.internal
Class BBjAdminSimpleDatabase
java.lang.Object
com.basis.api.admin.internal.BBjAdminSimpleCommitPropWriter
com.basis.api.admin.internal.BBjAdminSimpleDatabase
- All Implemented Interfaces:
BBjAdminCommitPropertyWriter,BBjAdminCommitWriter,BBjAdminDatabase,BBjAdminPropertyReader,BBjAdminPropertyWriter,Serializable,Comparable<BBjAdminDatabase>,Remote
public abstract class BBjAdminSimpleDatabase
extends BBjAdminSimpleCommitPropWriter
implements BBjAdminDatabase
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from interface com.basis.api.admin.BBjAdminDatabase
BBjAdminDatabase.AccessPolicy, BBjAdminDatabase.DatabaseType, BBjAdminDatabase.DateHandler, BBjAdminDatabase.UserType -
Field Summary
Fields inherited from interface com.basis.api.admin.BBjAdminDatabase
ACCESS_POLICY, ADMIN_USERS, ADMINUSERS, ADVISORY_LOCKING, ADVISORYLOCKING, ANALYSIS_FILTER_NO_OVERLAPS, ANALYSIS_FILTER_NO_SINGLES, ANALYSIS_FILTER_NONE, ANALYSIS_FILTER_UNINDEXED_ONLY, AUTO_ANALYZE, AUTO_ANALYZE_TABLES, AUTOCOMMIT, CHARSET, CREATE_TABLE_TYPE, DATA, DATABASE, DATE_COLUMNS_SORTED, DATE_TYPE_DEFS, DEFAULT_DATE_FORMAT, DEFAULT_DATE_TYPEDEF, DEFAULT_NUMERIC_SCALE, DICTIONARY, ENFORCE_VARCHAR_LENGTH, ESQL_COLLATE, EXPORT_FORMAT_HTML, EXPORT_FORMAT_JSON, EXPORT_FORMAT_SQL, FULL_FEATURED_CREATE_VIEW, HANDLE_VARIABLE_LENGTH_PADDED_VALUES, LINKED_CONNECT_PROPERTIES, LINKED_DRIVER, LINKED_PASSWORD, LINKED_SHOULD_RESOLVE_GLOBALS, LINKED_URL, LINKED_USER, LOCALE, LOGFILE, LOGLEVEL, NUMERIC_EMPTY_STRING_AS_ZERO, NUMERIC_STRIP_SPACES, OBJECT_LEVEL_PERMISSIONS, OPTIMIZED_DATE_COLUMNS, OPTIMIZEDATECOLUMNS, READ_ONLY, READONLY, REMOTE_ACCESS_POLICY, REMOTE_DENY_USERS, REMOTE_RO_USERS, REMOTE_RW_USERS, REMOTE_WHITELIST, RO_USERS, ROUSERS, RW_USERS, RWUSERS, SPROC_CLASSPATH, SPROC_DEBUG, SPROC_RUN_AS_USER, SQL_FACTORY, SQL_FACTORY_SSCP, STATEMENT_TIMEOUT, STRICT_KEY_CHECKING, STRICTKEYCHECKING, TIMEOUT, TRUNCATE_IF_TOO_LONG, TRUNCATEIFTOOLONG, TXN_ISOLATION, TYPE -
Constructor Summary
ConstructorsConstructorDescriptionBBjAdminSimpleDatabase(BBjAdminDatabase p_commit) BBjAdminSimpleDatabase(Map<String, Object> p_properties, Map<String, BBjAdminType> p_types, Set<String> p_readOnly) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUser(BBjAdminDatabase.UserType p_type, String p_user) Add a single user of a specified type.Create a new date handler.voidcreateRole(String p_roleName) Creates a new role on the database used for grouping multiple users for the purpose of granting and revoking prvileges.Get the current access policy.Get the set of date handlers.getType()Get the database type.getUsers(BBjAdminDatabase.UserType p_type) Get the set of users of a specified type.voidremoveUser(BBjAdminDatabase.UserType p_type, String p_user) Remove a single user of a specified type.voidsetAccessPolicy(BBjAdminDatabase.AccessPolicy p_policy) Set the current access policy.voidsetDateHandlers(BBjAdminSet<BBjAdminDatabase.DateHandler> p_handlers) Set the set of date handlers.voidsetType(BBjAdminDatabase.DatabaseType p_type) Set the database type.voidsetUsers(BBjAdminDatabase.UserType p_type, Set<String> p_users) Set all of the users of a specified type.Methods inherited from class com.basis.api.admin.internal.BBjAdminSimpleCommitPropWriter
addType, canAddNewProperties, canClear, checkPermission, checkValueEqual, clear, clearProperties, clearProperty, commit, contains, contains, getBoolean, getChangedProperties, getClearedProperties, getDouble, getInt, getList, getLong, getOriginalProperties, getProperties, getReadOnly, getString, getType, getTypes, getValue, hasChanged, isReadOnly, refresh, rollback, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.basis.api.admin.BBjAdminCommitPropertyWriter
getChangedProperties, getClearedProperties, getOriginalPropertiesMethods inherited from interface com.basis.api.admin.BBjAdminCommitWriter
commit, rollbackMethods inherited from interface com.basis.api.admin.BBjAdminDatabase
cleanupCaches, close, createPrivilege, createProcedure, createProcedure, createRole, createSequence, createTable, createTypeDef, createView, createView, dropProcedure, dropProcedure, dropRole, dropSequence, dropTable, dropTable, dropTypeDef, dropView, executeSQL, export, getConnections, getDescriptiveProperties, getDictionaryMigrationInfo, getMetadataDefinition, getPrivileges, getProcedure, getProcedures, getQueryAnalysis, getQueryAnalysis, getQueryData, getRoleMembers, getRoles, getSanity, getSanity, getSequence, getSequences, getStandardPropertyNames, getTable, getTable, getTableNames, getTables, getTablesSimpleInfo, getTypeDef, getTypeDefs, getTypeDefs, getView, getViews, grant, isUserProperty, removeTableSanityMessage, resolveGlobals, revoke, setPrivileges, terminateAnalysisJobs, updateDatabaseMethods inherited from interface com.basis.api.admin.BBjAdminPropertyReader
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValueMethods inherited from interface com.basis.api.admin.BBjAdminPropertyWriter
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValueMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
BBjAdminSimpleDatabase
-
BBjAdminSimpleDatabase
- Throws:
BBjAdminException
-
-
Method Details
-
addUser
Description copied from interface:BBjAdminDatabaseAdd a single user of a specified type.- Specified by:
addUserin interfaceBBjAdminDatabase- Parameters:
p_type- Type of user.p_user- User name to add.- Throws:
BBjAdminException
-
createRole
Description copied from interface:BBjAdminDatabaseCreates a new role on the database used for grouping multiple users for the purpose of granting and revoking prvileges.- Specified by:
createRolein interfaceBBjAdminDatabase- Throws:
BBjAdminException
-
getUsers
Description copied from interface:BBjAdminDatabaseGet the set of users of a specified type.- Specified by:
getUsersin interfaceBBjAdminDatabase- Parameters:
p_type- Type of users.- Throws:
BBjAdminException
-
removeUser
Description copied from interface:BBjAdminDatabaseRemove a single user of a specified type.- Specified by:
removeUserin interfaceBBjAdminDatabase- Parameters:
p_type- Type of user.p_user- User name to remove.- Throws:
BBjAdminException
-
setUsers
public void setUsers(BBjAdminDatabase.UserType p_type, Set<String> p_users) throws BBjAdminException Description copied from interface:BBjAdminDatabaseSet all of the users of a specified type.- Specified by:
setUsersin interfaceBBjAdminDatabase- Parameters:
p_type- Type of users.p_users- Set of users.- Throws:
BBjAdminException
-
getAccessPolicy
Description copied from interface:BBjAdminDatabaseGet the current access policy.- Specified by:
getAccessPolicyin interfaceBBjAdminDatabase- Throws:
BBjAdminException
-
setAccessPolicy
Description copied from interface:BBjAdminDatabaseSet the current access policy.- Specified by:
setAccessPolicyin interfaceBBjAdminDatabase- Parameters:
p_policy- Policy to set.- Throws:
BBjAdminException
-
getType
Description copied from interface:BBjAdminDatabaseGet the database type.- Specified by:
getTypein interfaceBBjAdminDatabase- Throws:
BBjAdminException
-
setType
Description copied from interface:BBjAdminDatabaseSet the database type.- Specified by:
setTypein interfaceBBjAdminDatabase- Throws:
BBjAdminException
-
createDateHandler
Description copied from interface:BBjAdminDatabaseCreate a new date handler. It has no effect until it is set and committed.- Specified by:
createDateHandlerin interfaceBBjAdminDatabase- Throws:
BBjAdminException
-
getDateHandlers
Description copied from interface:BBjAdminDatabaseGet the set of date handlers.- Specified by:
getDateHandlersin interfaceBBjAdminDatabase- Throws:
BBjAdminException
-
setDateHandlers
public void setDateHandlers(BBjAdminSet<BBjAdminDatabase.DateHandler> p_handlers) throws BBjAdminException Description copied from interface:BBjAdminDatabaseSet the set of date handlers.- Specified by:
setDateHandlersin interfaceBBjAdminDatabase- Throws:
BBjAdminException
-