|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITaskContentProvider
ITaskContentProvider is the interface represents content provider for task.
ITransactionalContentProvider
,
IRefreshableContentProvider
Method Summary | |
---|---|
void |
acceptTask()
Accepts current task for the current user |
void |
cancelTask()
Cancels current task |
void |
completeTask()
Updates and completes current task |
void |
deleteTask()
Deletes current task |
boolean |
getAdhocRouting()
Returns ad-hoc routing configuration setting. |
boolean |
getAutoAccept()
Returns auto-accept configuration setting. |
String |
getCurrentUserID()
Returns user ID of the current user |
int |
getMaxAllowedToAccept()
Returns maximum number of users which may accept a task at a given time. |
boolean |
getNeedAcceptToUpdate()
Returns Control indicates whether user must first accept a task before updating it. |
String |
getTaskID()
Returns the current task ID |
ITaskInfo |
getTaskInfo()
Returns current task info ITaskInfo , or empty object if there is no current task |
String |
getTaskTypeID()
Returns New taskTypeID. |
String |
getTaskTypeName()
Returns display name of the task type |
void |
queueNewTask()
Queues new task using data set in the TaskInfo and TaskData |
void |
resumeTask()
Resumes current task |
void |
setAdhocRouting(boolean allowAdhocRouting)
Sets ad-hoc routing configuration setting. |
void |
setAutoAccept(boolean autoAccept)
Sets auto-accept configuration setting. |
void |
setMaxAllowedToAccept(int maxAllowedToAccept)
Sets maximum number of users which may accept a task at a given time. |
void |
setNeedAcceptToUpdate(boolean c)
Set control indicates whether user must first accept a task before updating it. |
void |
setTaskID(String taskID)
Sets current taskID |
void |
suspendTask()
Suspends current task |
void |
unacceptTask()
Unaccepts current task from the current user |
Methods inherited from interface com.webmethods.caf.faces.data.ITransactionalContentProvider |
---|
applyChanges, cancelChanges |
Methods inherited from interface com.webmethods.caf.faces.data.IUpdateableContentProvider |
---|
isReadOnly, setValue |
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider |
---|
getPropertyKeys, getType, getValue, hasProperty, toString |
Methods inherited from interface com.webmethods.caf.faces.data.IRefreshable |
---|
getNeedRefresh, isAutoRefresh, refresh, setAutoRefresh, setNeedRefresh, supportsAutoRefresh |
Method Detail |
---|
String getTaskID()
void setTaskID(String taskID)
taskID
- current taskIDITaskInfo getTaskInfo()
ITaskInfo
, or empty object if there is no current task
String getTaskTypeID()
String getTaskTypeName()
boolean getAutoAccept()
void setAutoAccept(boolean autoAccept)
autoAccept
- boolean getAdhocRouting()
void setAdhocRouting(boolean allowAdhocRouting)
allowAdhocRouting
- int getMaxAllowedToAccept()
void setMaxAllowedToAccept(int maxAllowedToAccept)
maxAllowedToAccept
- boolean getNeedAcceptToUpdate()
void setNeedAcceptToUpdate(boolean c)
c
- true means user must first accept a task before updating itvoid queueNewTask() throws ContentProviderException
ContentProviderException
void acceptTask() throws ContentProviderException
ContentProviderException
void unacceptTask() throws ContentProviderException
ContentProviderException
void completeTask() throws ContentProviderException
ContentProviderException
void cancelTask() throws ContentProviderException
ContentProviderException
void deleteTask() throws ContentProviderException
ContentProviderException
void suspendTask() throws ContentProviderException
ContentProviderException
void resumeTask() throws ContentProviderException
ContentProviderException
String getCurrentUserID() throws ContentProviderException
ContentProviderException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |