Uses of Interface
org.silverpeas.core.workflow.api.instance.ProcessInstance
-
-
Uses of ProcessInstance in org.silverpeas.core.workflow.api
Methods in org.silverpeas.core.workflow.api that return ProcessInstance Modifier and Type Method Description ProcessInstance
UpdatableProcessInstanceManager. createProcessInstance(String modelId)
Creates a new process instanceProcessInstance
ProcessInstanceManager. getProcessInstance(String instanceId)
Get the process instances for a given instance idMethods in org.silverpeas.core.workflow.api that return types with arguments of type ProcessInstance Modifier and Type Method Description List<ProcessInstance>
ProcessInstanceManager. getProcessInstances(String peasId, User user, String role)
Get the list of process instances for a given peas Id, user and role.List<ProcessInstance>
ProcessInstanceManager. getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] groupIds)
Get the list of process instances for a given peas Id, user and role, and user's roles.SilverpeasList<ProcessInstance>
ProcessInstanceManager. getTimeOutProcessInstances()
Get the list of process instances for which timeout date is overMethods in org.silverpeas.core.workflow.api with parameters of type ProcessInstance Modifier and Type Method Description Task
TaskManager. createTask(Actor actor, ProcessInstance processInstance)
Builds a new task (assigned or assignable).Task[]
TaskManager. createTasks(Actor[] actors, ProcessInstance processInstance)
Builds new tasks (assigned or assignable).Task[]
TaskManager. getTasks(User user, String roleName, ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance.void
UpdatableProcessInstanceManager. lock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and stateWorkflowError
ErrorManager. saveError(ProcessInstance instance, GenericEvent event, Exception exception)
Save an errorvoid
UpdatableProcessInstanceManager. unlock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and state -
Uses of ProcessInstance in org.silverpeas.core.workflow.api.error
Methods in org.silverpeas.core.workflow.api.error that return ProcessInstance Modifier and Type Method Description ProcessInstance
WorkflowError. getProcessInstance()
-
Uses of ProcessInstance in org.silverpeas.core.workflow.api.event
Methods in org.silverpeas.core.workflow.api.event that return ProcessInstance Modifier and Type Method Description ProcessInstance
GenericEvent. getProcessInstance()
Returns the process instance.Methods in org.silverpeas.core.workflow.api.event with parameters of type ProcessInstance Modifier and Type Method Description void
QuestionEvent. setProcessInstance(ProcessInstance instance)
Set the process instance.void
ResponseEvent. setProcessInstance(ProcessInstance instance)
Set the process instance.void
TaskDoneEvent. setProcessInstance(ProcessInstance instance)
Set the process instance.void
TaskSavedEvent. setProcessInstance(ProcessInstance instance)
Set the process instance. -
Uses of ProcessInstance in org.silverpeas.core.workflow.api.instance
Subinterfaces of ProcessInstance in org.silverpeas.core.workflow.api.instance Modifier and Type Interface Description interface
UpdatableProcessInstance
Methods in org.silverpeas.core.workflow.api.instance that return ProcessInstance Modifier and Type Method Description ProcessInstance
HistoryStep. getProcessInstance()
ProcessInstance
Question. getProcessInstance()
Get the process instance where the question was askedMethods in org.silverpeas.core.workflow.api.instance with parameters of type ProcessInstance Modifier and Type Method Description void
UpdatableHistoryStep. setProcessInstance(ProcessInstance processInstance)
Set the process instance -
Uses of ProcessInstance in org.silverpeas.core.workflow.api.task
Methods in org.silverpeas.core.workflow.api.task that return ProcessInstance Modifier and Type Method Description ProcessInstance
Task. getProcessInstance()
Returns the process instance.Methods in org.silverpeas.core.workflow.api.task with parameters of type ProcessInstance Modifier and Type Method Description void
Task. setProcessInstance(ProcessInstance currentProcessInstance)
Set process instance associated with task -
Uses of ProcessInstance in org.silverpeas.core.workflow.engine
Methods in org.silverpeas.core.workflow.engine that return ProcessInstance Modifier and Type Method Description ProcessInstance
AbstractRequest.HistoryStepDescriptor. getProcessInstance()
Methods in org.silverpeas.core.workflow.engine with parameters of type ProcessInstance Modifier and Type Method Description AbstractRequest.HistoryStepDescriptor
AbstractRequest.HistoryStepDescriptor. withProcessInstance(ProcessInstance processInstance)
-
Uses of ProcessInstance in org.silverpeas.core.workflow.engine.datarecord
Fields in org.silverpeas.core.workflow.engine.datarecord declared as ProcessInstance Modifier and Type Field Description protected ProcessInstance
AbstractProcessInstanceDataRecord. instance
The process instance whose data are managed by this data record.Methods in org.silverpeas.core.workflow.engine.datarecord that return ProcessInstance Modifier and Type Method Description ProcessInstance
ProcessInstanceRowRecord. getFullProcessInstance()
Methods in org.silverpeas.core.workflow.engine.datarecord with parameters of type ProcessInstance Modifier and Type Method Description Field
ActionActorTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Field
ActionDateTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Field
ActionLabelTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Field
ItemTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.abstract Field
ProcessInstanceFieldTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Field
StateTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Field
TitleTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Field
UserInfoTemplate. getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.Constructors in org.silverpeas.core.workflow.engine.datarecord with parameters of type ProcessInstance Constructor Description AbstractProcessInstanceDataRecord(ProcessInstance instance, String role, String lang)
Builds the data record representation of a process instance.LazyProcessInstanceDataRecord(ProcessInstance instance, String role, String lang)
Builds the data record representation of a process instance.ProcessInstanceDataRecord(ProcessInstance instance, String role, String lang)
Builds the data record representation of a process instance.ProcessInstanceRowRecord(ProcessInstance instance, String role, String lang)
Builds the data record representation of a process instance. -
Uses of ProcessInstance in org.silverpeas.core.workflow.engine.error
Methods in org.silverpeas.core.workflow.engine.error that return ProcessInstance Modifier and Type Method Description ProcessInstance
WorkflowErrorImpl. getProcessInstance()
Methods in org.silverpeas.core.workflow.engine.error with parameters of type ProcessInstance Modifier and Type Method Description WorkflowError
ErrorManagerImpl. saveError(ProcessInstance instance, GenericEvent event, Exception exception)
Save an errorConstructors in org.silverpeas.core.workflow.engine.error with parameters of type ProcessInstance Constructor Description WorkflowErrorImpl(ProcessInstance instance, GenericEvent event, Exception exception)
A WorkflowErrorImpl is build from a process instance, a generic event, a history step and a Exception -
Uses of ProcessInstance in org.silverpeas.core.workflow.engine.event
Methods in org.silverpeas.core.workflow.engine.event that return ProcessInstance Modifier and Type Method Description ProcessInstance
AbstractTaskEvent. getProcessInstance()
Returns the process instance.ProcessInstance
TimeoutEventImpl. getProcessInstance()
Returns the process instance.Methods in org.silverpeas.core.workflow.engine.event with parameters of type ProcessInstance Modifier and Type Method Description void
AbstractTaskEvent. setProcessInstance(ProcessInstance processInstance)
Set the process instance (when created).Constructors in org.silverpeas.core.workflow.engine.event with parameters of type ProcessInstance Constructor Description TimeoutEventImpl(ProcessInstance processInstance, State resolvedState, Action action)
A TimeoutEventImpl object is built from a processInstance, a state and an action -
Uses of ProcessInstance in org.silverpeas.core.workflow.engine.instance
Classes in org.silverpeas.core.workflow.engine.instance that implement ProcessInstance Modifier and Type Class Description class
ProcessInstanceImpl
This class is one implementation of interface UpdatableProcessInstance.Methods in org.silverpeas.core.workflow.engine.instance that return ProcessInstance Modifier and Type Method Description ProcessInstance
ProcessInstanceManagerImpl. createProcessInstance(String modelId)
Creates a new process instanceProcessInstance
HistoryStepImpl. getProcessInstance()
Get the process instanceProcessInstance
ProcessInstanceManagerImpl. getProcessInstance(String instanceId)
Get the process instances for a given instance idProcessInstance
QuestionImpl. getProcessInstance()
Get the process instance where the question was askedMethods in org.silverpeas.core.workflow.engine.instance that return types with arguments of type ProcessInstance Modifier and Type Method Description List<ProcessInstance>
ProcessInstanceManagerImpl. getProcessInstances(String peasId, User user, String role)
List<ProcessInstance>
ProcessInstanceManagerImpl. getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] userGroupIds)
SilverpeasList<ProcessInstance>
ProcessInstanceManagerImpl. getTimeOutProcessInstances()
Get the list of process instances for which timeout date is overMethods in org.silverpeas.core.workflow.engine.instance with parameters of type ProcessInstance Modifier and Type Method Description void
ProcessInstanceManagerImpl. lock(ProcessInstance instance, State state, User user)
Locks this instance for the given instance and statevoid
ProcessInstanceManagerImpl. removeProcessInstanceData(ProcessInstance instance)
void
UndoHistoryStep. setInstance(ProcessInstance instance)
Set the instance on which the atomic operation has been madevoid
HistoryStepImpl. setProcessInstance(ProcessInstance processInstance)
Set the process instancevoid
QuestionImpl. setProcessInstance(ProcessInstance processInstance)
Set the process instance where the question was askedvoid
ProcessInstanceManagerImpl. unlock(ProcessInstance instance, State state, User user)
unlocks this instance for the given instance and stateConstructors in org.silverpeas.core.workflow.engine.instance with parameters of type ProcessInstance Constructor Description QuestionImpl(ProcessInstance processInstance, String questionText, String fromState, String targetState, User fromUser, User toUser)
a Question object is build from - its content, - the source state name, - the target state name - and the instance where the question was asked -
Uses of ProcessInstance in org.silverpeas.core.workflow.engine.task
Methods in org.silverpeas.core.workflow.engine.task that return ProcessInstance Modifier and Type Method Description ProcessInstance
CreationTaskImpl. getProcessInstance()
ProcessInstance
TaskImpl. getProcessInstance()
Returns the process instance.Methods in org.silverpeas.core.workflow.engine.task with parameters of type ProcessInstance Modifier and Type Method Description Task
AbstractTaskManager. createTask(Actor actor, ProcessInstance processInstance)
Builds a new task (assigned or assignable).Task[]
AbstractTaskManager. createTasks(Actor[] actors, ProcessInstance processInstance)
Builds new tasks (assigned or assignable).Task[]
AbstractTaskManager. getTasks(User user, String roleName, ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance.void
CreationTaskImpl. setProcessInstance(ProcessInstance processInstance)
void
TaskImpl. setProcessInstance(ProcessInstance processInstance)
-
Uses of ProcessInstance in org.silverpeas.core.workflow.external
Methods in org.silverpeas.core.workflow.external with parameters of type ProcessInstance Modifier and Type Method Description void
ExternalAction. setProcessInstance(ProcessInstance process)
-
Uses of ProcessInstance in org.silverpeas.core.workflow.external.impl
Methods in org.silverpeas.core.workflow.external.impl that return ProcessInstance Modifier and Type Method Description ProcessInstance
ExternalActionImpl. getProcessInstance()
Methods in org.silverpeas.core.workflow.external.impl with parameters of type ProcessInstance Modifier and Type Method Description void
ExternalActionImpl. setProcessInstance(ProcessInstance process)
-