|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--fr.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.LogEnabledlogger - The logger to use.
public void optimize()
throws SDXException
optimize in interface RepositoryConnectionSDXException
public void setAutoCommit(boolean autoCommit)
throws SDXException
setAutoCommit in interface RepositoryConnectionautoCommit - true enables auto-commit ; false disables auto-commit.
SDXException
public void rollback()
throws SDXException
rollback in interface RepositoryConnectionSDXException
public void commit()
throws SDXException
commit in interface RepositoryConnectionSDXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||