dbXML API

## Uses of Class
com.dbxml.db.core.DBException

Packages that use DBException
com.dbxml.db.common.adapters: Defines a set of Adapter classes that allow dbXML to persist objects other than dbXML DocumentTable instances.
com.dbxml.db.common.btree: Defines the dbXML BTree implementation as well as the low-level Paged file system.
com.dbxml.db.common.filers: Defines the standard dbXML Filer implementations which include MemFiler and FSFiler.
com.dbxml.db.common.fulltext: Defines the dbXML Full Text Indexer and a basic QueryResolver for Full Text retrieval.
com.dbxml.db.common.indexers: Defines the dbXML standard Indexer implementations which consist of NameIndexer and ValueIndexer.
com.dbxml.db.common.scripting: Defines the dbXML Scripting package.
com.dbxml.db.common.security: Implements the standard SecurityManager classes.
com.dbxml.db.core: This is the top-level package for all dbXML Core functionality.
com.dbxml.db.core.adapter: Defines the Adapter interface as well as an abstract Adapter implementation that can be built from.
com.dbxml.db.core.data: Defines and Implements several basic data types and container interfaces, including Key, Value, DocumentSet and NodeSet.
com.dbxml.db.core.extension: Defines the dbXML Extension interface and implements ExtensionManager, a reflection/invokation system and a Simple Extension implementation.
com.dbxml.db.core.filer: Defines the dbXML Filer interfaces.
com.dbxml.db.core.indexer: Defines the dbXML Indexer interfaces
com.dbxml.db.core.query: Implements the dbXML QueryEngine and XPathQueryResolver.
com.dbxml.db.core.security: Implements the classes and interfaces necessary to support Access Control in dbXML.
com.dbxml.db.core.transaction: This is the package for dbXML Transaction functionality.
com.dbxml.db.core.trigger: Defines the dbXML Trigger interface and implements TriggerManager, several Trigger-related Exceptions and a Simple Trigger implementation.
com.dbxml.db.enterprise.sync: Implements the Extensions and Triggers required to perform seemless synchronization between servers.
com.dbxml.db.server.labrador: This package contains all of the classes that comprise the dbXML server Labrador utilities.

Uses of DBException in com.dbxml.db.common.adapters

Methods in com.dbxml.db.common.adapters that throw DBException
`void` `XMLSerializableAdapter.setObject(Transaction tx, java.lang.Object key, XMLSerializable obj)` setObject sets an XMLSerializable object in the Collection based on the provided Key.
`Key` `XMLSerializableAdapter.insertObject(Transaction tx, XMLSerializable obj)` insertObject inserts an XMLSerializable object into the Collection and returns a newly generated Key.
`void` `XMLSerializableAdapter.insertObject(Transaction tx, java.lang.Object key, XMLSerializable obj)` insertObject inserts an XMLSerializable object into the Collection based on the specified Key.
`XMLSerializable` `XMLSerializableAdapter.getObject(Transaction tx, java.lang.Object key)` getObject instantiates and returns an XMLSerializable object based on the provided Key.
`org.xml.sax.ContentHandler` `SAXAdapter.setDocument(Transaction tx, java.lang.Object key)` setDocument sets a Document using SAX events that are fed to the returned ContentHandler.
`org.xml.sax.ContentHandler` `SAXAdapter.insertDocument(Transaction tx)` setDocument sets a Document using SAX events that are fed to the returned ContentHandler.
`org.xml.sax.ContentHandler` `SAXAdapter.insertDocument(Transaction tx, java.lang.Object key)` insertDocument sets a Document using SAX events that are fed to the returned ContentHandler.
`void` `SAXAdapter.getDocument(Transaction tx, java.lang.Object key, org.xml.sax.ContentHandler handler)` getDocument instantiates and returns a DOM Document based on the provided Key.
`void` `JAXBElementAdapter.setObject(Transaction tx, java.lang.Object key, javax.xml.bind.Element obj)` setObject sets an JAXB Element object in the Collection based on the provided Key.
`Key` `JAXBElementAdapter.insertObject(Transaction tx, javax.xml.bind.Element obj)` insertObject inserts an JAXB Element object into the Collection and returns a newly generated Key.
`void` `JAXBElementAdapter.insertObject(Transaction tx, java.lang.Object key, javax.xml.bind.Element obj)` insertObject inserts an JAXB Element object into the Collection based on the specified Key.
`javax.xml.bind.Element` `JAXBElementAdapter.getObject(Transaction tx, java.lang.Object key)` getObject instantiates and returns a JAXB Element object based on the provided Key.
`void` `DOMAdapter.setDocument(Transaction tx, java.lang.Object key, org.w3c.dom.Document doc)` setDocument sets a DOM Document in the Collection based on the provided Key.
`Key` `DOMAdapter.insertDocument(Transaction tx, org.w3c.dom.Document doc)` insertDocument inserts a DOM Document into the Collection and returns a newly generated Key.
`void` `DOMAdapter.insertDocument(Transaction tx, java.lang.Object key, org.w3c.dom.Document doc)` insertDocument inserts a DOM Document into the Collection based on the specified Key.
`org.w3c.dom.Document` `DOMAdapter.getDocument(Transaction tx, java.lang.Object key)` getDocument instantiates and returns a DOM Document based on the provided Key.

