Android Open Source - UniApp I D B Handler

From Project

Back to project page UniApp.


The source code is released under:

MIT License

If you think the Android project UniApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package it.nic.uniapp.db;
//from  www .  ja v a2 s  . c  om
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.os.Bundle;

public interface IDBHandler {

  public void openHandler(Context context);
  public void closeHandler();
  public void copyDataBase(Context context) throws IOException;
  public List<EsameEntity> getAllEsami() throws SQLException;
  public List<EsameEntity> getEsameByDate(String date)throws SQLException;
  public boolean deleteEsameById(int id)throws SQLException;
  public void deleteAllEsami() throws SQLException;
  public boolean updateEsameById(Bundle bundle)throws SQLException;
  public boolean insertNewEsame(EsameEntity e)throws SQLException;
  public String getMedia() throws SQLException;
  public String getCrediti() throws SQLException;
  public String getSuperati()throws SQLException;
  public String getFalliti()throws SQLException;

Java Source Code List