Uses of Class
org.imixs.workflow.exceptions.ModelException
Package
Description
-
Uses of ModelException in org.imixs.workflow
Modifier and TypeMethodDescriptionvoid
Adds a new Model to the ModelManager.int
BPMNRuleEngine.eval
(ItemCollection workitem) Evaluates a BPMN Business Rule based on the data provided by a workitem.int
WorkflowKernel.eval
(ItemCollection workitem) Evaluates the next taskID for a process instance (workitem) based on the current model definition.Model.getEvent
(int taskID, int eventID) Returns a Event by its Id and Task-ID.Returns a Model by version.ModelManager.getModelByWorkitem
(ItemCollection workitem) Returns a Model matching a given workitem.Model.getTask
(int taskID) Returns a Task by its Id.WorkflowKernel.process
(ItemCollection workitem) Processes a process instance (workitem) based on the current model definition.WorkflowManager.processWorkItem
(ItemCollection workitem) This method processes a workItem. -
Uses of ModelException in org.imixs.workflow.bpmn
Modifier and TypeMethodDescriptionprotected void
BPMNModel.addEvent
(ItemCollection aentity) Adds a ProcessEntiy into the process listprotected void
BPMNModel.addTask
(ItemCollection entity) Adds a ProcessEntiy into the process listBPMNModelHandler.buildModel()
This method builds the model from the information parsed by the handler.BPMNModel.getEvent
(int processid, int activityid) BPMNModel.getTask
(int taskid) void
BPMNModel.initStartEvent
(ItemCollection workitem) This method assigns a startTask and a startEvent to a given workitem.static final BPMNModel
BPMNParser.parseModel
(byte[] bpmnByteArray, String encoding) This method parses a BPMN model from a byte array.static final BPMNModel
BPMNParser.parseModel
(InputStream bpmnInputStream, String encoding) This method parses a BPMN model from a input stream and returns a instance of BPMNModel class. -
Uses of ModelException in org.imixs.workflow.engine
Modifier and TypeMethodDescriptionvoid
This Method adds a model into the internal model store.WorkflowService.evalNextTask
(ItemCollection documentContext) The method evaluates the next task for a process instance (workitem) based on the current model definition.protected Collection<ItemCollection>
WorkflowScheduler.findScheduledEvents
(String aModelVersion) This method collects all scheduled workflow events.WorkflowService.getEvents
(ItemCollection workitem) This returns a list of workflow events assigned to a given workitem.Returns a Model by version.ModelService.getModelByWorkitem
(ItemCollection workitem) Returns a Model matching a given workitem.void
AsyncEventService.onProcess
(ProcessingEvent processingEvent) The observer method verifies if the current task contains a AsyncEvent definition.SimulationService.processWorkItem
(ItemCollection _workitem, List<String> vPlugins) This method simulates a processing life cycle of a process instance without storing any data into the database.WorkflowService.processWorkItem
(ItemCollection workitem) This method processes a workItem by the WorkflowKernel and saves the workitem after the processing was finished successful.WorkflowService.processWorkItem
(ItemCollection workitem, int eventID) This method processes a workItem based on a given event.WorkflowService.processWorkItem
(ItemCollection workitem, ItemCollection event) This method processes a workItem based on a given event.WorkflowService.processWorkItemByNewTransaction
(ItemCollection workitem) This method processes a workitem in a new transaction.protected void
WorkflowScheduler.processWorkListByEvent
(ItemCollection event, ItemCollection configItemCollection) This method processes all workitems for a specific scheduled event element of a workflow model.void
This method saves a BPMNModel into the database and adds the model into the internal model store.void
This method saves a BPMNModel into the database and adds the model into the internal model store. -
Uses of ModelException in org.imixs.workflow.engine.plugins
Modifier and TypeMethodDescriptionprotected void
SplitAndJoinPlugin.createSubprocesses
(List<String> subProcessDefinitions, ItemCollection originWorkitem) This method expects a list of Subprocess definitions and create for each definition a new subprocess.protected void
SplitAndJoinPlugin.syncSubprocesses
(String originProcessDefinition, ItemCollection subprocessWorkitem) This method syncs the items from the parent into this process instanceprotected void
SplitAndJoinPlugin.updateOrigin
(String originProcessDefinition, ItemCollection subprocessWorkitem) This method expects a single process definitions to update the origin process for a subprocess.protected void
SplitAndJoinPlugin.updateSubprocesses
(List<String> subProcessDefinitions, ItemCollection originWorkitem) This method expects a list of Subprocess definitions and updates each matching existing subprocess. -
Uses of ModelException in org.imixs.workflow.faces.data
Modifier and TypeMethodDescriptionvoid
WorkflowController.create()
This action method is used to initialize a new workitem with the initial values of the assigned workflow task.void
This method creates a new empty workitem.WorkflowController.process()
This method processes the current workItem and returns a new action result.WorkflowController.process
(int id) This method processes the current workItem with the provided eventID. -
Uses of ModelException in org.imixs.workflow.faces.util
Modifier and TypeMethodDescriptionstatic void
ErrorHandler.handleModelException
(ModelException me) The Method expects a ModelException and adds the corresponding Faces Error Message into the FacesContext.