Android Open Source - UniApp I D B Handler






From Project

Back to project page UniApp.

License

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.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

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

public interface IDBHandler {

  // REQUIRED METHODS
  public void openHandler(Context context);
  public void closeHandler();
  public void copyDataBase(Context context) throws IOException;
  
  // OTHER METHODS
  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

it.nic.uniapp.AddEsame.java
it.nic.uniapp.CalendarioEsami.java
it.nic.uniapp.FunzioniEsami.java
it.nic.uniapp.ListaEsami.java
it.nic.uniapp.MainActivity.java
it.nic.uniapp.PopUpWindow.java
it.nic.uniapp.UpdateEsame.java
it.nic.uniapp.adapters.EsameAdapter.java
it.nic.uniapp.adapters.GridCellAdapter.java
it.nic.uniapp.cmp.EsameRowControl.java
it.nic.uniapp.core.Constants.java
it.nic.uniapp.core.PageLoader.java
it.nic.uniapp.db.DBHandler.java
it.nic.uniapp.db.DatabaseConfigUtil.java
it.nic.uniapp.db.DatabaseHelper.java
it.nic.uniapp.db.EsameEntity.java
it.nic.uniapp.db.IDBHandler.java
it.nic.uniapp.util.Util.java