Uses of DBException in com.dbxml.db.common.btree

Subclasses of DBException in com.dbxml.db.common.btree
`class` `BTreeCorruptException` A BTreeCorruptException is thrown by the BTree if the BTree appears to be corrupted in some way.
`class` `BTreeException` A BTreeException is thrown by the BTree if an exception occurs in the managing of the BTree.
`class` `BTreeNotFoundException` A BTreeNotFoundException is thrown by the BTree if a Value can't be found in the BTree.

Methods in com.dbxml.db.common.btree that throw DBException
`boolean` `Paged.create()`
`boolean` `Paged.open()`
`boolean` `Paged.close()`
`boolean` `Paged.drop()`
`void` `Paged.flush(Transaction tx)`
`void` `Paged.Page.read(Transaction tx)`
`void` `Paged.Page.write(Transaction tx)`
`boolean` `BTreeFiler.create()`
`RecordMetaData` `BTreeFiler.getRecordMetaData(Transaction tx, Key key)`
`Record` `BTreeFiler.readRecord(Transaction tx, Key key)`
`boolean` `BTreeFiler.writeRecord(Transaction tx, Key key, Value value)`
`boolean` `BTreeFiler.deleteRecord(Transaction tx, Key key)`
`long` `BTreeFiler.getRecordCount(Transaction tx)`
`RecordSet` `BTreeFiler.getRecordSet(Transaction tx)`
`boolean` `BTree.open()`
`boolean` `BTree.create()`
`long` `BTree.addValue(Transaction tx, Value value, long pointer)` addValue adds a Value to the BTree and associates a pointer with it.
`long` `BTree.removeValue(Transaction tx, Value value)` removeValue removes a Value from the BTree and returns the associated pointer for it.

Uses of DBException in com.dbxml.db.common.filers

Methods in com.dbxml.db.common.filers that throw DBException
`RecordMetaData` `MemFiler.getRecordMetaData(Transaction tx, Key key)`
`Record` `MemFiler.readRecord(Transaction tx, Key key)`
`boolean` `MemFiler.writeRecord(Transaction tx, Key key, Value value)`
`boolean` `MemFiler.deleteRecord(Transaction tx, Key key)`
`long` `MemFiler.getRecordCount(Transaction tx)`
`RecordSet` `MemFiler.getRecordSet(Transaction tx)`
`RecordMetaData` `FSFiler.getRecordMetaData(Transaction tx, Key key)`
`Record` `FSFiler.readRecord(Transaction tx, Key key)`
`boolean` `FSFiler.writeRecord(Transaction tx, Key key, Value value)`
`boolean` `FSFiler.deleteRecord(Transaction tx, Key key)`
`long` `FSFiler.getRecordCount(Transaction tx)`
`RecordSet` `FSFiler.getRecordSet(Transaction tx)`

Uses of DBException in com.dbxml.db.common.fulltext

Methods in com.dbxml.db.common.fulltext that throw DBException
`void` `FullTextIndexer.remove(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)`
`void` `FullTextIndexer.add(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)`
`IndexMatch[]` `FullTextIndexer.queryMatches(Transaction tx, IndexQuery query)`

Uses of DBException in com.dbxml.db.common.indexers

Methods in com.dbxml.db.common.indexers that throw DBException
`void` `ValueIndexer.remove(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)`
`void` `ValueIndexer.add(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)`
`IndexMatch[]` `ValueIndexer.queryMatches(Transaction tx, IndexQuery query)`
`void` `NameIndexer.remove(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)`
`void` `NameIndexer.add(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)`
`IndexMatch[]` `NameIndexer.queryMatches(Transaction tx, IndexQuery query)`

