Uses of Interface
com.silverpeas.workflow.api.model.State

Packages that use State
com.silverpeas.workflow.api   
com.silverpeas.workflow.api.error   
com.silverpeas.workflow.api.event   
com.silverpeas.workflow.api.instance   
com.silverpeas.workflow.api.model   
com.silverpeas.workflow.api.task   
com.silverpeas.workflow.engine.error   
com.silverpeas.workflow.engine.event   
com.silverpeas.workflow.engine.instance   
com.silverpeas.workflow.engine.model   
com.silverpeas.workflow.engine.task   
com.silverpeas.workflowdesigner.control   
 

Uses of State in com.silverpeas.workflow.api
 

Methods in com.silverpeas.workflow.api with parameters of type State
 Actor ProcessInstanceManager.createActor(User user, String roleName, State state)
          Builds an actor from a user and a role.
 ProcessInstance[] ProcessInstanceManager.getProcessInstancesInState(String peasId, State state)
          Get the list of process instances for a given peas Id, that have the given state activated
 void UpdatableProcessInstanceManager.lock(ProcessInstance instance, State state, User user)
          Locks the given instance for the given instance and state
 void UpdatableProcessInstanceManager.unlock(ProcessInstance instance, State state, User user)
          Locks the given instance for the given instance and state
 

Uses of State in com.silverpeas.workflow.api.error
 

Methods in com.silverpeas.workflow.api.error that return State
 State WorkflowError.getResolvedState()
           
 

Uses of State in com.silverpeas.workflow.api.event
 

Methods in com.silverpeas.workflow.api.event that return State
 State GenericEvent.getResolvedState()
          Returns the state/activity resolved by the user.
 

Uses of State in com.silverpeas.workflow.api.instance
 

Methods in com.silverpeas.workflow.api.instance that return State
 State ProcessInstance.addQuestion(String content, String stepId, State fromState, User fromUser)
          Add a question
 State ProcessInstance.answerQuestion(String content, String questionId)
          Answer a question
 State Question.getFromState()
          Get the state where the question was asked
 State Actor.getState()
          get the name of the state for which the user was/may be an actor
 State Question.getTargetState()
          Get the destination state for the question
 

Methods in com.silverpeas.workflow.api.instance with parameters of type State
 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 list
 State ProcessInstance.addQuestion(String content, String stepId, State fromState, User fromUser)
          Add a question
 void 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 object
 HistoryStep ProcessInstance.getMostRecentStep(State state)
          Recent the most recent step where an action has been performed on the given state.
 void ProcessInstance.lock(State state, User user)
          Locks this instance for the given instance and state
 void UpdatableProcessInstance.removeActiveState(State state)
           
 void UpdatableProcessInstance.removeInterestedUser(User user, State state, String role)
          Remove an user from the interested user list
 void UpdatableProcessInstance.removeInterestedUsers(State state)
          Remove all interested users for given state
 void UpdatableProcessInstance.removeTimeout(State state)
           
 void UpdatableProcessInstance.removeWorkingUser(User user, State state, String role)
           
 void UpdatableProcessInstance.removeWorkingUsers(State state)
          Remove all working users for given state
 void ProcessInstance.unLock(State state, User user)
          Un-locks this instance for the given instance and state
 

Uses of State in com.silverpeas.workflow.api.model
 

Methods in com.silverpeas.workflow.api.model that return State
 State States.createState()
          Create an State
 State StateSetter.getState()
          Get the state
 State ProcessModel.getState(String name)
          Get the state definition with given name
 State States.getState(String name)
          Get the state definition with given name
 State[] ProcessModel.getStates()
          Get the states defined for this process model
 State[] States.getStates()
          Get the states defined for this process model
 State Consequence.getTargetState(String strStateName)
          Get the target state with the given state name
 State[] Consequence.getTargetStates()
          Get the target states
 State Consequence.getUnsetState(String strStateName)
          Get the state to un-set with the given state name
 State[] Consequence.getUnsetStates()
          Get the states to un-set
 

Methods in com.silverpeas.workflow.api.model that return types with arguments of type State
 Iterator<State> States.iterateState()
          Iterate through the State objects
 

Methods in com.silverpeas.workflow.api.model with parameters of type State
 void States.addState(State state)
          Add an state to the collection
 void StateSetter.setState(State state)
          Set the state
 

Uses of State in com.silverpeas.workflow.api.task
 

Methods in com.silverpeas.workflow.api.task that return State
 State Task.getState()
          Returns the state/activity to be resolved by the user.
 

Uses of State in com.silverpeas.workflow.engine.error
 

Methods in com.silverpeas.workflow.engine.error that return State
 State WorkflowErrorImpl.getResolvedState()
           
 

Uses of State in com.silverpeas.workflow.engine.event
 

Methods in com.silverpeas.workflow.engine.event that return State
 State QuestionEventImpl.getResolvedState()
          Returns the state/activity resolved by the user.
 State ResponseEventImpl.getResolvedState()
          Returns the state/activity resolved by the user.
 State TaskDoneEventImpl.getResolvedState()
          Returns the state/activity resolved by the user.
 State TimeoutEventImpl.getResolvedState()
          Returns the state/activity resolved by the user.
 State TaskSavedEventImpl.getResolvedState()
          Returns the state/activity resolved by the user.
 

