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
SDXException
void rollback() throws SDXException
SDXException
void setAutoCommit(boolean autoCommit) throws SDXException
autoCommit
- true enables auto-commit ; false disables auto-commit.SDXException
void optimize() throws SDXException
SDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.