public abstract class

SCBaseBoardLoaderHandler

extends SCBaseLoaderHandler<L>
implements IBoardLoaderHandler<L>
java.lang.Object
   ↳ com.c2call.sdk.pub.gui.core.loaderhandler.SCBaseLoaderHandler<L>
     ↳ com.c2call.sdk.pub.gui.core.loaderhandler.SCBaseBoardLoaderHandler<L>
Known Direct Subclasses

Summary

Nested Classes
class SCBaseBoardLoaderHandler.DataChangeObserver  
[Expand]
Inherited Constants
From class com.c2call.sdk.pub.gui.core.loaderhandler.SCBaseLoaderHandler
Fields
protected static final String[] PROJECTION
protected ILoaderHandlerContextProvider _controller
protected int _filterMask
protected String _filterQuery
protected String _filterUserid
protected final Handler _handler
protected final IBoardListItemControllerFactory _itemControllerFactory
protected int _limit
protected final IListViewProvider _listViewProvider
protected long _noLimitResultCount
protected final SCViewDescriptionMap _viewDescriptions
Public Constructors
SCBaseBoardLoaderHandler(ILoaderHandlerContextProvider controller, IListViewProvider listViewProvider, String filterUserid, SCViewDescriptionMap viewDescriptions, IBoardListItemControllerFactory itemControllerFactory)
Public Methods
int getFilterMask()
String getFilterQuery()
String getFilterUserid()
IBoardListItemControllerFactory getItemControllerFactory()
int getLimit()
ListView getListView()
Context getLoaderContext()
long getNoLimitResultCount()
SCViewDescriptionMap getViewDescriptions()
void incLimit(int amount)
void onCreate()
Called if the surrounding activity is created
void onDestroy()
Called if the surrounding activity is destroyed
void onLoadFinished(Loader<L> loader, L cursor)
void onLoaderReset(Loader<L> loader)
synchronized void restart(boolean updateUserFilterId, String filterUserid)
synchronized void restart()
Restarts the loader handler.
void setFilterMask(int mask)
void setFilterQuery(String query)
void setFilterUserId(String id)
void setLimit(int limit)
Protected Methods
Context getContext()
ILoaderHandlerContext getLoaderActivity()
SCBaseControllerCursorAdapter<SCBoardEventDataIBoardListItemBaseController<? extends IBoardListItemBaseViewHolder>, IBoardListItemControllerFactoryIDecorator<IBoardListItemBaseController<?>>> onCreateAapder(Cursor c, IBoardListItemControllerFactory controllerFactory, SCViewDescriptionMap viewDescriptions)
IBaseFilter<SCBoardEventData, String> onCreateFilter(String userid, String textFilter, int filterMask)
abstract void onMessagesLoadFinished(L data)
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.gui.core.loaderhandler.SCBaseLoaderHandler
From class java.lang.Object
From interface android.app.LoaderManager.LoaderCallbacks
From interface com.c2call.sdk.pub.gui.core.controller.ILoaderhandler
From interface com.c2call.sdk.pub.gui.core.loaderhandler.IBoardLoaderHandler

Fields

protected static final String[] PROJECTION

protected ILoaderHandlerContextProvider _controller

protected int _filterMask

protected String _filterQuery

protected String _filterUserid

protected final Handler _handler

protected final IBoardListItemControllerFactory _itemControllerFactory

protected int _limit

protected final IListViewProvider _listViewProvider

protected long _noLimitResultCount

protected final SCViewDescriptionMap _viewDescriptions

Public Constructors

public SCBaseBoardLoaderHandler (ILoaderHandlerContextProvider controller, IListViewProvider listViewProvider, String filterUserid, SCViewDescriptionMap viewDescriptions, IBoardListItemControllerFactory itemControllerFactory)

Public Methods

public int getFilterMask ()

public String getFilterQuery ()

public String getFilterUserid ()

public IBoardListItemControllerFactory getItemControllerFactory ()

public int getLimit ()

public ListView getListView ()

public Context getLoaderContext ()

public long getNoLimitResultCount ()

public SCViewDescriptionMap getViewDescriptions ()

public void incLimit (int amount)

public void onCreate ()

Called if the surrounding activity is created

public void onDestroy ()

Called if the surrounding activity is destroyed

public void onLoadFinished (Loader<L> loader, L cursor)

public void onLoaderReset (Loader<L> loader)

public synchronized void restart (boolean updateUserFilterId, String filterUserid)

public synchronized void restart ()

Restarts the loader handler. This re-creates the list data

public void setFilterMask (int mask)

public void setFilterQuery (String query)

public void setFilterUserId (String id)

public void setLimit (int limit)

Protected Methods

protected Context getContext ()

protected ILoaderHandlerContext getLoaderActivity ()

protected IBaseFilter<SCBoardEventData, String> onCreateFilter (String userid, String textFilter, int filterMask)

protected abstract void onMessagesLoadFinished (L data)