Android Open Source - ContentProviderProcessor Content Provider Processor






From Project

Back to project page ContentProviderProcessor.

License

The source code is released under:

Apache License

If you think the Android project ContentProviderProcessor 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 de.wackernagel.android.contractcontentprovider;
//from  w  ww. jav a  2  s.  com
import android.content.ContentResolver;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;

public interface ContentProviderProcessor {
  public Cursor query( SQLiteDatabase db, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder );
  public Uri insert( SQLiteDatabase db, ContentResolver resolver, Uri uri, ContentValues values );
  public int update( SQLiteDatabase db, ContentResolver resolver, Uri uri, ContentValues values, String selection, String[] selectionArgs );
  public int delete( SQLiteDatabase db, ContentResolver resolver, Uri uri, String selection, String[] selectionArgs );
  public String getTable();
  public boolean isItemType( Uri uri );
  public boolean isDirectoryType( Uri uri );
}




Java Source Code List

de.wackernagel.android.contractcontentprovider.AbstractContentProviderProcessor.java
de.wackernagel.android.contractcontentprovider.ContentProviderProcessor.java
de.wackernagel.android.contractcontentprovider.ContentProviderUtils.java
de.wackernagel.android.contractcontentprovider.ContractContentProvider.java
de.wackernagel.android.contractcontentprovider.ContractSQLiteOpenHelper.java
de.wackernagel.android.contractcontentprovider.Contract.java
de.wackernagel.android.contractcontentprovider.DefaultContentProviderProcessor.java
de.wackernagel.android.contractcontentprovider.GenericUriMatcher.java
de.wackernagel.android.contractcontentprovider.sample.MainActivity.java
de.wackernagel.android.contractcontentprovider.sample.provider.CustomerContract.java
de.wackernagel.android.contractcontentprovider.sample.provider.SampleProvider.java