|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.Context
android.content.ContextWrapper
android.view.ContextThemeWrapper
android.app.Activity
android.app.ListActivity
de.msponer.android.yac.activities.workqueues.WorkListActivity
public class WorkListActivity
(Super-)Activity for YAC Work-Queues. Used by all work queue tabs and by the SearchResultActivity.
Field Summary |
---|
Fields inherited from class android.app.Activity |
---|
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK |
Constructor Summary | |
---|---|
WorkListActivity()
|
Method Summary | |
---|---|
SectionedWorkListAdapter |
createWorkItemAdapter()
Initializes the sectioned work list adapter. |
com.j256.ormlite.dao.Dao<MobileWorkItem,Integer> |
getMobileWorkItemDao()
Returns the mobile work item dao. |
int |
getRequestCode()
Return the current request code. |
String |
getSearchPattern()
Returns the current search pattern. |
MobileWorkItem |
getSelectedItem()
Returns the selected work item. |
SectionedWorkListAdapter |
getWorkItemAdapter()
Return the sectioned work item adapter. |
List<MobileWorkItem> |
getWorkitemList()
Returns the current work item list. |
ListView |
getWorkqueueListView()
Returns the current work queue list view. |
protected void |
onCreate(Bundle savedInstanceState)
|
protected void |
onDestroy()
|
protected void |
onResume()
|
void |
removeSelectedWorkItem()
Removes the selected work item from the queue. |
void |
setMobileWorkItemDao(com.j256.ormlite.dao.Dao<MobileWorkItem,Integer> mobileWorkItemDao)
Sets the current mobile work item dao. |
void |
setRequestCode(int requestCode)
Sets the current request code. |
void |
setSearchPattern(String searchPattern)
Sets the current search pattern. |
void |
setSelectedItem(MobileWorkItem selectedItem)
Sets the selected work item. |
void |
setWorkItemAdapter(SectionedWorkListAdapter workItemAdapter)
Sets the sectioned work item adapter. |
void |
setWorkitemList(List<MobileWorkItem> workitemList)
Sets the current work item list. |
void |
setWorkqueueListView(ListView workqueueListView)
Sets the current work queue lis view. |
void |
startWorkItemActivity(String intentAction)
Starts the WorkItemActivity and passes the specified intent actions. |
Methods inherited from class android.app.ListActivity |
---|
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onContentChanged, onListItemClick, onRestoreInstanceState, setListAdapter, setSelection |
Methods inherited from class android.view.ContextThemeWrapper |
---|
attachBaseContext, getTheme, setTheme |
Methods inherited from class android.content.Context |
---|
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkListActivity()
Method Detail |
---|
protected void onCreate(Bundle savedInstanceState)
onCreate
in class Activity
protected void onResume()
onResume
in class Activity
protected void onDestroy()
onDestroy
in class ListActivity
public void removeSelectedWorkItem()
public SectionedWorkListAdapter createWorkItemAdapter()
public void startWorkItemActivity(String intentAction)
intentAction
- The intent action.public int getRequestCode()
public void setRequestCode(int requestCode)
requestCode
- The request code to set.public MobileWorkItem getSelectedItem()
public void setSelectedItem(MobileWorkItem selectedItem)
selectedItem
- The work item to select.public com.j256.ormlite.dao.Dao<MobileWorkItem,Integer> getMobileWorkItemDao()
public void setMobileWorkItemDao(com.j256.ormlite.dao.Dao<MobileWorkItem,Integer> mobileWorkItemDao)
mobileWorkItemDao
- The mobile work item dao to set.public void setSearchPattern(String searchPattern)
searchPattern
- The search pattern to set.public String getSearchPattern()
public void setWorkItemAdapter(SectionedWorkListAdapter workItemAdapter)
workItemAdapter
- The sectioned work item adpater.public SectionedWorkListAdapter getWorkItemAdapter()
public void setWorkitemList(List<MobileWorkItem> workitemList)
workitemList
- The current work item list.public List<MobileWorkItem> getWorkitemList()
public void setWorkqueueListView(ListView workqueueListView)
workqueueListView
- The work queue list view to set.public ListView getWorkqueueListView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |