com.android.agf.database

## Class PentahoUbSQLiteHelper

- java.lang.Object
- - android.database.sqlite.SQLiteOpenHelper
  - - com.android.agf.database.PentahoUbSQLiteHelper

-     public class PentahoUbSQLiteHelper
      extends SQLiteOpenHelper

  classe per crear i gestionar la base de dades associada a l'aplicacio
  Author:
    albert

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PentahoUbSQLiteHelper(Context contexto)` constructor
    `PentahoUbSQLiteHelper(Context contexto, int versio)` constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onCreate(SQLiteDatabase db)`
    `void` | `onUpgrade(SQLiteDatabase db, int versioAnterior, int versioNova)`
    `void` | `upgrade(SQLiteDatabase db)`

    - ### Methods inherited from class android.database.sqlite.SQLiteOpenHelper

      `close, getDatabaseName, getReadableDatabase, getWritableDatabase, onDowngrade, onOpen`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PentahoUbSQLiteHelper

          public PentahoUbSQLiteHelper(Context contexto)

      constructor
      Parameters:
        `contexto` -

    - #### PentahoUbSQLiteHelper

          public PentahoUbSQLiteHelper(Context contexto,
                               int versio)

      constructor
      Parameters:
        `contexto` -
        `versio` -

  - ### Method Detail

    - #### onCreate

          public void onCreate(SQLiteDatabase db)

      Specified by:
        `onCreate` in class `SQLiteOpenHelper`

    - #### onUpgrade

          public void onUpgrade(SQLiteDatabase db,
                       int versioAnterior,
                       int versioNova)

      Specified by:
        `onUpgrade` in class `SQLiteOpenHelper`

    - #### upgrade

          public void upgrade(SQLiteDatabase db)