|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.gouv.culture.sdx.repository.AbstractRepositoryConnection
Field Summary | |
protected org.apache.avalon.framework.logger.Logger |
logger
Avalon logger to write information. |
Constructor Summary | |
AbstractRepositoryConnection()
|
Method Summary | |
void |
commit()
Commit all operation done with this active connection. |
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger)
Set's the logger for this 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.avalon.framework.logger.Logger logger
Constructor Detail |
public AbstractRepositoryConnection()
Method Detail |
public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
enableLogging
in interface org.apache.avalon.framework.logger.LogEnabled
logger
- The logger to use.public void optimize() throws SDXException
optimize
in interface RepositoryConnection
SDXException
public void setAutoCommit(boolean autoCommit) throws SDXException
setAutoCommit
in interface RepositoryConnection
autoCommit
- true enables auto-commit ; false disables auto-commit.
SDXException
public void rollback() throws SDXException
rollback
in interface RepositoryConnection
SDXException
public void commit() throws SDXException
commit
in interface RepositoryConnection
SDXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |