Back to project page BCC.
The source code is released under:
MIT License
If you think the Android project BCC listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sdsu.bcc.database; //from ww w. ja v a 2 s . co m import java.util.List; public interface DatabaseOperation<E> { public boolean insertRecords(List<E> newRecords) throws Exception; public boolean insertRecords(E newRecords) throws Exception; public boolean updateRecords(List<E> existingRecords) throws Exception; public boolean updateRecords(E existingRecords) throws Exception; public List<E> getRecords(String[] queryArgs) throws Exception; public E viewRecord(String[] queryArgs) throws Exception; public boolean deleteRecords(List<E> removeRecords) throws Exception; public boolean deleteRecords(E removeRecords) throws Exception; public int getNextId() throws Exception; }