Back to project page ContentProviderProcessor.
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.
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 ); }