Uses of DBException in com.dbxml.db.common.scripting

Methods in com.dbxml.db.common.scripting that throw DBException
`java.lang.Object` `ScriptTrigger.beforeInsert(Transaction tx, Key key, java.lang.Object newObj)`
`void` `ScriptTrigger.afterInsert(Transaction tx, Key key, java.lang.Object newObj)`
`java.lang.Object` `ScriptTrigger.beforeUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)`
`void` `ScriptTrigger.afterUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)`
`void` `ScriptTrigger.beforeDelete(Transaction tx, Key key, java.lang.Object oldObj)`
`void` `ScriptTrigger.afterDelete(Transaction tx, Key key, java.lang.Object oldObj)`
`void` `ScriptTrigger.beforeGet(Transaction tx, Key key)`
`void` `ScriptTrigger.afterGet(Transaction tx, Key key, java.lang.Object obj)`
`abstract com.dbxml.labrador.types.Variant` `ScriptExtension.execute(java.util.Map args)` execute must be implemented by a script-interpreting Extension.

Uses of DBException in com.dbxml.db.common.security

Methods in com.dbxml.db.common.security that throw DBException
`java.lang.String[]` `AccessManager.listUsers()`
`void` `AccessManager.addUser(java.lang.String userID)`
`void` `AccessManager.setUserPassword(java.lang.String userID, java.lang.String password)`
`java.lang.String[]` `AccessManager.listRolesForUser(java.lang.String userID)`
`void` `AccessManager.addRoleToUser(java.lang.String userID, java.lang.String roleID)`
`void` `AccessManager.removeRoleFromUser(java.lang.String userID, java.lang.String roleID)`
`void` `AccessManager.removeUser(java.lang.String userID)`
`java.lang.String[]` `AccessManager.listRoles()`
`java.lang.String[]` `AccessManager.listUsersForRole(java.lang.String roleID)`
`void` `AccessManager.addRole(java.lang.String roleID)`
`void` `AccessManager.removeRole(java.lang.String roleID)`
`java.util.Map` `AccessManager.listAccessControl(java.lang.String path)`
`void` `AccessManager.grant(java.lang.String path, java.lang.String roleID, int permissions)`
`void` `AccessManager.revoke(java.lang.String path, java.lang.String roleID, int permissions)`

Uses of DBException in com.dbxml.db.core

