Uses of Class
com.silverpeas.workflow.api.WorkflowException

Packages that use WorkflowException
com.silverpeas.workflow.api   
com.silverpeas.workflow.api.error   
com.silverpeas.workflow.api.instance   
com.silverpeas.workflow.api.model   
com.silverpeas.workflow.api.user   
com.silverpeas.workflow.engine   
com.silverpeas.workflow.engine.dataRecord   
com.silverpeas.workflow.engine.error   
com.silverpeas.workflow.engine.exception   
com.silverpeas.workflow.engine.instance   
com.silverpeas.workflow.engine.jdo   
com.silverpeas.workflow.engine.model   
com.silverpeas.workflow.engine.task   
com.silverpeas.workflow.engine.user   
com.silverpeas.workflowdesigner.control   
com.silverpeas.workflowdesigner.servlets   
 

Uses of WorkflowException in com.silverpeas.workflow.api
 

Subclasses of WorkflowException in com.silverpeas.workflow.api
 class WorkflowFatalException
          Thrown when a fatal error occured in a workflow engine component.
 

Methods in com.silverpeas.workflow.api that throw WorkflowException
 void TaskManager.assignTask(Task task, User delegator)
          Adds a new task in the user's todos.
 void ProcessModelManager.clearProcessModelCache()
           
 ProcessInstance UpdatableProcessInstanceManager.createProcessInstance(String modelId)
          Creates a new process instance
 ProcessModel ProcessModelManager.createProcessModel(String fileName, String peasId)
          Create a ProcessModel from xml descriptor filename.
 ProcessModel ProcessModelManager.createProcessModelDescriptor()
          Create a new ProcessModel descriptor that is not yet saved in a XML file.
 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).
 void ProcessModelManager.deleteProcessModel(String instanceId)
          Delete a ProcessModel with given model id
 void ProcessModelManager.deleteProcessModelDescriptor(String strProcessModelFileName)
          Delete a ProcessModelDescriptor XML with given path
 String[] ProcessModelManager.getAllPeasIds()
          Get all the "process manager" peas ids
 Task TaskManager.getCreationTask(User user, String roleName, ProcessModel processModel)
          Returns the creation task of a processModel or null if the user is not allowed to create a new instance.
static ErrorManager Workflow.getErrorManager()
           
 ProcessInstance ProcessInstanceManager.getProcessInstance(String instanceId)
          Get the process instances for a given instance id
 String TaskManager.getProcessInstanceIdFromExternalTodoId(String externalTodoId)
          Get the process instance Id referred by the todo with the given todo id
static ProcessInstanceManager Workflow.getProcessInstanceManager()
           
 ProcessInstance[] ProcessInstanceManager.getProcessInstances(String peasId, User user, String role)
          Get the list of process instances for a given peas Id, user and role.
 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.
 ProcessInstance[] ProcessInstanceManager.getProcessInstancesInState(String peasId, State state)
          Get the list of process instances for a given peas Id, that have the given state activated
 ProcessModel ProcessModelManager.getProcessModel(String modelId)
          Get a ProcessModel from its modelId.
static ProcessModelManager Workflow.getProcessModelManager()
           
 User UserManager.getRelatedUser(User user, String relation, String peasId)
          Get a user from a given user and relation
 String TaskManager.getRoleNameFromExternalTodoId(String externalTodoId)
          Get the role name of task referred by the todo with the given todo id
 String[] UserManager.getRoleNames(User user, String processModelId)
          Returns all the roles of a given user relative to a processModel.
static TaskManager Workflow.getTaskManager()
           
 Task[] TaskManager.getTasks(User user, String roleName, ProcessInstance processInstance)
          Returns the tasks assigned to a user on a processInstance.
 ProcessInstance[] ProcessInstanceManager.getTimeOutProcessInstances()
          Get the list of process instances for which timeout date is over
 User UserManager.getUser(String userId)
          Returns the user with the given userId
