public class LocalRepoTransactionImpl extends Object implements LocalRepoTransaction
| Constructor and Description |
|---|
LocalRepoTransactionImpl(co.codewizards.cloudstore.local.LocalRepoManagerImpl localRepoManager,
boolean write) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
flush() |
<D> D |
getDAO(Class<D> daoClass) |
LocalRepoManager |
getLocalRepoManager() |
long |
getLocalRevision() |
PersistenceManager |
getPersistenceManager() |
boolean |
isActive() |
void |
rollback() |
void |
rollbackIfActive() |
public LocalRepoTransactionImpl(co.codewizards.cloudstore.local.LocalRepoManagerImpl localRepoManager, boolean write)
public void commit()
commit in interface LocalRepoTransactionpublic boolean isActive()
isActive in interface LocalRepoTransactionpublic void rollback()
rollback in interface LocalRepoTransactionpublic void rollbackIfActive()
rollbackIfActive in interface LocalRepoTransactionpublic PersistenceManager getPersistenceManager()
public long getLocalRevision()
getLocalRevision in interface LocalRepoTransactionpublic LocalRepoManager getLocalRepoManager()
getLocalRepoManager in interface LocalRepoTransactionpublic <D> D getDAO(Class<D> daoClass)
getDAO in interface LocalRepoTransactionpublic void flush()
flush in interface LocalRepoTransactionCopyright © 2013-2014. All Rights Reserved.