Uses of Class
org.ow2.bonita.facade.runtime.ActivityState

Packages that use ActivityState
org.ow2.bonita.facade   
org.ow2.bonita.facade.exception Contains exception classes thrown by Nova Bonita APIs. 
org.ow2.bonita.facade.internal All interfaces in this package are for internal use only. 
org.ow2.bonita.facade.runtime It contains interfaces for recorded data for runtime informations on different types of workflow elements : process, activity, variable, hook.
 
org.ow2.bonita.facade.runtime.impl   
 

Uses of ActivityState in org.ow2.bonita.facade
 

Methods in org.ow2.bonita.facade with parameters of type ActivityState
 java.util.Collection<ActivityInstance<TaskInstance>> QueryRuntimeAPI.getTaskList(ActivityState taskState)
          Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the authenticated user.
If the task has been assigned to a user, only this user can get the task into the returned list.
Otherwise all the users that belong to the candidate list can get the task.
 java.util.Collection<ActivityInstance<TaskInstance>> QueryRuntimeAPI.getTaskList(ProcessInstanceUUID instanceUUID, ActivityState taskState)
          Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given instance and the authenticated user.
 java.util.Collection<ActivityInstance<TaskInstance>> QueryRuntimeAPI.getTaskList(ProcessInstanceUUID instanceUUID, java.lang.String userId, ActivityState taskState)
          Obtains the tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given instance and for the given user.
If the task has been assigned to a user, only this user can get the task into the returned list.
 java.util.Collection<ActivityInstance<TaskInstance>> QueryRuntimeAPI.getTaskList(java.lang.String userId, ActivityState taskState)
           Obtains the user tasks with state either READY or EXECUTING or SUSPENDED or FINISHED for the given user.
If the task has been assigned to a user, only this user can get the task into the returned list.
Otherwise all the users that belong to the candidate list can get the task.
 

Method parameters in org.ow2.bonita.facade with type arguments of type ActivityState
 java.util.Set<ProcessInstance> QueryRuntimeAPI.getProcessInstancesWithTaskState(java.util.Collection<ActivityState> activityStates)
          Returns all records of instance having one task in one of the given states.
 

Uses of ActivityState in org.ow2.bonita.facade.exception
 

Methods in org.ow2.bonita.facade.exception that return ActivityState
 ActivityState IllegalTaskStateException.getCurrentState()
           
 

Methods in org.ow2.bonita.facade.exception that return types with arguments of type ActivityState
 java.util.Set<ActivityState> IllegalTaskStateException.getExpectedStates()
           
 

Constructors in org.ow2.bonita.facade.exception with parameters of type ActivityState
IllegalTaskStateException(java.lang.String id, java.lang.String msg, TaskUUID taskUUID, java.util.Set<ActivityState> expectedStates, ActivityState currentState)
          Constructs an IllegalTaskStateTException.
 

Constructor parameters in org.ow2.bonita.facade.exception with type arguments of type ActivityState
IllegalTaskStateException(java.lang.String id, java.lang.String msg, TaskUUID taskUUID, java.util.Set<ActivityState> expectedStates, ActivityState currentState)
          Constructs an IllegalTaskStateTException.
 

Uses of ActivityState in org.ow2.bonita.facade.internal
 

Methods in org.ow2.bonita.facade.internal with parameters of type ActivityState
 java.util.Collection<ActivityInstance<TaskInstance>> InternalQueryRuntimeAPI.getTaskList(ActivityState taskState, java.lang.String queryList)
           
 java.util.Collection<ActivityInstance<TaskInstance>> InternalQueryRuntimeAPI.getTaskList(ProcessInstanceUUID instanceUUID, ActivityState taskState, java.lang.String queryList)
           
 java.util.Collection<ActivityInstance<TaskInstance>> InternalQueryRuntimeAPI.getTaskList(ProcessInstanceUUID instanceUUID, java.lang.String userId, ActivityState taskState, java.lang.String queryList)
           
 java.util.Collection<ActivityInstance<TaskInstance>> InternalQueryRuntimeAPI.getTaskList(java.lang.String userId, ActivityState taskState, java.lang.String queryList)
           
 

Method parameters in org.ow2.bonita.facade.internal with type arguments of type ActivityState
 java.util.Set<ProcessInstance> InternalQueryRuntimeAPI.getProcessInstancesWithTaskState(java.util.Collection<ActivityState> activityStates, java.lang.String queryList)
           
 

Uses of ActivityState in org.ow2.bonita.facade.runtime
 

Methods in org.ow2.bonita.facade.runtime that return ActivityState
 ActivityState Update.getActivityState()
          Returns the state at assignment.
 ActivityState StateUpdate.getInitialState()
          Returns the initial state.
 ActivityState ActivityBody.getState()
          Returns the current state.
static ActivityState ActivityState.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActivityState[] ActivityState.values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 

Methods in org.ow2.bonita.facade.runtime with parameters of type ActivityState
 void ActivityFullBody.setActivityState(ActivityState newState, java.lang.String loggedInUserId)
           
 void TaskFullInstance.setTaskAssign(ActivityState assignState, java.lang.String loggedInUserId, java.util.Set<java.lang.String> candidates, java.lang.String assignedUserId)
           
 

Uses of ActivityState in org.ow2.bonita.facade.runtime.impl
 

Fields in org.ow2.bonita.facade.runtime.impl declared as ActivityState
protected  ActivityState StateUpdateImpl.initialState
           
protected  ActivityState UpdateImpl.state
          date at update
 

Methods in org.ow2.bonita.facade.runtime.impl that return ActivityState
 ActivityState UpdateImpl.getActivityState()
           
 ActivityState StateUpdateImpl.getFinalState()
           
 ActivityState StateUpdateImpl.getInitialState()
           
 ActivityState ActivityBodyImpl.getState()
           
 

Methods in org.ow2.bonita.facade.runtime.impl with parameters of type ActivityState
 void ActivityBodyImpl.setActivityState(ActivityState newState, java.lang.String userId)
           
 void TaskFullInstanceImpl.setTaskAssign(ActivityState taskState, java.lang.String loggedInUserId, java.util.Set<java.lang.String> candidates, java.lang.String assignedUserId)
           
 

Constructors in org.ow2.bonita.facade.runtime.impl with parameters of type ActivityState
AssignUpdateImpl(java.util.Date date, ActivityState taskState, java.lang.String loggedInUserId, java.util.Set<java.lang.String> candidates, java.lang.String assignedUserId)
           
StateUpdateImpl(java.util.Date date, ActivityState finalState, ActivityState initialState, java.lang.String updateUserId)
           
TaskFullInstanceImpl(TaskUUID taskUUID, ActivityState state, java.util.Date createdDate, java.lang.String userId)
           
UpdateImpl(java.util.Date date, ActivityState state, java.lang.String updateUserId)
           
 



Copyright © 2009 OW2 Consortium. All Rights Reserved.