Methods in com.dbxml.db.core that throw DBException
`SymbolTable` `SystemCollection.loadSymbols(Collection collection)` loadSymbols retrieves the SymbolTable for the specified Collection.
`void` `SystemCollection.saveSymbols(Collection collection, SymbolTable symbols)` saveSymbols save the SymbolTable for the specified Collection.
`void` `Database.flushConfig()` flushConfig ensures that the Collection configuration has been properly flushed to disk after a modification.
`java.lang.String` `Container.getCanonicalName()` getCanonicalName returns the canonical name for the contained Object.
`DocumentTable` `Container.getDocument()` getDocument returns the contained Document.
`Value` `Container.getValue()` getValue returns the contained Value (if any).
`void` `Container.reset()` reset reloads the Object from the Collection.
`void` `Container.remove()` remove removes the Object from the Collection.
`void` `Container.setDocument(DocumentTable document)` setDocument replaces the Document in the Collection with the specified Document.
`void` `Container.setValue(Value value)` setValue replaces the Value in the Collection with the specified Value.
`abstract SystemCollection` `CollectionManager.getSystemCollection()` getSystemCollection returns the System Collection.
`Collection` `CollectionManager.getCollection(java.lang.String path)` getCollection retrieves a Collection by name.
`java.lang.String[]` `CollectionManager.listCollections()` listCollections retrieves a list of Collections as an array of Strings.
`boolean` `CollectionManager.dropCollection(Collection collection)` dropCollection physically removes the specified Collection and any associated system resources that the Collection uses.
`Collection` `CollectionManager.createCollection(java.lang.String path, Configuration cfg)` createCollection creates a new Collection object and any associated system resources that the Collection will need.
`Collection` `Collection.getParentCollection()` getParentCollection returns the parent Collection of this Collection.
`boolean` `Collection.dropCollection(Collection collection)`
`Collection` `Collection.createCollection(java.lang.String path, Configuration config)`
`SystemCollection` `Collection.getSystemCollection()`
`QueryEngine` `Collection.getQueryEngine()` getQueryEngine returns the Database's Query Engine
`IndexManager` `Collection.getIndexManager()` return the IndexManager being used by this Collection.
`ExtensionManager` `Collection.getExtensionManager()` getExtensionManager returns the Collection's ExtensionManager.
`TriggerManager` `Collection.getTriggerManager()` getTriggerManager returns the Collection's TriggerManager.
`SymbolTable` `Collection.getSymbols()` getSymbols returns the SymbolTable in use by this Collection.
`boolean` `Collection.drop()`
`void` `Collection.flushSymbolTable()`
`Key` `Collection.insertDocument(Transaction tx, DocumentTable document)` insertDocument inserts a new Document into a dbXML Collection.
`void` `Collection.setDocument(Transaction tx, java.lang.Object docKey, DocumentTable document)` setDocument overwrites/updates an existing Document in a dbXML Collection.
`void` `Collection.remove(Transaction tx, java.lang.Object key)` remove removes an object from the Collection based on its Key, regardless of its type.
`DocumentTable` `Collection.getDocument(Transaction tx, java.lang.Object docKey)` getDocument retrieves a Document by Key.
`RecordMetaData` `Collection.getRecordMetaData(Transaction tx, java.lang.Object docKey)` getRecordMetaData returns metadata about the Record identified by the provided Key.
`Container` `Collection.getContainer(Transaction tx, java.lang.Object docKey)` getContainer retrieves a Container from the Collection.
`Record` `Collection.getRecord(Transaction tx, java.lang.Object recKey)` getRecord retrieves a binary Record from the Collection.
`void` `Collection.setRecord(Transaction tx, Record rec)` setValue stores a binary Record in the Collection.
`void` `Collection.setRecord(Transaction tx, java.lang.Object recKey, Value value)` setRecord stores a binary Record in the Collection.
`Key` `Collection.insertRecord(Transaction tx, Value value)` insertRecord stores a binary Record in the Collection and returns a newly generated Key.
`ResultSet` `Collection.queryCollection(Transaction tx, java.lang.String style, java.lang.String query, NamespaceMap nsMap)` queryCollection performs a query against the current collection using the specified style and query String.
`ResultSet` `Collection.queryDocument(Transaction tx, java.lang.String style, java.lang.String query, NamespaceMap nsMap, java.lang.Object key)` queryDocument performs a query against a single Document using the specified style, query string, and Document ID.
`ContainerSet` `Collection.getContainerSet(Transaction tx)` getContainerSet returns the set of Documents being maintained by this Collection.
`Key[]` `Collection.listKeys(Transaction tx)` listKeys returns a list of all object keys stored by this collection.
`long` `Collection.getKeyCount(Transaction tx)` getKeyCount returns the count of objects being maintained by this Collection.

Constructors in com.dbxml.db.core that throw DBException
`Database()`

Uses of DBException in com.dbxml.db.core.adapter

Methods in com.dbxml.db.core.adapter that throw DBException
`long` `SimpleAdapter.getKeyCount(Transaction tx)`
`void` `SimpleAdapter.remove(Transaction tx, java.lang.Object key)`
`Key[]` `SimpleAdapter.listKeys(Transaction tx)`
`ResultSet` `SimpleAdapter.queryCollection(Transaction tx, java.lang.String style, java.lang.String query, NamespaceMap nsMap)`
`ResultSet` `SimpleAdapter.queryDocument(Transaction tx, java.lang.String style, java.lang.String query, NamespaceMap nsMap, java.lang.Object key)`
`Key[]` `Adapter.listKeys(Transaction tx)` listKeys returns a list of object keys stored managed by the Adapter.
`void` `Adapter.remove(Transaction tx, java.lang.Object key)` remove removes an object from the Adapter based on its Key.
`long` `Adapter.getKeyCount(Transaction tx)` getKeyCount returns the count of objects being maintained by this Adapter.
`ResultSet` `Adapter.queryCollection(Transaction tx, java.lang.String style, java.lang.String query, NamespaceMap nsMap)` queryCollection performs a query against the current collection using the specified style and query String.
`ResultSet` `Adapter.queryDocument(Transaction tx, java.lang.String style, java.lang.String query, NamespaceMap nsMap, java.lang.Object key)` queryDocument performs a query against a single Document using the specified style, query string, and Document ID.

Uses of DBException in com.dbxml.db.core.data