static UserManager Workflow.getUserManager()
           
 User[] UserManager.getUsers(String[] userIds)
          Make a User[] from a userIds' String[].
 UserSettings UserManager.getUserSettings(String userId, String peasId)
          Get the user settings in database The full list of information is described in the process model
 User[] UserManager.getUsersInRole(String roleName, String processModelId)
          Returns all the users having a given role relative to a processModel.
static WorkflowEngine Workflow.getWorkflowEngine()
           
 List<String> ProcessModelManager.listProcessModels()
          List all the ProcessModels that are stored in the process model directory Retrieves all the files in the directory tree below the process model directory.
 ProcessModel ProcessModelManager.loadProcessModel(String processFileName, boolean absolutePath)
          load a process model definition from xml file to java objects
 void UpdatableProcessInstanceManager.lock(ProcessInstance instance, State state, User user)
          Locks the given instance for the given instance and state
 void TaskManager.notifyActor(Task task, User sender, User user, String text)
          Notify user that an action has been done
 void WorkflowEngine.process(QuestionEvent event)
          A question has been sent to a previous participant
 void WorkflowEngine.process(ResponseEvent event)
          A question had been sent to a previous participant.
 void WorkflowEngine.process(TaskDoneEvent event)
          A task has been done and sent to the workflow Enginewhich has to process it.
 void WorkflowEngine.process(TaskDoneEvent event, boolean ignoreControls)
          A task has been done and sent to the workflow Enginewhich has to process it.
 void WorkflowEngine.process(TaskSavedEvent event)
          A task has been saved and sent to the workflow Enginewhich has to process it.
 void WorkflowEngine.reAssignActors(UpdatableProcessInstance instance, Actor[] unAssignedActors, Actor[] assignedActors, User user)
          Do re-affectation for given states Remove users as working users and unassign corresponding tasks Add users as working users and assign corresponding tasks
 void UpdatableProcessInstanceManager.removeProcessInstance(String instanceId)
          Removes a new process instance
 void UserManager.resetUserSettings(String userId, String peasId)
           
 void ProcessModelManager.saveProcessModel(ProcessModel process, String processFileName)
          Saves a process model definition from java objects to an XML file
 void TaskManager.unAssignTask(Task task)
          Removes a task from the user's todos.
 void UpdatableProcessInstanceManager.unlock(ProcessInstance instance, State state, User user)
          Locks the given instance for the given instance and state
 

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

Methods in com.silverpeas.workflow.api.error that throw WorkflowException
 Action WorkflowError.getAction()
           
 HistoryStep WorkflowError.getHistoryStep()
           
 ProcessInstance WorkflowError.getProcessInstance()
           
 State WorkflowError.getResolvedState()
           
 User WorkflowError.getUser()
           
 

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

Methods in com.silverpeas.workflow.api.instance that throw WorkflowException
 void UpdatableProcessInstance.addActiveState(State state)
           
 void UpdatableProcessInstance.addHistoryStep(HistoryStep step)
           
 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)
           
 State ProcessInstance.answerQuestion(String content, String questionId)
          Answer a question
 void UpdatableProcessInstance.cancelQuestion(Question question)
          Cancel a question without response
 String ProcessInstance.create()
           
 void ProcessInstance.delete()
           
 void HistoryStep.deleteActionRecord()
          Delete the data filled at this step
 DataRecord HistoryStep.getActionRecord()
          Get the data filled at this step
 DataRecord ProcessInstance.getActionRecord(String actionName)
          Returns the data which was given when the action was performed.
 Actor[] ProcessInstance.getActors(QualifiedUsers qualifiedUsers, State state)
          Computes tuples role/user (stored in an Actor object) from a QualifiedUsers object
 DataRecord ProcessInstance.getAllDataRecord(String role, String lang)
           
 String[] ProcessInstance.getAssignedStates(User user, String roleName)
          Returns all the state name assigned to the user with given role
 HistoryStep[] ProcessInstance.getBackSteps(User user, String roleName, String stateName)
          Get all the steps where given user (with given role) can go back from the given state
 Field ProcessInstance.getField(String fieldName)
           
 DataRecord ProcessInstance.getFolder()
           
 DataRecord ProcessInstance.getFormRecord(String formName, String role, String lang)
           
 User Question.getFromUser()
          Get the user who asked the question
 HistoryStep ProcessInstance.getHistoryStep(String stepId)
           
 LockingUser ProcessInstance.getLockingUser(String state)
           
 DataRecord ProcessInstance.getNewActionRecord(String actionName)
          Get a new data record associated to the given action
 Participant ProcessInstance.getParticipant(String resolvedState)
          Get the last user who resolved the given state
 Vector<Participant> ProcessInstance.getParticipants()
           
 Question[] ProcessInstance.getPendingQuestions(String stateName)
          Get all the questions asked in the given state
 ProcessModel ProcessInstance.getProcessModel()
           
 DataRecord ProcessInstance.getRowDataRecord(String role, String lang)
          Returns a DataRecord which will be used to represent this process instance as a row in a list.
 HistoryStep ProcessInstance.getSavedStep(String userId)
          Get step saved by given user id.
 ActionAndState ProcessInstance.getTimeOutAction(Date dateRef)
          Returns the timeout action to be launched after given date
 User Question.getToUser()
          Get the user who received the question
 User HistoryStep.getUser()
           
 List<User> ProcessInstance.getUsersInGroup(String groupId)
          Gets concrete users affected to given group at runtime
 List<User> ProcessInstance.getUsersInRole(String role)
          Gets concrete users affected to given role at runtime
 Actor[] ProcessInstance.getWorkingUsers()
          Returns all the working users on this instance.
 Actor[] ProcessInstance.getWorkingUsers(String state)
          Returns all the working users on this instance state.
 Actor[] ProcessInstance.getWorkingUsers(String state, String role)
          Returns all the working users on this instance state.
 void UpdatableProcessInstance.lock()
          Lock this instance by admin for all states
 void ProcessInstance.lock(State state, User user)
          Locks this instance for the given instance and state
 void UpdatableProcessInstance.reDoState(String state, Date actionDate)
          Cancel all the atomic operations since the step where first action had occured
 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 UpdatableProcessInstance.saveActionRecord(HistoryStep step, DataRecord formData)
          Save a new version of given form (including values)
 void HistoryStep.setActionRecord(DataRecord data)
          Set the data filled at this step
 void UpdatableProcessInstance.setField(String name, Field value)
           
 void UpdatableProcessInstance.unLock()
          Lock this instance by admin for all states
 void ProcessInstance.unLock(State state, User user)
          Un-locks this instance for the given instance and state
 void ProcessInstance.update()
           
 void UpdatableProcessInstance.updateHistoryStep(HistoryStep step)
           
 

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

