Uses of Interface
org.silverpeas.core.workflow.api.model.State
-
-
Uses of State in org.silverpeas.core.workflow.api
Methods in org.silverpeas.core.workflow.api with parameters of type State Modifier and Type Method Description Actor
ProcessInstanceManager. createActor(User user, String roleName, State state)
Builds an actor from a user and a role.void
UpdatableProcessInstanceManager. lock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and statevoid
UpdatableProcessInstanceManager. unlock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and state -
Uses of State in org.silverpeas.core.workflow.api.error
Methods in org.silverpeas.core.workflow.api.error that return State Modifier and Type Method Description State
WorkflowError. getResolvedState()
-
Uses of State in org.silverpeas.core.workflow.api.event
Methods in org.silverpeas.core.workflow.api.event that return State Modifier and Type Method Description State
GenericEvent. getResolvedState()
Returns the state/activity resolved by the user. -
Uses of State in org.silverpeas.core.workflow.api.instance
Methods in org.silverpeas.core.workflow.api.instance that return State Modifier and Type Method Description State
ProcessInstance. addQuestion(String content, String stepId, State fromState, User fromUser)
Add a questionState
ProcessInstance. answerQuestion(String content, String questionId)
Answer a questionState
Question. getFromState()
Get the state where the question was askedState
Actor. getState()
get the name of the state for which the user was/may be an actorState
Question. getTargetState()
Get the destination state for the questionMethods in org.silverpeas.core.workflow.api.instance with parameters of type State Modifier and Type Method Description void
UpdatableProcessInstance. addActiveState(State state)
void
UpdatableProcessInstance. addInterestedUser(Actor actor, State state)
void
UpdatableProcessInstance. addInterestedUser(User user, State state, String role)
Add an user in the interested user listState
ProcessInstance. addQuestion(String content, String stepId, State fromState, User fromUser)
Add a questionvoid
UpdatableProcessInstance. addTimeout(State state)
void
UpdatableProcessInstance. addWorkingUser(Actor actor, State state)
void
UpdatableProcessInstance. addWorkingUser(User user, State state, String role)
Actor[]
ProcessInstance. getActors(QualifiedUsers qualifiedUsers, State state)
Computes tuples role/user (stored in an Actor object) from a QualifiedUsers objectvoid
ProcessInstance. lock(State state, User user)
Locks this instance for the given instance and statevoid
UpdatableProcessInstance. removeActiveState(State state)
void
UpdatableProcessInstance. removeInterestedUser(User user, State state, String role)
Remove an user from the interested user listvoid
UpdatableProcessInstance. removeInterestedUsers(State state)
Remove all interested users for given statevoid
UpdatableProcessInstance. removeTimeout(State state)
void
UpdatableProcessInstance. removeWorkingUser(User user, State state, String role)
void
UpdatableProcessInstance. removeWorkingUsers(State state)
Remove all working users for given statevoid
ProcessInstance. unLock(State state, User user)
Un-locks this instance for the given instance and state -
Uses of State in org.silverpeas.core.workflow.api.model
Methods in org.silverpeas.core.workflow.api.model that return State Modifier and Type Method Description State
States. createState()
Create an StateState
ProcessModel. getState(String name)
Get the state definition with given nameState
States. getState(String name)
Get the state definition with given nameState
StateSetter. getState()
Get the stateState[]
ProcessModel. getStates()
Get the states defined for this process modelState[]
States. getStates()
Get the states defined for this process modelState
Consequence. getTargetState(String strStateName)
Get the target state with the given state nameState[]
Consequence. getTargetStates()
Get the target statesState
Consequence. getUnsetState(String strStateName)
Get the state to un-set with the given state nameState[]
Consequence. getUnsetStates()
Get the states to un-setMethods in org.silverpeas.core.workflow.api.model that return types with arguments of type State Modifier and Type Method Description Iterator<State>
States. iterateState()
Iterate through the State objectsMethods in org.silverpeas.core.workflow.api.model with parameters of type State Modifier and Type Method Description void
States. addState(State state)
Add an state to the collectionvoid
StateSetter. setState(State state)
Set the state -
Uses of State in org.silverpeas.core.workflow.api.task
Methods in org.silverpeas.core.workflow.api.task that return State Modifier and Type Method Description State
Task. getState()
Returns the state/activity to be resolved by the user. -
Uses of State in org.silverpeas.core.workflow.engine.error
Methods in org.silverpeas.core.workflow.engine.error that return State Modifier and Type Method Description State
WorkflowErrorImpl. getResolvedState()
-
Uses of State in org.silverpeas.core.workflow.engine.event
Methods in org.silverpeas.core.workflow.engine.event that return State Modifier and Type Method Description State
AbstractTaskEvent. getResolvedState()
Returns the state/activity resolved by the user.State
TimeoutEventImpl. getResolvedState()
Returns the state/activity resolved by the user.Constructors in org.silverpeas.core.workflow.engine.event with parameters of type State Constructor Description TimeoutEventImpl(ProcessInstance processInstance, State resolvedState, Action action)
A TimeoutEventImpl object is built from a processInstance, a state and an action -
Uses of State in org.silverpeas.core.workflow.engine.instance
Methods in org.silverpeas.core.workflow.engine.instance that return State Modifier and Type Method Description State
ProcessInstanceImpl. addQuestion(String content, String stepId, State fromState, User fromUser)
Add a questionState
ProcessInstanceImpl. answerQuestion(String content, String questionId)
Answer a questionState
QuestionImpl. getFromState()
Get the state where the question was askedState
ActionAndState. getState()
State
ActorImpl. getState()
get the name of the state for which the user was/may be an actorState
QuestionImpl. getTargetState()
Get the destination state for the questionMethods in org.silverpeas.core.workflow.engine.instance with parameters of type State Modifier and Type Method Description void
ProcessInstanceImpl. addActiveState(State state)
Set a state active for this instancevoid
ProcessInstanceImpl. addInterestedUser(Actor actor, State state)
void
ProcessInstanceImpl. addInterestedUser(User user, State state, String role)
Add an user in the interested user listState
ProcessInstanceImpl. addQuestion(String content, String stepId, State fromState, User fromUser)
Add a questionvoid
ProcessInstanceImpl. addTimeout(State state)
void
ProcessInstanceImpl. addWorkingUser(Actor actor, State state)
void
ProcessInstanceImpl. addWorkingUser(User user, State state, String role)
Add an user in the working user listActor
ProcessInstanceManagerImpl. createActor(User user, String roleName, State state)
Builds an actor from a user and a role.Actor[]
ProcessInstanceImpl. getActors(QualifiedUsers qualifiedUsers, State state)
Computes tuples role/user/state (stored in an Actor object) from a QualifiedUsers objectvoid
ProcessInstanceImpl. lock(State state, User user)
Locks this instance for the given instance and statevoid
ProcessInstanceManagerImpl. lock(ProcessInstance instance, State state, User user)
Locks this instance for the given instance and statevoid
ProcessInstanceImpl. removeActiveState(State state)
Set a state inactive for this instancevoid
ProcessInstanceImpl. removeInterestedUser(User user, State state, String role)
Remove an user from the interested user listvoid
ProcessInstanceImpl. removeInterestedUsers(State state)
void
ProcessInstanceImpl. removeTimeout(State state)
void
ProcessInstanceImpl. removeWorkingUser(User user, State state, String role)
Remove an user from the working user listvoid
ProcessInstanceImpl. removeWorkingUsers(State state)
void
ProcessInstanceManagerImpl. unlock(ProcessInstance instance, State state, User user)
unlocks this instance for the given instance and statevoid
ProcessInstanceImpl. unLock(State state, User user)
Un-locks this instance for the given instance and stateConstructors in org.silverpeas.core.workflow.engine.instance with parameters of type State Constructor Description ActionAndState(Action action, State state)
ActorImpl(User user, String userRoleName, State state)
Constructor of an actor.ActorImpl(User user, String userRoleName, State state, String groupId)
ParticipantImpl(User user, String userRoleName, State state, String action)
Constructor Definitivly set the user, userRoleName, state and the action -
Uses of State in org.silverpeas.core.workflow.engine.model
Classes in org.silverpeas.core.workflow.engine.model that implement State Modifier and Type Class Description class
StateImpl
Class implementing the representation of the <state> element of a Process Model.Methods in org.silverpeas.core.workflow.engine.model that return State Modifier and Type Method Description State
StatesImpl. createState()
State
ProcessModelImpl. getState(String name)
Get the state with the given nameState
StateRef. getState()
Get the referred stateState
StatesImpl. getState(String name)
State[]
ProcessModelImpl. getStates()
Get the states defined for this process modelState[]
StatesImpl. getStates()
State
ConsequenceImpl. getTargetState(String strStateName)
State[]
ConsequenceImpl. getTargetStates()
Get the target statesState
ConsequenceImpl. getUnsetState(String strStateName)
State[]
ConsequenceImpl. getUnsetStates()
Get the states to unsetMethods in org.silverpeas.core.workflow.engine.model that return types with arguments of type State Modifier and Type Method Description Iterator<State>
StatesImpl. iterateState()
Methods in org.silverpeas.core.workflow.engine.model with parameters of type State Modifier and Type Method Description void
StatesImpl. addState(State state)
void
StateRef. setState(State state)
Set the referred state -
Uses of State in org.silverpeas.core.workflow.engine.task
Methods in org.silverpeas.core.workflow.engine.task that return State Modifier and Type Method Description State
CreationTaskImpl. getState()
Returns the state to be resolved by the user.State
TaskImpl. getState()
Returns the state to be resolved by the user. -
Uses of State in org.silverpeas.web.workflowdesigner.control
Methods in org.silverpeas.web.workflowdesigner.control that return State Modifier and Type Method Description State
WorkflowDesignerSessionController. createState()
Create a new state object to be added to the modelMethods in org.silverpeas.web.workflowdesigner.control with parameters of type State Modifier and Type Method Description void
WorkflowDesignerSessionController. updateState(State source, String strNameOriginal)
Update or insert a new state element of the cached process model
-