public class

SCDaoLoader

extends AsyncTaskLoader<D>
java.lang.Object
   ↳ android.content.Loader<D>
     ↳ android.content.AsyncTaskLoader<D>
       ↳ com.c2call.sdk.pub.gui.core.loader.SCDaoLoader<D extends com.j256.ormlite.dao.Dao<T extends com.c2call.sdk.pub.db.data.SCBaseData<ID>, ID>, T, ID>
Known Direct Subclasses

Summary

Nested Classes
class SCDaoLoader.Order  
Public Constructors
SCDaoLoader(Context context, D dao, String[] projection, String... rawExtraProjection)
Creates a fully-specified CursorLoader.
Public Methods
void addOrderBy(String orderBy, boolean ascending)
boolean cancelLoad()
void deliverResult(Cursor cursor)
void forceLoad()
long getCachedCount()
D getDao()
IBaseFilter<T, ID> getFilter()
List<String> getGroupBy()
CloseableIterator<T> getIterator()
Long getLimit()
String[] getProjection()
boolean isReverse()
Cursor loadInBackground()
void onCanceled(Cursor cursor)
void setFilter(IBaseFilter<T, ID> filter)
void setGroupBy(String... cols)
void setLimit(Long limit)
void setOrders(List<SCDaoLoader.Order> orders)
void setReverse(boolean reverse)
Protected Methods
String getColumns()
void onAbandon()
QueryBuilder<T, ID> onCreateNormalQuery()
QueryBuilder<T, ID> onCreateQueryBuilder()
QueryBuilder<T, ID> onCreateReverseQuery()
void onReset()
void onStartLoading()
Starts an asynchronous load of the contacts list data.
void onStopLoading()
Must be called from the UI thread
[Expand]
Inherited Methods
From class android.content.AsyncTaskLoader
From class android.content.Loader
From class java.lang.Object

Public Constructors

public SCDaoLoader (Context context, D dao, String[] projection, String... rawExtraProjection)

Creates a fully-specified CursorLoader. See ContentResolver.query() for documentation on the meaning of the parameters. These will be passed as-is to that call.

Public Methods

public void addOrderBy (String orderBy, boolean ascending)

public boolean cancelLoad ()

public void deliverResult (Cursor cursor)

public void forceLoad ()

public long getCachedCount ()

public D getDao ()

public IBaseFilter<T, ID> getFilter ()

public List<String> getGroupBy ()

public CloseableIterator<T> getIterator ()

public Long getLimit ()

public String[] getProjection ()

public boolean isReverse ()

public Cursor loadInBackground ()

public void onCanceled (Cursor cursor)

public void setFilter (IBaseFilter<T, ID> filter)

public void setGroupBy (String... cols)

public void setLimit (Long limit)

public void setOrders (List<SCDaoLoader.Order> orders)

public void setReverse (boolean reverse)

Protected Methods

protected String getColumns ()

protected void onAbandon ()

protected QueryBuilder<T, ID> onCreateNormalQuery ()

protected QueryBuilder<T, ID> onCreateQueryBuilder ()

protected QueryBuilder<T, ID> onCreateReverseQuery ()

protected void onReset ()

protected void onStartLoading ()

Starts an asynchronous load of the contacts list data. When the result is ready the callbacks will be called on the UI thread. If a previous load has been completed and is still valid the result may be passed to the callbacks immediately. Must be called from the UI thread

protected void onStopLoading ()

Must be called from the UI thread