Methods in com.silverpeas.workflow.api.model that throw WorkflowException
 void Presentation.deleteColumns(String strRoleName)
          Delete the Columns object with the given name
 Action ProcessModel.getAction(String name)
          Get the action definition with given name
 Action Actions.getAction(String name)
          Get the action definition with given name
 Form ProcessModel.getActionForm(String actionName)
          Returns the form (if any) associated to the named action.
 Action ProcessModel.getCreateAction(String role)
          Returns the action of kind create Throws a WorkflowException if there is no action of type create
 String[] ProcessModel.getCreationRoles()
          Returns the roles under which an user can create a new instance
 DataRecord Form.getDefaultRecord(String role, String lang, DataRecord data)
          Converts this object in a DataRecord object
 RecordSet ProcessModel.getFolderRecordSet()
          Returns the record set where are saved all the folder of the instance built from this model.
 RecordSet ProcessModel.getFormRecordSet(String formName)
          Returns the record set where are saved all the data of the named form.
 DataRecord ProcessModel.getNewActionRecord(String actionName, String roleName, String lang, DataRecord data)
          Returns an empty com.silverpeas.form.DataRecord which must be filled in order to process the named action.
 DataRecord ProcessModel.getNewUserInfosRecord(String roleName, String lang)
          Returns an empty com.silverpeas.form.DataRecord which must be filled in order to fill the user information Throws a WorkflowException if problem encountered.
 Form ProcessModel.getPresentationForm(String name, String role, String language)
          Returns the com.silverpeas.form.Form which be used to publish the named form.
 Form ProcessModel.getPublicationForm(String actionName, String role, String language)
          Returns the com.silverpeas.form.Form which be used to publish the form associated to the named action.
 void Actions.removeAction(String strActionName)
          Remove an action from the collection
 void AllowedActions.removeAllowedAction(String strAllowedActionName)
          Remove an allowedAction from the collection
 void ContextualDesignations.removeContextualDesignation(ContextualDesignation contextualDesignation)
          Remove a matching contextualDesignation from the collection.
 void Forms.removeForm(String strName, String strRole)
          Remove the form identified by name and role
 void Form.removeInput(int idx)
          Remove the input specified by the index
 void DataFolder.removeItem(String strItemName)
          Remove an item from the collection
 void Item.removeParameter(String strName)
          Remove the parameter specified by its name
 void Participants.removeParticipant(String strParticipantName)
          Remove an participant from the collection
 void QualifiedUsers.removeRelatedGroup(RelatedGroup reference)
          Remove a RelatedGroup from the collection
 void QualifiedUsers.removeRelatedUser(RelatedUser reference)
          Remove a RelatedUser from the collection
 void Roles.removeRole(String strRoleName)
          Remove an role from the collection
 void States.removeState(String strStateName)
          Remove an state from the collection
 RecordTemplate Form.toRecordTemplate(String roleName, String language)
          Converts this object in a RecordTemplate object
 RecordTemplate DataFolder.toRecordTemplate(String role, String lang, boolean disabled)
          Converts this object in a RecordTemplate object
 RecordTemplate Form.toRecordTemplate(String roleName, String language, boolean readOnly)
          Converts this object in a RecordTemplate object
 

Uses of WorkflowException in com.silverpeas.workflow.api.user
 

Methods in com.silverpeas.workflow.api.user that throw WorkflowException
 void UserSettings.save()
          Saves this settings in database
 

Uses of WorkflowException in com.silverpeas.workflow.engine
 

Methods in com.silverpeas.workflow.engine that throw WorkflowException
static ErrorManager WorkflowHub.getErrorManager()
           
static ProcessInstanceManager WorkflowHub.getProcessInstanceManager()
           
static ProcessModelManager WorkflowHub.getProcessModelManager()
           
static TaskManager WorkflowHub.getTaskManager()
           
static TimeoutManager WorkflowHub.getTimeoutManager()
           
static UserManager WorkflowHub.getUserManager()
           
static WorkflowEngine WorkflowHub.getWorkflowEngine()
           
 void WorkflowEngineImpl.process(QuestionEvent event)
          A question has been sent to a previous participant
 void WorkflowEngineImpl.process(ResponseEvent event)
          A question had been sent to a previous participant.
 void WorkflowEngineImpl.process(TaskDoneEvent event)
          A task has been done and sent to the workflow Enginewhich has to process it.
 void WorkflowEngineImpl.process(TaskDoneEvent event, boolean ignoreControls)
          A task has been done and sent to the workflow Enginewhich has to process it.
 void WorkflowEngineImpl.process(TaskSavedEvent event)
          A task has been saved and sent to the workflow Enginewhich has to process it.
 void WorkflowEngineImpl.reAssignActors(UpdatableProcessInstance instance, Actor[] unAssignedActors, Actor[] assignedActors, User user)
          Do re-affectation for given states Remove users as working users and unassign corresponding tasks Add users as working users and assign corresponding tasks
 

Uses of WorkflowException in com.silverpeas.workflow.engine.dataRecord
 

Constructors in com.silverpeas.workflow.engine.dataRecord that throw WorkflowException
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 WorkflowException in com.silverpeas.workflow.engine.error
 