Methods in com.dbxml.db.core.data that throw DBException
`boolean` `RecordSet.hasMoreRecords()` hasMoreRecords returns whether or not there are any Records left in the set.
`Record` `RecordSet.getNextRecord()` getNextRecord returns the next Record in the set.
`Key` `RecordSet.getNextKey()` getNextKey returns the next Record's Key, and skips the RecordSet ahead to the next Record.
`Value` `RecordSet.getNextValue()` getNextValue returns the next Record's Value, and skips the RecordSet ahead to the next Record.
`boolean` `ContainerSet.hasMoreContainers()` hasMoreContainers returns whether there are any more Containers left in the set.
`Container` `ContainerSet.getNextContainer()` getNextContainer returns the next Container in the set.

Uses of DBException in com.dbxml.db.core.extension

Subclasses of DBException in com.dbxml.db.core.extension
`class` `CannotCreateException` A CannotCreateException is thrown if an Extension cannot be properly created in the server context for some reason.
`class` `ClassFormatException` A ClassFormatException is thrown if an Extension exposes overloaded methods or other non-supported signatures.
`class` `DuplicateObjectException` A DuplicateObjectException is thrown if an Extension create attempt duplicates an existing Extension.
`class` `ExtensionException` A ExtensionException is thrown by the Reflector if an exception occurs in the reflection, lookup, or execution of an Extension's method.
`class` `ExtensionRuntimeException` A ExtensionRuntimeException is thrown if an uncaught Exception occurs while executing an Extension's method.
`class` `InvalidContextException` A InvalidContextException is thrown if an Extension does not belong to a specified context.
`class` `MethodNotFoundException` A MethodNotFoundException is thrown by the Reflector if a method lookup failes on an Extension.

Methods in com.dbxml.db.core.extension that throw DBException
`boolean` `ExtensionManager.drop(java.lang.String name)` drop physically removes the specified Extension and any associated system resources that the Extension uses.
`Extension` `ExtensionManager.create(Configuration cfg)` create creates a new Extension object and any associated system resources that the Extension will need.
`Extension` `ExtensionManager.get(java.lang.String name)` get retrieves an Extension by name, and will also do the work of instantiation and pool-retrieval.

Uses of DBException in com.dbxml.db.core.filer

Subclasses of DBException in com.dbxml.db.core.filer
`class` `FilerException` A FilerException is thrown by a Filer if an exception occurs in the managing of the Filer.

Methods in com.dbxml.db.core.filer that throw DBException
`boolean` `Filer.create()` create creates a new Filer and any associated resources for the new Filer, such as disk files, etc.
`boolean` `Filer.open()` open opens the Filer
`boolean` `Filer.isOpened()` isOpened returns whether or not the Filer is opened for business.
`boolean` `Filer.exists()` exists returns whether or not a physical representation of this Filer actually exists.
`boolean` `Filer.drop()` drop instructs the Filerimplementation to remove itself from existence.
`boolean` `Filer.close()` close closes the Filer
`RecordMetaData` `Filer.getRecordMetaData(Transaction tx, Key key)` getRecordMetaData returns metadata about the Record identified by the provided Key.
`Record` `Filer.readRecord(Transaction tx, Key key)` readRecord returns a Record from the Filer based on the specified Key.
`boolean` `Filer.writeRecord(Transaction tx, Key key, Value value)` writeRecord writes a Value to the Filer based on the specified Key.
`boolean` `Filer.deleteRecord(Transaction tx, Key key)` deleteRecord removes a Record from the Filer based on the specified Key.
`long` `Filer.getRecordCount(Transaction tx)` getRecordCount returns the number of Records in the Filer.
`RecordSet` `Filer.getRecordSet(Transaction tx)` getRecordSet returns a RecordSet object for the current Filer.
`void` `Filer.flush(Transaction tx)` flush forcefully flushes any unwritten buffers to disk.
`TransactionLog` `Filer.getTransactionLog()` getTransactionLog returns the Transaction Log for this Filer.

Uses of DBException in com.dbxml.db.core.indexer

Subclasses of DBException in com.dbxml.db.core.indexer
`class` `DuplicateIndexException` A DuplicateIndexException is thrown if an Indexer create attempt duplicates an existing Indexer.
`class` `IndexerException` A IndexerException is thrown by an Indexer if an exception occurs in the managing of the Indexer.

Methods in com.dbxml.db.core.indexer that throw DBException
`boolean` `IndexManager.drop(java.lang.String name)` drop physically removes the specified Indexer and any associated system resources that the Indexer uses.
`Indexer` `IndexManager.create(Configuration cfg)` create creates a new Indexer object and any associated system resources that the Indexer will need.
`boolean` `Indexer.create()` create creates a new Indexer and any associated resources for the new Indexer, such as disk files, etc.
`boolean` `Indexer.open()` open opens the Indexer
`boolean` `Indexer.isOpened()` isOpened returns whether or not the Indexer is opened for business.
`boolean` `Indexer.exists()` exists returns whether or not a physical representation of this Indexer actually exists.
`boolean` `Indexer.drop()` drop instructs the Indexer implementation to remove itself from existence.
`boolean` `Indexer.close()` close closes the Indexer
`void` `Indexer.remove(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)` remove removes all references to the specified Key from the Indexer.
`void` `Indexer.add(Transaction tx, java.lang.String value, Key key, int pos, int elemID, int attrID)` add adds a Document to the Indexer.
`IndexMatch[]` `Indexer.queryMatches(Transaction tx, IndexQuery query)` queryMatches retrieves a set of MatchEntry instances that match the supplied query.
`void` `Indexer.flush(Transaction tx)` flush forcefully flushes any unwritten buffers to disk.
`TransactionLog` `Indexer.getTransactionLog()` getTransactionLog returns the Transaction Log for this Indexer.

Uses of DBException in com.dbxml.db.core.query

Subclasses of DBException in com.dbxml.db.core.query
`class` `CompilationException` A CompilationException is thrown by a Query if for some reason, it can't compile the query being processed.
`class` `NotSupportedException` A NotSupportedException is thrown by a Query if the QueryEngine doesn't support a specified operation.
`class` `ProcessingException` A ProcessingException is thrown by a Query if for some reason, it fails to actually process the query request.
`class` `QueryException` A QueryException is thrown by a Query if an exception occurs in the processing of the Query.
`class` `StyleNotFoundException` A StyleNotFoundException is thrown by a Query if the QueryEngine can't resolve a specified style name.

Methods in com.dbxml.db.core.query that throw DBException
`ResultSet` `QueryEngine.query(Transaction tx, Collection col, java.lang.String style, java.lang.String query, NamespaceMap nsMap, Key[] keys)` query performs the specified query and returns a NodeSet with any possible results from that query.
`Query` `QueryEngine.compileQuery(Collection col, java.lang.String style, java.lang.String query, NamespaceMap nsMap, Key[] keys)` compileQuery compiles a Query against the specified Collection context and returns the compiled Query.

Uses of DBException in com.dbxml.db.core.security

Subclasses of DBException in com.dbxml.db.core.security
`class` `InvalidAccessException` InvalidAccessException
`class` `InvalidCredentialsException` InvalidCredentialsException
`class` `InvalidRoleException` InvalidRoleException
`class` `InvalidUserException` InvalidUserException
`class` `SecurityException` SecurityException is thrown by the DefaultSecurityManager if an authentication or access control request can't be fulfilled for security reasons.

Methods in com.dbxml.db.core.security that throw DBException
`java.lang.String[]` `AccessUtils.listUsers()`
`void` `AccessUtils.storeUser(User user)`
`void` `AccessUtils.removeUser(User user)`
`java.lang.String[]` `AccessUtils.listRoles()`
`java.lang.String[]` `AccessUtils.listUsersForRole(java.lang.String roleID)`
`void` `AccessUtils.storeRole(Role role)`
`void` `AccessUtils.removeRole(Role role)`
`java.lang.String[]` `AccessUtils.listPaths()`
`void` `AccessUtils.storeAccess(Access access)`
`void` `AccessUtils.removeAccess(java.lang.String path)`

Uses of DBException in com.dbxml.db.core.transaction

Subclasses of DBException in com.dbxml.db.core.transaction
`class` `TransactionException` A TransactionException is thrown by a TransactionLog if an exception occurs in the managing of the Transaction Log.
`class` `TransactionNotActiveException` A TransactionNotActiveException is thrown by a Filer if a specified Transaction is no longer active to be acted upon.
`class` `TransactionsNotSupportedException` A TransactionsNotSupportedException is thrown by a Filer if transactional behavior is not supported by that Filer.

Methods in com.dbxml.db.core.transaction that throw DBException
`void` `Transaction.commit()` commit ends a transaction by commiting all data.
`void` `Transaction.cancel()` commit ends a transaction by rolling back all data.
`void` `Transaction.addTransactionLog(TransactionLog log)` addTransactionLog adds a TransactionLog to the partipation of this Transaction.

Constructors in com.dbxml.db.core.transaction that throw DBException
`Transaction(TransactionLog log)`

