public class TaskContentProviderExtended extends TaskContentProvider
m_adhocRouting, m_autoAccept, m_currentTaskData, m_currentTaskInfo, m_maxAllowedToAccept, m_needAcceptToUpdate, m_needRefresh, m_previousTaskData, m_previousTaskInfo, m_taskID, m_taskTypeID, PROPERTY_KEY_TASKDATA, PROPERTY_KEYS
fExpireWithPageFlow
Constructor and Description |
---|
TaskContentProviderExtended() |
Modifier and Type | Method and Description |
---|---|
void |
attemptTransition(String taskID,
String status) |
boolean |
canVoteTask() |
boolean |
getCanUserAcceptTask()
Returns true or false whether current user have permissions to accept task
|
boolean |
getCanUserAssignTask()
Returns true or false whether current user have permissions to assign task
|
boolean |
getCanUserCancelTask()
Returns true or false whether current user have permissions to cancel task
|
boolean |
getCanUserCompleteTask()
Returns true or false whether current user have permissions to complete task
|
boolean |
getCanUserCreateCollaboration()
Returns true or false whether current user have permissions to create ad-hoc
workflows
|
boolean |
getCanUserDelegateTask()
Returns true or false whether current user have permissions to delegate task
|
boolean |
getCanUserDeleteCollaborationProcess()
Returns true or false whether current user have permissions to delete ad-hoc
workflow
|
boolean |
getCanUserDeleteTask()
Returns true or false whether current user have permissions to delete task
|
boolean |
getCanUserModifyTaskData()
Returns true or false whether current user have permissions to update task business
data
|
boolean |
getCanUserModifyTaskInfo()
Returns true or false whether current user have permissions to update task info
|
boolean |
getCanUserQueueNewTask()
Returns true or false whether current user have permissions to queue task of
current task type
|
boolean |
getCanUserResumeTask()
Returns true or false whether current user have permissions to resume task
|
boolean |
getCanUserRollbackTask()
Returns true or false whether current user have permissions to rollback task state
|
boolean |
getCanUserSuspendTask()
Returns true or false whether current user have permissions to suspend task
|
boolean |
getCanUserUpdateCollaborationProcess()
Returns true or false whether current user have permissions to update ad-hoc
workflow process
|
boolean |
getCanUserViewCollaboration()
Returns true or false whether current user have permissions to view ad-hoc
workflows for current task
|
boolean |
getCanUserViewTaskAudit()
Returns true or false whether current user have permissions to view task audit
|
boolean |
getCanUserViewTaskCollaboration()
Returns true or false whether current user have permissions to view ad-hoc
workflows for current task
|
boolean |
getCanUserViewTaskComments()
Returns true or false whether current user have permissions to view task comments
|
boolean |
getCanUserViewTaskContent()
This is not used
|
boolean |
getCanUserViewTaskData()
Returns true or false whether current user have permissions to view data of current
task instance
|
boolean |
getCanUserViewTaskInfo()
Returns true or false whether current user have permissions to view task info
|
boolean |
getCanUserViewTaskVotingStatistics()
Returns true or false whether current user has permissions to view task voting statistics
|
boolean |
isProcessArchived()
Helper method to determine if business process owning this task is already
archived.
|
boolean |
isVotingDone() |
void |
makeVote(String status) |
protected ITaskData |
newTaskData()
Creates new instance of task business data.
|
void |
openProcessInstanceDetails()
This method calculates url to open Monitor Business Process page for the current
task and redirects user to this page.
|
void |
recalculateVotes() |
boolean |
validStatusTransition(String currentStatus,
String nextStatus) |
void |
vote(String status) |
void |
voteComplete() |
getTaskServiceProvider
acceptTask, applyChanges, applyChangesNoAccept, cancelChanges, cancelTask, completeTask, deleteTask, getAdhocRouting, getAutoAccept, getCurrentUserID, getMaxAllowedToAccept, getNeedAcceptToUpdate, getNeedInfoRefresh, getNeedRefresh, getPropertyKeys, getTaskID, getTaskInfo, getTaskTypeID, getTaskTypeName, getType, getValue, hasProperty, init, isAutoRefresh, isCurrentUserAccepted, isReadOnly, isUpdateable, queueNewTask, refresh, reset, resumeTask, setAdhocRouting, setAutoAccept, setAutoRefresh, setMaxAllowedToAccept, setNeedAcceptToUpdate, setNeedRefresh, setTaskID, setTaskTypeID, setValue, supportsAutoRefresh, suspendTask, unacceptTask
getExpireWithPageFlow, setExpireWithPageFlow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
protected ITaskData newTaskData() throws ContentProviderException
AbstractTaskContentProvider
newTaskData
in class AbstractTaskContentProvider
ContentProviderException
public boolean canVoteTask()
public void voteComplete()
public void vote(String status)
public void attemptTransition(String taskID, String status) throws PortalException
PortalException
public void makeVote(String status) throws PortalException
PortalException
public boolean isVotingDone() throws PortalException
PortalException
public void recalculateVotes() throws PortalException
PortalException
public boolean getCanUserQueueNewTask()
public boolean getCanUserViewTaskData()
public boolean getCanUserViewTaskComments()
public boolean getCanUserViewTaskCollaboration()
public boolean getCanUserViewCollaboration()
public boolean getCanUserCreateCollaboration()
public boolean getCanUserViewTaskInfo()
public boolean getCanUserViewTaskAudit()
public boolean getCanUserViewTaskContent()
public boolean getCanUserCompleteTask()
public boolean getCanUserCancelTask()
public boolean getCanUserSuspendTask()
public boolean getCanUserResumeTask()
public boolean getCanUserModifyTaskData()
public boolean getCanUserModifyTaskInfo()
public boolean getCanUserAcceptTask()
public boolean getCanUserAssignTask()
public boolean getCanUserDelegateTask()
public boolean getCanUserRollbackTask()
public boolean getCanUserDeleteTask()
public boolean getCanUserUpdateCollaborationProcess()
public boolean getCanUserDeleteCollaborationProcess()
public boolean getCanUserViewTaskVotingStatistics()
public boolean isProcessArchived() throws Exception
Exception
public void openProcessInstanceDetails() throws Exception
Exception