public abstract class AbstractRepositoryConnection extends AbstractSdxObject implements RepositoryConnection
SdxObject.ConfigurationNode_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitializedCLASS_NAME_SUFFIXDEFAULT_ENCODING| Constructor and Description |
|---|
AbstractRepositoryConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit all operation done with this active connection.
|
protected java.lang.String |
getClassNameSuffix()
Sub classes should element this method to return their class name suffix for SAX output
|
protected boolean |
initToSax()
Init the LinkedHashMap _xmlizable_objects with the objects in order to describ them in XML
|
protected void |
initVolatileObjectsToSax()
Init the LinkedHashMap _xmlizable_volatile_objects with the objects in order to describ them in XML
Some objects need to be refresh each time a toSAX is called
|
void |
optimize()
Can do optimization of a Repository if needed
|
void |
rollback()
Undo all operations done with this connection.
|
void |
setAutoCommit(boolean autoCommit)
Sets this connection in autocommit mode or not.
|
configure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResourcespublic void optimize()
throws SDXException
optimize in interface RepositoryConnectionSDXExceptionpublic void setAutoCommit(boolean autoCommit)
throws SDXException
setAutoCommit in interface RepositoryConnectionautoCommit - true enables auto-commit ; false disables auto-commit.SDXExceptionpublic void rollback()
throws SDXException
rollback in interface RepositoryConnectionSDXExceptionpublic void commit()
throws SDXException
commit in interface RepositoryConnectionSDXExceptionprotected java.lang.String getClassNameSuffix()
AbstractSdxObjectgetClassNameSuffix in class AbstractSdxObjectprotected boolean initToSax()
AbstractSdxObjectinitToSax in class AbstractSdxObjectprotected void initVolatileObjectsToSax()
initVolatileObjectsToSax in class AbstractSdxObjectCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.