Methods in com.silverpeas.workflow.engine.error that throw WorkflowException
 Action WorkflowErrorImpl.getAction()
           
 HistoryStep WorkflowErrorImpl.getHistoryStep()
           
 ProcessInstance WorkflowErrorImpl.getProcessInstance()
           
 State WorkflowErrorImpl.getResolvedState()
           
 User WorkflowErrorImpl.getUser()
           
 

Uses of WorkflowException in com.silverpeas.workflow.engine.exception
 

Subclasses of WorkflowException in com.silverpeas.workflow.engine.exception
 class UnknownUserException
          Thrown when a user is unknown
 

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

Methods in com.silverpeas.workflow.engine.instance that throw WorkflowException
 void ProcessInstanceImpl.addActiveState(State state)
          Set a state active for this instance
 void ProcessInstanceImpl.addHistoryStep(HistoryStep step)
          Add an history step 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
 void ProcessInstanceImpl.addQuestion(Question question)
          Add a question for this instance
 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
 State ProcessInstanceImpl.answerQuestion(String content, String questionId)
          Answer a question
 void ProcessInstanceImpl.cancelQuestion(Question question)
          Cancel a question without response 1 - make a fictive answer 2 - remove active state 3 - remove working user 4 - recurse in question target state, if questions have been asked in cascade
 String ProcessInstanceImpl.create()
          Creates this instance in database
 ProcessInstance ProcessInstanceManagerImpl.createProcessInstance(String modelId)
          Creates a new process instance
 void ProcessInstanceImpl.delete()
          Permanently removes this instance from database
 void HistoryStepImpl.deleteActionRecord()
          Delete the data associated to this step.
 DataRecord HistoryStepImpl.getActionRecord()
          Get the data associated to this step.
 DataRecord ProcessInstanceImpl.getActionRecord(String actionName)
          Get the data associated to the given action
 Actor[] ProcessInstanceImpl.getActors(QualifiedUsers qualifiedUsers, State state)
          Computes tuples role/user/state (stored in an Actor object) from a QualifiedUsers object
 DataRecord ProcessInstanceImpl.getAllDataRecord(String role, String lang)
          Returns a data record with all the accessible data in this instance.
 String[] ProcessInstanceImpl.getAssignedStates(User user, String roleName)
          Returns all the state name assigned to the user.
 HistoryStep[] ProcessInstanceImpl.getBackSteps(User user, String roleName, String stateName)
          Get all the steps where given user (with given role) can go back from the given state
 Field ProcessInstanceImpl.getField(String fieldName)
          Returns the required field from the folder.
 DataRecord ProcessInstanceImpl.getFolder()
          Returns the folder as a DataRecord
 DataRecord ProcessInstanceImpl.getFormRecord(String formName, String role, String lang)
           
 User QuestionImpl.getFromUser()
          Get the user who asked the question
 HistoryStep ProcessInstanceImpl.getHistoryStep(String stepId)
           
 LockingUser ProcessInstanceImpl.getLockingUser(String state)
           
 DataRecord ProcessInstanceImpl.getNewActionRecord(String actionName)
          Get a new data record associated to the given action
 Participant ProcessInstanceImpl.getParticipant(String resolvedState)
          Get the last user who resolved the given state
 Vector<Participant> ProcessInstanceImpl.getParticipants()
           
 ProcessInstance ProcessInstanceManagerImpl.getProcessInstance(String instanceId)
          Get the process instances for a given instance id
 ProcessInstance[] ProcessInstanceManagerImpl.getProcessInstances(String peasId, User user, String role)
           
 ProcessInstance[] ProcessInstanceManagerImpl.getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] userGroupIds)
           
 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
 ProcessModel ProcessInstanceImpl.getProcessModel()
           
 DataRecord ProcessInstanceImpl.getRowDataRecord(String role, String lang)
          Returns a data record with all the main data in this instance.
 HistoryStep ProcessInstanceImpl.getSavedStep(String userId)
          Get step saved by given user id.
 ActionAndState ProcessInstanceImpl.getTimeOutAction(Date dateRef)
          Returns the timeout action to be launched after given date
 ProcessInstance[] ProcessInstanceManagerImpl.getTimeOutProcessInstances()
          Get the list of process instances for which timeout date is over
 User QuestionImpl.getToUser()
          Get the user who received the question
 User HistoryStepImpl.getUser()
          Get the actor of the action logged in this History step
 List<User> ProcessInstanceImpl.getUsersInGroup(String groupId)
           
 List<User> ProcessInstanceImpl.getUsersInRole(String role)
           
 Actor[] ProcessInstanceImpl.getWorkingUsers()
           
 Actor[] ProcessInstanceImpl.getWorkingUsers(String state)
           
 Actor[] ProcessInstanceImpl.getWorkingUsers(String state, String role)
           
 void ProcessInstanceImpl.lock()
          Lock this instance for the engine
 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.reDoState(String state, Date actionDate)
          Cancel all the atomic operations since the step where first action had occured
 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 ProcessInstanceManagerImpl.removeProcessInstance(String instanceId)
          Removes a new process instance
 void ProcessInstanceManagerImpl.removeProcessInstanceData(ProcessInstance instance)
           
 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 ProcessInstanceImpl.saveActionRecord(HistoryStep step, DataRecord actionData)
          Set the form associated to the given action
 void HistoryStepImpl.setActionRecord(DataRecord data)
          Set the data associated to this step.
 void ProcessInstanceImpl.setField(String fieldName, Field copiedField)
          Update the named field with the value of the given field.
 Actor WorkingUser.toActor()
          Converts WorkingUser to Actor
 Collection<Actor> WorkingUser.toActors()
          Converts WorkingUser to Actors
 User LockingUser.toUser()
          Converts LockingUser to User
 User WorkingUser.toUser()
          Converts WorkingUser to User
 User InterestedUser.toUser()
          Converts InterestedUser to User