Constructors in com.silverpeas.workflow.engine.event with parameters of type State
TimeoutEventImpl(ProcessInstance processInstance, State resolvedState, Action action)
          A TimeoutEventImpl object is built from a processInstance, a state and an action
 

Uses of State in com.silverpeas.workflow.engine.instance
 

Methods in com.silverpeas.workflow.engine.instance that return State
 State ProcessInstanceImpl.addQuestion(String content, String stepId, State fromState, User fromUser)
          Add a question
 State ProcessInstanceImpl.answerQuestion(String content, String questionId)
          Answer a question
 State QuestionImpl.getFromState()
          Get the state where the question was asked
 State ActionAndState.getState()
           
 State ActorImpl.getState()
          get the name of the state for which the user was/may be an actor
 State QuestionImpl.getTargetState()
          Get the destination state for the question
 

Methods in com.silverpeas.workflow.engine.instance with parameters of type State
 void ProcessInstanceImpl.addActiveState(State state)
          Set a state active for this instance
 void ProcessInstanceImpl.addInterestedUser(Actor actor, State state)
           
 void ProcessInstanceImpl.addInterestedUser(User user, State state, String role)
          Add an user in the interested user list
 State ProcessInstanceImpl.addQuestion(String content, String stepId, State fromState, User fromUser)
          Add a question
 void 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 list
 Actor 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 object
 HistoryStep ProcessInstanceImpl.getMostRecentStep(State state)
          Get the most recent step where an action has been performed on the given state.
 ProcessInstance[] ProcessInstanceManagerImpl.getProcessInstancesInState(String peasId, State state)
          Get the list of process instances for a given peas Id, that have the given state activated and
 void ProcessInstanceManagerImpl.lock(ProcessInstance instance, State state, User user)
          Locks this instance for the given instance and state
 void ProcessInstanceImpl.lock(State state, User user)
          Locks this instance for the given instance and state
 void ProcessInstanceImpl.removeActiveState(State state)
          Set a state inactive for this instance
 void ProcessInstanceImpl.removeInterestedUser(User user, State state, String role)
          Remove an user from the interested user list
 void 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 list
 void ProcessInstanceImpl.removeWorkingUsers(State state)
           
 void ProcessInstanceManagerImpl.unlock(ProcessInstance instance, State state, User user)
          unlocks this instance for the given instance and state
 void ProcessInstanceImpl.unLock(State state, User user)
          Un-locks this instance for the given instance and state
 

Constructors in com.silverpeas.workflow.engine.instance with parameters of type State
ActionAndState(Action action, State state)
           
ActorImpl(User user, String userRoleName, State state)
          Constructor Definitivly set the user, userRoleName and the state
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 com.silverpeas.workflow.engine.model
 

Classes in com.silverpeas.workflow.engine.model that implement State
 class StateImpl
          Class implementing the representation of the <state> element of a Process Model.
 

Methods in com.silverpeas.workflow.engine.model that return State
 State StatesImpl.createState()
           
 State StateRef.getState()
          Get the referred state
 State ProcessModelImpl.getState(String name)
          Get the state with the given name
 State StatesImpl.getState(String name)
           
 State[] ProcessModelImpl.getStates()
          Get the states defined for this process model
 State[] StatesImpl.getStates()
           
 State ConsequenceImpl.getTargetState(String strStateName)
           
 State[] ConsequenceImpl.getTargetStates()
          Get the target states
 State ConsequenceImpl.getUnsetState(String strStateName)
           
 State[] ConsequenceImpl.getUnsetStates()
          Get the states to unset
 

Methods in com.silverpeas.workflow.engine.model that return types with arguments of type State
 Iterator<State> StatesImpl.iterateState()
           
 

Methods in com.silverpeas.workflow.engine.model with parameters of type State
 void StatesImpl.addState(State state)
           
 void StateRef.setState(State state)
          Set the referred state
 

Uses of State in com.silverpeas.workflow.engine.task
 

Methods in com.silverpeas.workflow.engine.task that return State
 State CreationTaskImpl.getState()
          Returns the state to be resolved by the user.
 State TaskImpl.getState()
          Returns the state to be resolved by the user.
 

Constructors in com.silverpeas.workflow.engine.task with parameters of type State
TaskImpl(User user, String roleName, ProcessInstance processInstance, State state)
          Builds a TaskImpl.
TaskImpl(User user, String roleName, ProcessInstance processInstance, State state, HistoryStep[] backSteps, Question[] sentQuestions, Question[] relevantQuestions, Question[] pendingQuestions)
          Builds a TaskImpl.
TaskImpl(User user, String roleName, String groupId, ProcessInstance processInstance, State state)
           
 

Uses of State in com.silverpeas.workflowdesigner.control
 

Methods in com.silverpeas.workflowdesigner.control that return State
 State WorkflowDesignerSessionController.createState()
          Create a new state object to be added to the model
 

Methods in com.silverpeas.workflowdesigner.control with parameters of type State
 void WorkflowDesignerSessionController.updateState(State source, String strNameOriginal)
          Update or insert a new state element of the cached process model
 



Copyright © 2016 Silverpeas. All Rights Reserved.