001package co.codewizards.cloudstore.core.repo.local; 002 003public interface LocalRepoTransaction { 004 005 void commit(); 006 007 boolean isActive(); 008 009 void rollback(); 010 011 void rollbackIfActive(); 012 013 long getLocalRevision(); 014 015 LocalRepoManager getLocalRepoManager(); 016 017 <D> D getDAO(Class<D> daoClass); 018 019 void flush(); 020 021}