Uses of DBException in com.dbxml.db.core.trigger

Subclasses of DBException in com.dbxml.db.core.trigger
`class` `CancelOperationException` A CancelOperationException is thrown by a Trigger implementation to cancel an operation.
`class` `DuplicateTriggerException` A DuplicateTriggerException is thrown if an Trigger create attempt duplicates an existing Trigger.
`class` `TriggerException` A TriggerException is thrown if an exception occurs in the lookup, or execution of a Trigger.

Methods in com.dbxml.db.core.trigger that throw DBException
`boolean` `TriggerManager.drop(java.lang.String name)` drop physically removes the specified Trigger and any associated system resources that the Trigger uses.
`Trigger` `TriggerManager.create(Configuration cfg)` create creates a new Trigger object and any associated system resources that the Trigger will need.
`Trigger` `TriggerManager.get(java.lang.String name)` get retrieves an Trigger by name, and will also do the work of instantiation and pool-retrieval.
`java.lang.Object` `TriggerManager.fireBeforeInsert(Transaction tx, Key key, java.lang.Object newObj)` fireBeforeInsert fires beforeInsert events to all of the registered Triggers, unless a DBException is thrown.
`void` `TriggerManager.fireAfterInsert(Transaction tx, Key key, java.lang.Object newObj)` fireAfterInsert fires afterInsert events to all of the registered Triggers, unless a DBException is thrown.
`java.lang.Object` `TriggerManager.fireBeforeUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)` fireBeforeUpdate fires beforeUpdate events to all of the registered Triggers, unless a DBException is thrown.
`void` `TriggerManager.fireAfterUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)` fireAfterUpdate fires afterUpdate events to all of the registered Triggers, unless a DBException is thrown.
`void` `TriggerManager.fireBeforeDelete(Transaction tx, Key key, java.lang.Object oldObj)` fireBeforeDelete fires beforeDelete events to all of the registered Triggers, unless a DBException is thrown.
`void` `TriggerManager.fireAfterDelete(Transaction tx, Key key, java.lang.Object oldObj)` fireAfterDelete fires afterDelete events to all of the registered Triggers, unless a DBException is thrown.
`void` `TriggerManager.fireBeforeGet(Transaction tx, Key key)` fireBeforeGet fires beforeGet events to all of the registered Triggers, unless a DBException is thrown.
`void` `TriggerManager.fireAfterGet(Transaction tx, Key key, java.lang.Object obj)` fireAfterGet fires afterGet events to all of the registered Triggers, unless a DBException is thrown.
`java.lang.Object` `Trigger.beforeInsert(Transaction tx, Key key, java.lang.Object newObj)` beforeInsert is fired before a new Object is inserted into the Collection.
`void` `Trigger.afterInsert(Transaction tx, Key key, java.lang.Object newObj)` afterInsert is fired after a new Object is inserted into the Collection.
`java.lang.Object` `Trigger.beforeUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)` beforeUpdate is fired before a Object is updated in the Collection.
`void` `Trigger.afterUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)` afterUpdate is fired after a Object is updated in the Collection.
`void` `Trigger.beforeDelete(Transaction tx, Key key, java.lang.Object oldObj)` beforeDelete is fired before a Object is deleted from the Collection.
`void` `Trigger.afterDelete(Transaction tx, Key key, java.lang.Object oldObj)` afterDelete is fired after a Object is deleted from the Collection.
`void` `Trigger.beforeGet(Transaction tx, Key key)` beforeGet is fired before a Object is retrieved from the Collection.
`void` `Trigger.afterGet(Transaction tx, Key key, java.lang.Object obj)` afterGet is fired after a Object is retrieved from the Collection, but before it is actually returned.
`java.lang.Object` `SimpleTrigger.beforeInsert(Transaction tx, Key key, java.lang.Object newObj)`
`void` `SimpleTrigger.afterInsert(Transaction tx, Key key, java.lang.Object newObj)`
`java.lang.Object` `SimpleTrigger.beforeUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)`
`void` `SimpleTrigger.afterUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)`
`void` `SimpleTrigger.beforeDelete(Transaction tx, Key key, java.lang.Object oldObj)`
`void` `SimpleTrigger.afterDelete(Transaction tx, Key key, java.lang.Object oldObj)`
`void` `SimpleTrigger.beforeGet(Transaction tx, Key key)`
`void` `SimpleTrigger.afterGet(Transaction tx, Key key, java.lang.Object obj)`