static User[] InterestedUser.toUser(InterestedUser[] interestedUsers)
          Get User information from an array of workingUsers
static User[] LockingUser.toUser(LockingUser[] lockingUsers)
          Get User information from an array of lockingUsers
static User[] WorkingUser.toUser(WorkingUser[] workingUsers)
          Get User information from an array of workingUsers
 void ProcessInstanceImpl.unLock()
          Unlock this instance for the engine
 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
 void ProcessInstanceImpl.update()
          Store modifications of this instance in database
 void ProcessInstanceImpl.updateHistoryStep(HistoryStep step)
          Update an history step for this instance
 

Uses of WorkflowException in com.silverpeas.workflow.engine.jdo
 

Methods in com.silverpeas.workflow.engine.jdo that throw WorkflowException
static org.exolab.castor.jdo.Database WorkflowJDOManager.getDatabase()
          Get a connection to database
static org.exolab.castor.jdo.Database WorkflowJDOManager.getDatabase(boolean fast)
          Get a connection to database
 

Uses of WorkflowException in com.silverpeas.workflow.engine.model
 

Methods in com.silverpeas.workflow.engine.model that throw WorkflowException
 ProcessModel ProcessModelManagerImpl.createProcessModel(String processFileName, String peasId)
          Create a ProcessModel from xml descriptor filename.
 ProcessModel ProcessModelManagerImpl.createProcessModelDescriptor()
           
 void PresentationImpl.deleteColumns(String strRoleName)
           
 void ProcessModelManagerImpl.deleteProcessModel(String instanceId)
          Delete a ProcessModel with given model id
 void ProcessModelManagerImpl.deleteProcessModelDescriptor(String strProcessModelFileName)
           
 Action ProcessModelImpl.getAction(String name)
          Get the action with the given name
 Action ActionsImpl.getAction(String name)
           
 Form ProcessModelImpl.getActionForm(String actionName)
          Returns the form (if any) associated to the named action.
 String[] ProcessModelManagerImpl.getAllPeasIds()
          Get all the "process manager" peas ids
 Action ProcessModelImpl.getCreateAction(String role)
          Returns the action of kind create Throws a WorkflowException if there is no action of type create
 String[] ProcessModelImpl.getCreationRoles()
          Returns the roles under which an user can create a new instance
 DataRecord FormImpl.getDefaultRecord(String role, String lang, DataRecord data)
          Converts this object in a DataRecord object
 RecordSet ProcessModelImpl.getFolderRecordSet()
          Returns the record set where are saved all the folder of the instance built from this model.
 RecordSet ProcessModelImpl.getFormRecordSet(String formName)
          Returns the record set where are saved all the data of the named form.
 DataRecord ProcessModelImpl.getNewActionRecord(String actionName, String roleName, String lang, DataRecord data)
          Returns an empty com.silverpeas.form.DataRecord which must be filled in order to process the named action.
 DataRecord ProcessModelImpl.getNewUserInfosRecord(String roleName, String lang)
          Returns an empty com.silverpeas.form.DataRecord which must be filled in order to fill the user information Throws a WorkflowException if problem encountered.
 Form ProcessModelImpl.getPresentationForm(String name, String roleName, String lang)
          Returns the com.silverpeas.form.Form which be used to publish the form associated to the named action or form.
 ProcessModel ProcessModelManagerImpl.getProcessModel(String modelId)
          Get a ProcessModel from its modelId.
 Form ProcessModelImpl.getPublicationForm(String actionName, String roleName, String lang)
          Returns the com.silverpeas.form.Form which be used to publish the form associated to the named action.
 List<String> ProcessModelManagerImpl.listProcessModels()
           
 ProcessModel ProcessModelManagerImpl.loadProcessModel(String processFileName, boolean absolutePath)
          load a process model definition from xml file to java objects
 void ActionsImpl.removeAction(String strActionName)
           
 void ActionRefs.removeAllowedAction(String strAllowedActionName)
           
 void SpecificLabelListHelper.removeContextualDesignation(ContextualDesignation contextualDesignation)
           
 void FormsImpl.removeForm(String strName, String strRole)
           
 void FormImpl.removeInput(int idx)
           
 void DataFolderImpl.removeItem(String strItemName)
           
 void ItemImpl.removeParameter(String strName)
           
 void ParticipantsImpl.removeParticipant(String strParticipantName)
           
 void QualifiedUsersImpl.removeRelatedGroup(RelatedGroup reference)
           
 void QualifiedUsersImpl.removeRelatedUser(RelatedUser reference)
           
 void RolesImpl.removeRole(String strRoleName)
           
 void StatesImpl.removeState(String strStateName)
           
 void ProcessModelManagerImpl.saveProcessModel(ProcessModel process, String processFileName)
          Saves a process model definition from java objects to an XML file
 RecordTemplate FormImpl.toRecordTemplate(String role, String lang)
          Converts this object in a RecordTemplate object
 RecordTemplate FormImpl.toRecordTemplate(String role, String lang, boolean readOnly)
          Converts this object in a RecordTemplate object
 RecordTemplate DataFolderImpl.toRecordTemplate(String role, String lang, boolean readonly)
          Converts this object in a RecordTemplate object
 

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

