public interface RepositoryConnection
extends org.apache.avalon.framework.logger.LogEnabled
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME_SUFFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit all operation done with this active connection.
|
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.
|
static final java.lang.String CLASS_NAME_SUFFIX
void commit()
throws SDXException
SDXExceptionvoid rollback()
throws SDXException
SDXExceptionvoid setAutoCommit(boolean autoCommit)
throws SDXException
autoCommit - true enables auto-commit ; false disables auto-commit.SDXExceptionvoid optimize()
throws SDXException
SDXExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.