Uses of DBException in com.dbxml.db.enterprise.sync

Methods in com.dbxml.db.enterprise.sync that throw DBException
`void` `SyncTrigger.afterDelete(Transaction tx, Key key, java.lang.Object oldObj)`
`void` `SyncTrigger.afterUpdate(Transaction tx, Key key, java.lang.Object oldObj, java.lang.Object newObj)`
`void` `SyncTrigger.afterInsert(Transaction tx, Key key, java.lang.Object newObj)`
`void` `SyncManager.addGroup(java.lang.String group)`
`void` `SyncManager.removeGroup(java.lang.String group)`
`java.lang.String[]` `SyncManager.listGroups()`
`void` `SyncManager.addCollection(java.lang.String group, java.lang.String collection)`
`void` `SyncManager.removeCollection(java.lang.String group, java.lang.String collection)`
`java.lang.String[]` `SyncManager.listCollections(java.lang.String group)`
`void` `SyncManager.addGroupToContent(java.lang.String path, java.lang.String group)`
`void` `SyncManager.removeGroupFromContent(java.lang.String path, java.lang.String group)`
`java.lang.String[]` `SyncManager.listContentGroups(java.lang.String path)`
`java.lang.String[]` `SyncManager.listGroupContents(java.lang.String group)`
`org.w3c.dom.Document` `SyncManager.listGroupChanges(java.util.Date date, java.lang.String[] groups)`
`org.w3c.dom.Document` `SyncManager.listAllChanges(java.util.Date date)`

Uses of DBException in com.dbxml.db.server.labrador

Methods in com.dbxml.db.server.labrador that throw DBException
`void` `ServerProxy.shutdown(int exitCode)`
`java.util.Map` `ContentProxy.getInformation()`
`byte[]` `ContentProxy.get()`
`java.lang.String` `ContentProxy.getDocument()`
`byte[]` `ContentProxy.getValue()`
`void` `ContentProxy.setDocument(java.lang.String document)`
`void` `ContentProxy.setValue(byte[] value)`
`java.util.Map` `CollectionProxy.getInformation()`
`org.w3c.dom.Document` `CollectionProxy.get()`
`java.lang.String` `CollectionProxy.getSystemCollection()`
`java.lang.String` `CollectionProxy.getCollection(java.lang.String name)`
`java.lang.String` `CollectionProxy.createCollection(java.lang.String path, org.w3c.dom.Document configuration)`
`java.lang.String[]` `CollectionProxy.listCollections()`
`boolean` `CollectionProxy.dropCollection(java.lang.String name)`
`java.lang.String` `CollectionProxy.createTrigger(org.w3c.dom.Document configuration)`
`boolean` `CollectionProxy.dropTrigger(java.lang.String name)`
`java.lang.String[]` `CollectionProxy.listTriggers()`
`java.lang.String` `CollectionProxy.createIndexer(org.w3c.dom.Document configuration)`
`boolean` `CollectionProxy.dropIndexer(java.lang.String name)`
`java.lang.String[]` `CollectionProxy.listIndexers()`
`java.lang.String` `CollectionProxy.getExtension(java.lang.String name)`
`java.lang.String` `CollectionProxy.createExtension(org.w3c.dom.Document configuration)`
`java.lang.String[]` `CollectionProxy.listExtensions()`
`boolean` `CollectionProxy.dropExtension(java.lang.String name)`
`java.lang.String` `CollectionProxy.createKey()`
`java.lang.String` `CollectionProxy.getDocument(java.lang.String docKey)`
`java.lang.String` `CollectionProxy.insertDocument(java.lang.String document)`
`void` `CollectionProxy.setDocument(java.lang.String docKey, java.lang.String document)`
`void` `CollectionProxy.remove(java.lang.String docKey)`
`java.lang.String[]` `CollectionProxy.listKeys()`
`long` `CollectionProxy.getKeyCount()`
`java.lang.String` `CollectionProxy.insertValue(byte[] value)`
`void` `CollectionProxy.setValue(java.lang.String key, byte[] value)`
`byte[]` `CollectionProxy.getValue(java.lang.String key)`
`java.lang.String` `CollectionProxy.queryCollection(java.lang.String style, java.lang.String query, java.util.Map nsMap)`
`java.lang.String` `CollectionProxy.queryDocument(java.lang.String style, java.lang.String query, java.util.Map nsMap, java.lang.String key)`

dbXML API

Copyright (c) 2004 The dbXML Group