Methods in com.silverpeas.workflow.engine.task that throw WorkflowException
 void TaskManagerImpl.assignTask(Task task, User delegator)
          Adds a new task in the user's todos.
 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.getCreationTask(User user, String roleName, ProcessModel processModel)
          Returns the creation task of a processModel or null if the user is not allowed to create a new instance.
 String TaskManagerImpl.getProcessInstanceIdFromExternalTodoId(String externalTodoId)
          Get the process instance Id referred by the todo with the given todo id
 String TaskManagerImpl.getRoleNameFromExternalTodoId(String externalTodoId)
          Get the role name of task referred by the todo with the given todo id
 Task[] AbstractTaskManager.getTasks(User user, String roleName, ProcessInstance processInstance)
          Returns the tasks assigned to a user on a processInstance.
 void TaskManagerImpl.notifyActor(Task task, User sender, User user, String text)
          Notify user that an action has been done
 void TaskManagerImpl.unAssignTask(Task task)
          Removes a task.
 

Constructors in com.silverpeas.workflow.engine.task that throw WorkflowException
CreationTaskImpl(User user, String roleName, ProcessModel processModel)
          Builds a CreationTaskImpl.
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 WorkflowException in com.silverpeas.workflow.engine.user
 

Methods in com.silverpeas.workflow.engine.user that throw WorkflowException
 User UserManagerImpl.getRelatedUser(User user, String relation, String peasId)
          Get a user from a given user and relation
 String[] UserManagerImpl.getRoleNames(User user, String modelId)
          Returns all the roles of a given user relative to a processModel.
 User UserManagerImpl.getUser(String userId)
          Returns the user with the given userId
 User[] UserManagerImpl.getUsers(String[] userIds)
          Make a User[] from a userIds' String[].
 UserSettings UserManagerImpl.getUserSettings(String userId, String peasId)
          Get the user settings in database The full list of information is described in the process model
 User[] UserManagerImpl.getUsersInRole(String roleName, String modelId)
          Returns all the users having a given role relative to a processModel.
 void UserManagerImpl.resetUserSettings(String userId, String peasId)
           
 void UserSettingsImpl.save()
          Saves this settings in database
 

