.. java:import:: org.motechproject.mds.query Property .. java:import:: org.motechproject.mds.query QueryParams .. java:import:: org.motechproject.mds.util InstanceSecurityRestriction .. java:import:: org.springframework.transaction TransactionStatus .. java:import:: org.springframework.transaction.support TransactionCallback .. java:import:: java.util List TransactionalMotechDataService ============================== .. java:package:: org.motechproject.mds.service :noindex: .. java:type:: public abstract class TransactionalMotechDataService extends DefaultMotechDataService The main goal of the \ ``TransactionalMotechDataService``\ class is to resolve problems with transaction annotations not working for generated lookups. We use the traditional transaction callback instead. :param : the type of entity schema. Methods ------- count ^^^^^ .. java:method:: @Override protected long count(List properties) :outertype: TransactionalMotechDataService retrieveAll ^^^^^^^^^^^ .. java:method:: @Override protected List retrieveAll(List properties) :outertype: TransactionalMotechDataService retrieveAll ^^^^^^^^^^^ .. java:method:: @Override protected List retrieveAll(List properties, QueryParams queryParams) :outertype: TransactionalMotechDataService