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[].User[]
UserManager. getUsersInRole(String roleName, String processModelId)
Returns all the users having a given role relative to a processModel.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)
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 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)
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)
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 objectDataRecord
ProcessInstance. getAllDataRecord(String role, String lang)
String[]
ProcessInstance. getAssignedStates(User user, String roleName)
Returns all the state name assigned to the user with given roleHistoryStep[]
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)
DataRecord
ProcessInstance. getFolder()
DataRecord
ProcessInstance. getFormRecord(String formName, String role, String lang)
User
Question. getFromUser()
Get the user who asked the questionHistoryStep
ProcessInstance. getHistoryStep(String stepId)
LockingUser
ProcessInstance. getLockingUser(String state)
DataRecord
ProcessInstance. getNewActionRecord(String actionName, String language)
Get a new data record associated to the given actionParticipant
ProcessInstance. getParticipant(String resolvedState)
Get the last user who resolved the given stateList<Participant>
ProcessInstance. getParticipants()
Question[]
ProcessInstance. getPendingQuestions(String stateName)
Get all the questions asked in the given stateProcessModel
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 dateUser
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()
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
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 occuredvoid
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
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 value)
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)
-
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 void
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 listState
ProcessInstanceImpl. answerQuestion(String content, String questionId)
Answer a questionvoid
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 cascadeProcessInstance
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)
Get the data associated to the given actionActor[]
ProcessInstanceImpl. getActors(QualifiedUsers qualifiedUsers, State state)
Computes tuples role/user/state (stored in an Actor object) from a QualifiedUsers objectDataRecord
ProcessInstanceImpl. getAllDataRecord(String role, String lang)
Returns a data record with all the accessible data in this instance.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 stateField
ProcessInstanceImpl. getField(String fieldName)
Returns the required field from the folder.DataRecord
ProcessInstanceImpl. getFolder()
Returns the folder as a DataRecordDataRecord
ProcessInstanceImpl. getFormRecord(String formName, String role, String lang)
User
QuestionImpl. getFromUser()
Get the user who asked the questionHistoryStep
ProcessInstanceImpl. getHistoryStep(String stepId)
LockingUser
ProcessInstanceImpl. getLockingUser(String state)
DataRecord
ProcessInstanceImpl. getNewActionRecord(String actionName, String language)
Get a new data record associated to the given actionParticipant
ProcessInstanceImpl. getParticipant(String resolvedState)
Get the last user who resolved the given stateList<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)
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 dateSilverpeasList<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 stepList<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 enginevoid
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. reDoState(String state, Date actionDate)
Cancel all the atomic operations since the step where first action had occuredvoid
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
ProcessInstanceManagerImpl. removeProcessInstance(String instanceId)
Removes a new process instancevoid
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 listvoid
ProcessInstanceImpl. removeWorkingUsers(State state)
void
ProcessInstanceImpl. saveActionRecord(HistoryStep step, DataRecord actionData)
Set the form associated to the given actionvoid
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.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()
Unlock this instance for the enginevoid
ProcessInstanceImpl. unLock(State state, User user)
Un-locks this instance for the given instance and statevoid
ProcessInstanceImpl. updateFolder(DataRecord actionData)
Updates the folder with the data filled within an action. -
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[].User[]
UserManagerImpl. getUsersInRole(String roleName, String modelId)
Returns all the users having a given role relative to a processModel. -
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
-