Uses of Class
com.logicaldoc.workflow.history.WorkflowHistory
Package
Description
-
Uses of WorkflowHistory in com.logicaldoc.workflow
Modifier and TypeMethodDescriptionstatic WorkflowHistory
WorkflowUtil.addNote
(String sid, String taskId, String transitionName, String note, com.logicaldoc.core.security.user.User user) static WorkflowHistory
WorkflowUtil.addNote
(String sid, String taskName, String taskId, String processId, String transitionName, String note, com.logicaldoc.core.security.user.User user) static WorkflowHistory
WorkflowUtil.addNote
(String sid, org.activiti.engine.task.Task task, String transitionName, String note, com.logicaldoc.core.security.user.User user) Modifier and TypeMethodDescriptionstatic void
WorkflowUtil.appendDocuments
(String taskId, List<Long> docIds, WorkflowHistory transaction) static void
WorkflowUtil.claim
(String sid, String taskId, com.logicaldoc.core.security.user.User user, WorkflowHistory transaction) void
WorkflowEngine.claimTask
(String taskId, String username, WorkflowHistory transaction) Assign a task to a specific user.If the task is already claimed you cannot claim again.static void
WorkflowUtil.complete
(String taskId, String transitionName, WorkflowHistory transaction) static void
WorkflowUtil.complete
(org.activiti.engine.task.Task task, String transitionName, WorkflowHistory transaction) void
WorkflowEngine.completeTask
(String taskId, String transitionName, WorkflowHistory transaction) Ends the task and takes the given transitionvoid
WorkflowEngine.completeTask
(org.activiti.engine.task.Task task, String transitionName, WorkflowHistory transaction) Ends the task and takes the given transitionstatic void
WorkflowUtil.removeDocument
(String taskId, long docId, WorkflowHistory transaction) static void
WorkflowUtil.saveHistory
(WorkflowHistory transaction) Saves a workflow history into the databaseWorkflowEngine.startProcessInstance
(String workflowName, Map<String, Object> variables, WorkflowHistory transaction) Starts a ProcessInstance by using the deployed definition name -
Uses of WorkflowHistory in com.logicaldoc.workflow.automation
Modifier and TypeMethodDescriptionAdds a new noteAdds a new noteWorkflowTool.getLastHistory
(String processId, String event) Retrieve the last history of a given typeModifier and TypeMethodDescriptionWorkflowTool.getHistories
(String processId, String event) Retrieve the list of events of the current workflowGets the notes of the given workflow -
Uses of WorkflowHistory in com.logicaldoc.workflow.history
Modifier and TypeMethodDescriptionHibernateWorkflowHistoryDAO.findByInstanceId
(String instanceId, String event) WorkflowHistoryDAO.findByInstanceId
(String instanceId, String event) This method selects all histories of a given instanceId.HibernateWorkflowHistoryDAO.findByTemplateIdAndInstanceId
(Long templateId, String instanceId, String event) WorkflowHistoryDAO.findByTemplateIdAndInstanceId
(Long templateId, String instanceId, String event) This method selects all histories of a template with the given templateId and of a instance with the given instanceId.HibernateWorkflowHistoryDAO.findByUserIdAndInstanceId
(Long userId, String instanceId, String event) WorkflowHistoryDAO.findByUserIdAndInstanceId
(Long userId, String instanceId, String event) This method selects all histories of a template with the given templateId and of a instance with the given instanceId. -
Uses of WorkflowHistory in com.logicaldoc.workflow.webservice.model
Modifier and TypeMethodDescriptionstatic WSWorkflowHistory
WSWorkflowHistory.fromHistory
(WorkflowHistory history)