Uses of WorkflowException in com.silverpeas.workflowdesigner.control
 

Methods in com.silverpeas.workflowdesigner.control that throw WorkflowException
 Action WorkflowDesignerSessionController.findAction(String strContext)
          Get the Action specified by the context
 Consequence WorkflowDesignerSessionController.findConsequence(String strContext)
          Find the Consequence specified by the context
 QualifiedUsers WorkflowDesignerSessionController.findQualifiedUsers(String strContext)
          Find the QualifiedUsers specified by the context
 RelatedUser WorkflowDesignerSessionController.findRelatedUser(String strContext, String strParticipant, String strFolderItem, String strRelation, String strRole)
          Find a related user corresponding to the criteria given
 void WorkflowDesignerSessionController.removeAction(String strActionName)
          Remove the action specified
 void WorkflowDesignerSessionController.removeForm(String strContext)
          Remove the form described by the context
 void WorkflowDesignerSessionController.removeInput(String strContext)
          Remove the input specified by the context
 void WorkflowDesignerSessionController.removeItem(String strContext)
          Remove the item described by the context
 void WorkflowDesignerSessionController.removeParameter(String strContext, String strName)
          Remove the parameter described by the context and name
 void WorkflowDesignerSessionController.removeRelatedUser(RelatedUser reference, String strContext)
          Remove the related user specified
 void WorkflowDesignerSessionController.setQualifiedUsers(QualifiedUsers qualifiedUsers, String strContext)
          Set the QualifiedUsers specified by the context to the given value
 void WorkflowDesignerSessionController.updateAction(Action source, String strNameOriginal)
          Update or insert a new action element of the cached process model
 void WorkflowDesignerSessionController.updateConsequence(Consequence source, String strContext)
          Update or insert a new consequence element of the cached process model
 void WorkflowDesignerSessionController.updateQualifiedUsers(QualifiedUsers source, String strContext)
          Update Qualified Users referenced by the context, create the object if it was null before.
 void WorkflowDesignerSessionController.updateRelatedUser(RelatedUser source, String strContext, String strParticipantOriginal, String strFolderItemOriginal, String strRelationOriginal, String strRoleOriginal)
          Update a related user corresponding to the criteria given
 void WorkflowDesignerSessionController.uploadProcessModel(org.apache.commons.fileupload.FileItem model)
          Upload given process model in workflow repository.
 

Uses of WorkflowException in com.silverpeas.workflowdesigner.servlets
 

Methods in com.silverpeas.workflowdesigner.servlets that throw WorkflowException
 String FunctionHandler.getDestination(String function, WorkflowDesignerSessionController workflowDesignerSC, javax.servlet.http.HttpServletRequest request)
          Handle the function do the processing and return the URL of the response
 



Copyright © 2016 Silverpeas. All Rights Reserved.