Uses of Class
org.silverpeas.core.workflow.api.WorkflowException
-
-
Uses of WorkflowException in org.silverpeas.core.workflow.api
Subclasses of WorkflowException in org.silverpeas.core.workflow.api Modifier and Type Class Description class
WorkflowFatalException
Thrown when a fatal error occured in a workflow engine component.Methods in org.silverpeas.core.workflow.api that throw WorkflowException Modifier and Type Method Description 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 instanceProcessModel
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 idvoid
ProcessModelManager. deleteProcessModelDescriptor(String strProcessModelFileName)
Delete a ProcessModelDescriptor XML with given pathString[]
ProcessModelManager. getAllPeasIds()
Get all the "process manager" peas idsTask
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.ProcessInstance
ProcessInstanceManager. getProcessInstance(String instanceId)
Get the process instances for a given instance idString
TaskManager. getProcessInstanceIdFromExternalTodoId(String externalTodoId)
Get the process instance Id referred by the task to do with the given identifier.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.ProcessModel
ProcessModelManager. getProcessModel(String modelId)
Get a ProcessModel from its modelId.User
UserManager. getRelatedUser(User user, String relation, String peasId)
Get a user from a given user and relationString
TaskManager. getRoleNameFromExternalTodoId(String externalTodoId)
Get the role name of task referred by the task to do with the given identifierTask[]
TaskManager. getTasks(User user, String roleName, ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance.SilverpeasList<ProcessInstance>
ProcessInstanceManager. getTimeOutProcessInstances()
Get the list of process instances for which timeout date is overUser
UserManager. getUser(String userId)
Returns the user with the given userIdUser[]
UserManager. getUsers(String[] userIds)
Make a User[] from a userIds' String[].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)
load a process model definition from xml file to java objectsvoid
UpdatableProcessInstanceManager. lock(ProcessInstance instance, State state, User user)
Locks the given instance for the given instance and statevoid
TaskManager. notifyActor(Task task, User sender, Actor user, String text, boolean linkDisabled)
Notify user that an action has been donevoid
WorkflowEngine. process(QuestionEvent event)
A question has been sent to a previous participantvoid
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.void
UpdatableProcessInstanceManager. removeProcessInstance(String instanceId)
Removes a new process instancevoid
ProcessModelManager. saveProcessModel(ProcessModel process, String processFileName)
Saves a process model definition from java objects to an XML filevoid
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 org.silverpeas.core.workflow.api.error
Methods in org.silverpeas.core.workflow.api.error that throw WorkflowException Modifier and Type Method Description Action
WorkflowError. getAction()
ProcessInstance
WorkflowError. getProcessInstance()
State
WorkflowError. getResolvedState()
User
WorkflowError. getUser()
-
Uses of WorkflowException in org.silverpeas.core.workflow.api.instance
Methods in org.silverpeas.core.workflow.api.instance that throw WorkflowException Modifier and Type Method Description void
UpdatableProcessInstance. addActiveState(State state)
Adds the specified state as an active one in this process instance.void
UpdatableProcessInstance. addHistoryStep(HistoryStep step)
Add a step in the history of actions performed in this process instance.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)
Adds a timeout to the specified active state.void
UpdatableProcessInstance. addWorkingUser(Actor actor, State state)
Adds the specified actor to the given state.void
UpdatableProcessInstance. addWorkingUser(User user, State state, String role)
Adds the specified working user to the given state with the specified role.State
ProcessInstance. answerQuestion(String content, String questionId)
Answer a questionvoid
UpdatableProcessInstance. cancelQuestion(Question question)
Cancel a question without responsevoid
HistoryStep. deleteActionRecord()
Delete the data filled at this stepDataRecord
HistoryStep. getActionRecord()
Get the data filled at this stepDataRecord
ProcessInstance. getActionRecord(String actionName)
Gets the data that were provided to the specified action when it was was performed.Actor[]
ProcessInstance. getActors(QualifiedUsers qualifiedUsers, State state)
Computes tuples role/user (stored in an Actor object) from a QualifiedUsers objectDataRecord
ProcessInstance. getAllDataRecord(String role, String lang)
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 stateField
ProcessInstance. getField(String fieldName)
Gets the specified field.DataRecord
ProcessInstance. getFolder()
Gets the folder of this process instance.DataRecord
ProcessInstance. getFormRecord(String formName, String role, String lang)
Gets the data record of the specified form for the given role and written in the specified language.User
Question. getFromUser()
Get the user who asked the questionHistoryStep
ProcessInstance. getHistoryStep(String stepId)
Gets the step with the specified identifier in the history of this process instance.DataRecord
ProcessInstance. getNewActionRecord(String actionName, String language)
Gets a new data record associated with the given action.Participant
ProcessInstance. getParticipant(String resolvedState)
Get the last user who resolved the given stateList<Participant>
ProcessInstance. getParticipants()
Gets all the participants in this process instance.Question[]
ProcessInstance. getPendingQuestions(String stateName)
Get all the questions asked in the given stateProcessModel
ProcessInstance. getProcessModel()
Gets the model of the process from which it was spawned.DataRecord
ProcessInstance. getRowDataRecord(String role, String lang)
Gets a data record which will be used to render this process instance as a row in a list of process instances.HistoryStep
ProcessInstance. getSavedStep(String userId)
Get step saved by given user id.ActionAndState
ProcessInstance. getTimeOutAction(Date dateRef)
Gets the timeout action to be launched after the given datetime.User
Question. getToUser()
Get the user who received the questionUser
HistoryStep. getUser()
List<User>
ProcessInstance. getUsersInGroup(String groupId)
Gets concrete users affected to given group at runtimeList<User>
ProcessInstance. getUsersInRole(String role)
Gets concrete users affected to given role at runtimeActor[]
ProcessInstance. getWorkingUsers()
Gets all the users working on this process instance.Actor[]
ProcessInstance. getWorkingUsers(String state)
Gets all the users working on the specified state of this instance state.Actor[]
ProcessInstance. getWorkingUsers(String state, String role)
Gets all the users working on the specified state of this instance state with the given role.void
ProcessInstance. lock(State state, User user)
Locks this instance for the given instance and statevoid
UpdatableProcessInstance. lock()
Lock this instance by admin for all statesvoid
UpdatableProcessInstance. reDoState(String state, Date actionDate)
Cancel all the atomic operations since the step where first action had occurredvoid
UpdatableProcessInstance. removeActiveState(State state)
Removes the specified state as an active one.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)
Removes the timeout from the specified active state.void
UpdatableProcessInstance. removeWorkingUser(User user, State state, String role)
Removes the specified user from the working users of the specified state and with the given role.void
UpdatableProcessInstance. removeWorkingUsers(State state)
Remove all working users for given statevoid
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 stepvoid
UpdatableProcessInstance. setField(String name, Field field)
Sets the specified field in the process instance.void
ProcessInstance. unLock(State state, User user)
Un-locks this instance for the given instance and statevoid
UpdatableProcessInstance. unLock()
Lock this instance by admin for all statesvoid
ProcessInstance. updateFolder(DataRecord data)
Updates the folder of this process instance with the specified one. -
Uses of WorkflowException in org.silverpeas.core.workflow.api.model
Methods in org.silverpeas.core.workflow.api.model that throw WorkflowException Modifier and Type Method Description void
Presentation. deleteColumns(String strRoleName)
Delete the Columns object with the given nameAction
Actions. getAction(String name)
Get the action definition with given nameAction
ProcessModel. getAction(String name)
Get the action definition with given nameForm
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 createString[]
ProcessModel. getCreationRoles()
Returns the roles under which an user can create a new instanceDataRecord
Form. getDefaultRecord(String role, String lang, DataRecord data)
Converts this object in a DataRecord objectRecordSet
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 DataRecord which must be filled in order to process the named action.DataRecord
ProcessModel. getNewUserInfosRecord(String roleName, String lang)
Returns an empty 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 Form which be used to publish the named form.Form
ProcessModel. getPublicationForm(String actionName, String role, String language)
Returns the Form which be used to publish the form associated to the named action.void
Actions. removeAction(String strActionName)
Remove an action from the collectionvoid
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 rolevoid
Form. removeInput(int idx)
Remove the input specified by the indexvoid
DataFolder. removeItem(String strItemName)
Remove an item from the collectionvoid
Item. removeParameter(String strName)
Remove the parameter specified by its namevoid
Participants. removeParticipant(String strParticipantName)
Remove an participant from the collectionvoid
QualifiedUsers. removeRelatedUser(RelatedUser reference)
Remove a RelatedUser from the collectionvoid
Roles. removeRole(String strRoleName)
Remove an role from the collectionvoid
States. removeState(String strStateName)
Remove an state from the collectionRecordTemplate
DataFolder. toRecordTemplate(String role, String lang, boolean disabled)
Converts this object in a RecordTemplate objectRecordTemplate
Form. toRecordTemplate(String roleName, String language)
Converts this object in a RecordTemplate objectRecordTemplate
Form. toRecordTemplate(String roleName, String language, boolean readOnly)
Converts this object in a RecordTemplate object -
Uses of WorkflowException in org.silverpeas.core.workflow.engine
Methods in org.silverpeas.core.workflow.engine that throw WorkflowException Modifier and Type Method Description void
Request. process()
void
WorkflowEngineImpl. process(QuestionEvent event)
A question has been sent to a previous participantvoid
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 Engine which has to process it.void
WorkflowEngineImpl. process(TaskDoneEvent event, boolean ignoreControls)
A task has been done and sent to the workflow Engine which has to process it.void
WorkflowEngineImpl. process(TaskSavedEvent event)
A task has been saved and sent to the workflow Engine which has to process it.protected abstract boolean
AbstractRequest. processEvent(UpdatableProcessInstance instance, String stepId)
Processes the event mapped with the specified process instance and for the specified step.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 org.silverpeas.core.workflow.engine.datarecord
Methods in org.silverpeas.core.workflow.engine.datarecord that throw WorkflowException Modifier and Type Method Description protected abstract ProcessInstanceTemplate
AbstractProcessInstanceDataRecord. getTemplate(String role, String lang)
protected ProcessInstanceTemplate
ProcessInstanceDataRecord. getTemplate(String role, String lang)
protected ProcessInstanceTemplate
ProcessInstanceRowRecord. getTemplate(String role, String lang)
Constructors in org.silverpeas.core.workflow.engine.datarecord that throw WorkflowException 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 WorkflowException in org.silverpeas.core.workflow.engine.error
Methods in org.silverpeas.core.workflow.engine.error that throw WorkflowException Modifier and Type Method Description Action
WorkflowErrorImpl. getAction()
ProcessInstance
WorkflowErrorImpl. getProcessInstance()
State
WorkflowErrorImpl. getResolvedState()
User
WorkflowErrorImpl. getUser()
-
Uses of WorkflowException in org.silverpeas.core.workflow.engine.exception
Subclasses of WorkflowException in org.silverpeas.core.workflow.engine.exception Modifier and Type Class Description class
UnknownUserException
Thrown when a user is unknown -
Uses of WorkflowException in org.silverpeas.core.workflow.engine.instance
Methods in org.silverpeas.core.workflow.engine.instance that throw WorkflowException Modifier and Type Method Description State
ProcessInstanceImpl. addQuestion(String content, String stepId, State fromState, User fromUser)
State
ProcessInstanceImpl. answerQuestion(String content, String questionId)
void
ProcessInstanceImpl. cancelQuestion(Question question)
ProcessInstance
ProcessInstanceManagerImpl. createProcessInstance(String modelId)
Creates a new process instancevoid
HistoryStepImpl. deleteActionRecord()
Delete the data associated to this step.DataRecord
HistoryStepImpl. getActionRecord()
Get the data associated to this step.DataRecord
ProcessInstanceImpl. getActionRecord(String actionName)
Actor[]
ProcessInstanceImpl. getActors(QualifiedUsers qualifiedUsers, State state)
DataRecord
ProcessInstanceImpl. getAllDataRecord(String role, String lang)
HistoryStep[]
ProcessInstanceImpl. getBackSteps(User user, String roleName, String stateName)
Field
ProcessInstanceImpl. getField(String fieldName)
DataRecord
ProcessInstanceImpl. getFolder()
DataRecord
ProcessInstanceImpl. getFormRecord(String formName, String role, String lang)
User
QuestionImpl. getFromUser()
Get the user who asked the questionHistoryStep
ProcessInstanceImpl. getHistoryStep(String stepId)
DataRecord
ProcessInstanceImpl. getNewActionRecord(String actionName, String language)
Participant
ProcessInstanceImpl. getParticipant(String resolvedState)
List<Participant>
ProcessInstanceImpl. getParticipants()
ProcessInstance
ProcessInstanceManagerImpl. getProcessInstance(String instanceId)
Get the process instances for a given instance idList<ProcessInstance>
ProcessInstanceManagerImpl. getProcessInstances(String peasId, User user, String role)
List<ProcessInstance>
ProcessInstanceManagerImpl. getProcessInstances(String peasId, User user, String role, String[] userRoles, String[] userGroupIds)
ProcessModel
ProcessInstanceImpl. getProcessModel()
DataRecord
ProcessInstanceImpl. getRowDataRecord(String role, String lang)
HistoryStep
ProcessInstanceImpl. getSavedStep(String userId)
ActionAndState
ProcessInstanceImpl. getTimeOutAction(Date dateRef)
SilverpeasList<ProcessInstance>
ProcessInstanceManagerImpl. getTimeOutProcessInstances()
Get the list of process instances for which timeout date is overUser
QuestionImpl. getToUser()
Get the user who received the questionUser
HistoryStepImpl. getUser()
Get the actor of the action logged in this History stepActor[]
ProcessInstanceImpl. getWorkingUsers()
Actor[]
ProcessInstanceImpl. getWorkingUsers(String state)
Actor[]
ProcessInstanceImpl. getWorkingUsers(String state, String role)
void
ProcessInstanceImpl. lock()
void
ProcessInstanceImpl. lock(State state, User user)
void
ProcessInstanceManagerImpl. lock(ProcessInstance instance, State state, User user)
Locks this instance for the given instance and statevoid
ProcessInstanceImpl. reDoState(String state, Date actionDate)
void
ProcessInstanceManagerImpl. removeProcessInstance(String instanceId)
Removes a new process instancevoid
ProcessInstanceManagerImpl. removeProcessInstanceData(ProcessInstance instance)
void
ProcessInstanceImpl. saveActionRecord(HistoryStep step, DataRecord actionData)
void
HistoryStepImpl. setActionRecord(DataRecord data)
Set the data associated to this step.void
ProcessInstanceImpl. setField(String fieldName, Field copiedField)
Collection<Actor>
WorkingUser. toActors()
Converts WorkingUser to Actorsstatic User[]
WorkingUser. toUser(WorkingUser[] workingUsers)
Get User information from an array of workingUsersvoid
ProcessInstanceManagerImpl. unlock(ProcessInstance instance, State state, User user)
unlocks this instance for the given instance and statevoid
ProcessInstanceImpl. unLock(State state, User user)
void
ProcessInstanceImpl. updateFolder(DataRecord actionData)
-
Uses of WorkflowException in org.silverpeas.core.workflow.engine.model
Methods in org.silverpeas.core.workflow.engine.model that throw WorkflowException Modifier and Type Method Description 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 idvoid
ProcessModelManagerImpl. deleteProcessModelDescriptor(String strProcessModelFileName)
Action
ActionsImpl. getAction(String name)
Action
ProcessModelImpl. getAction(String name)
Get the action with the given nameForm
ProcessModelImpl. getActionForm(String actionName)
Returns the form (if any) associated to the named action.String[]
ProcessModelManagerImpl. getAllPeasIds()
Get all the "process manager" peas idsAction
ProcessModelImpl. getCreateAction(String role)
Returns the action of kind create Throws a WorkflowException if there is no action of type createString[]
ProcessModelImpl. getCreationRoles()
Returns the roles under which an user can create a new instanceDataRecord
FormImpl. getDefaultRecord(String role, String lang, DataRecord data)
Converts this object in a DataRecord objectRecordSet
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 DataRecord which must be filled in order to process the named action.DataRecord
ProcessModelImpl. getNewUserInfosRecord(String roleName, String lang)
Returns an empty 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 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 Form which be used to publish the form associated to the named action.List<String>
ProcessModelManagerImpl. listProcessModels()
ProcessModel
ProcessModelManagerImpl. loadProcessModel(String processFileName)
load a process model definition from xml file to java objectsvoid
ActionsImpl. removeAction(String strActionName)
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. 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 fileRecordTemplate
DataFolderImpl. toRecordTemplate(String role, String lang, boolean readonly)
Converts this object in a RecordTemplate objectRecordTemplate
FormImpl. toRecordTemplate(String role, String lang)
Converts this object in a RecordTemplate objectRecordTemplate
FormImpl. toRecordTemplate(String role, String lang, boolean readOnly)
Converts this object in a RecordTemplate object -
Uses of WorkflowException in org.silverpeas.core.workflow.engine.task
Methods in org.silverpeas.core.workflow.engine.task that throw WorkflowException Modifier and Type Method Description 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 task to do with the given identifierString
TaskManagerImpl. getRoleNameFromExternalTodoId(String externalTodoId)
Get the role name of task referred by the task to do with the given identifierTask[]
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, Actor user, String text, boolean linkDisabled)
Notify user that an action has been donevoid
TaskManagerImpl. unAssignTask(Task task)
Removes a task.Constructors in org.silverpeas.core.workflow.engine.task that throw WorkflowException Constructor Description CreationTaskImpl(User user, String roleName, ProcessModel processModel)
Builds a CreationTaskImpl. -
Uses of WorkflowException in org.silverpeas.core.workflow.engine.user
Methods in org.silverpeas.core.workflow.engine.user that throw WorkflowException Modifier and Type Method Description User
UserManagerImpl. getRelatedUser(User user, String relation, String peasId)
Get a user from a given user and relationUser
UserManagerImpl. getUser(String userId)
Returns the user with the given userIdUser[]
UserManagerImpl. getUsers(String[] userIds)
Make a User[] from a userIds' String[]. -
Uses of WorkflowException in org.silverpeas.web.workflowdesigner.control
Methods in org.silverpeas.web.workflowdesigner.control that throw WorkflowException Modifier and Type Method Description Action
WorkflowDesignerSessionController. findAction(String strContext)
Get the Action specified by the contextConsequence
WorkflowDesignerSessionController. findConsequence(String strContext)
Find the Consequence specified by the contextQualifiedUsers
WorkflowDesignerSessionController. findQualifiedUsers(String strContext)
Find the QualifiedUsers specified by the contextRelatedUser
WorkflowDesignerSessionController. findRelatedUser(String strContext, String strParticipant, String strFolderItem, String strRelation, String strRole)
Find a related user corresponding to the criteria givenvoid
WorkflowDesignerSessionController. removeAction(String strActionName)
Remove the action specifiedvoid
WorkflowDesignerSessionController. removeForm(String strContext)
Remove the form described by the contextvoid
WorkflowDesignerSessionController. removeInput(String strContext)
Remove the input specified by the contextvoid
WorkflowDesignerSessionController. removeItem(String strContext)
Remove the item described by the contextvoid
WorkflowDesignerSessionController. removeParameter(String strContext, String strName)
Remove the parameter described by the context and namevoid
WorkflowDesignerSessionController. removeRelatedUser(RelatedUser reference, String strContext)
Remove the related user specifiedvoid
WorkflowDesignerSessionController. setQualifiedUsers(QualifiedUsers qualifiedUsers, String strContext)
Set the QualifiedUsers specified by the context to the given valuevoid
WorkflowDesignerSessionController. updateAction(Action source, String strNameOriginal)
Update or insert a new action element of the cached process modelvoid
WorkflowDesignerSessionController. updateConsequence(Consequence source, String strContext)
Update or insert a new consequence element of the cached process modelvoid
WorkflowDesignerSessionController. updateQualifiedUsers(QualifiedUsers source, String strContext)
Update Qualified Users referenced by the context, create the object if it wasnull
before.void
WorkflowDesignerSessionController. updateRelatedUser(RelatedUser source, String strContext, String strParticipantOriginal, String strFolderItemOriginal, String strRelationOriginal, String strRoleOriginal)
Update a related user corresponding to the criteria givenvoid
WorkflowDesignerSessionController. uploadProcessModel(org.apache.commons.fileupload.FileItem model)
Upload given process model in workflow repository. -
Uses of WorkflowException in org.silverpeas.web.workflowdesigner.servlets
Methods in org.silverpeas.web.workflowdesigner.servlets that throw WorkflowException Modifier and Type Method Description 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
-