Uses of Class
com.logicaldoc.workflow.history.WorkflowHistory
-
Packages that use WorkflowHistory Package Description com.logicaldoc.workflow com.logicaldoc.workflow.automation com.logicaldoc.workflow.history com.logicaldoc.workflow.webservice.model -
-
Uses of WorkflowHistory in com.logicaldoc.workflow
Methods in com.logicaldoc.workflow that return WorkflowHistory Modifier and Type Method Description static WorkflowHistory
WorkflowUtil. addNote(String sid, String taskId, String note, com.logicaldoc.core.security.User user)
static WorkflowHistory
WorkflowUtil. addNote(String sid, String taskName, String taskId, String processId, String note, com.logicaldoc.core.security.User user)
static WorkflowHistory
WorkflowUtil. addNote(String sid, org.activiti.engine.task.Task task, String note, com.logicaldoc.core.security.User user)
Methods in com.logicaldoc.workflow with parameters of type WorkflowHistory Modifier and Type Method Description static void
WorkflowUtil. appendDocuments(String taskId, Long[] docIds, WorkflowHistory transaction)
static void
WorkflowUtil. claim(String sid, String taskId, com.logicaldoc.core.security.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. removeDocument(String taskId, long docId, WorkflowHistory transaction)
static boolean
WorkflowUtil. saveHistory(WorkflowHistory transaction)
Saves a workflow history into the databaseString
WorkflowEngine. 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
Methods in com.logicaldoc.workflow.automation that return WorkflowHistory Modifier and Type Method Description WorkflowHistory
WorkflowTool. addNote(String processId, String taskName, String note)
Adds a new noteWorkflowHistory
WorkflowTool. addNote(org.activiti.engine.task.Task task, String note)
Adds a new noteWorkflowHistory
WorkflowTool. getLastHistory(String processId, String event)
Retrieve the last history of a given typeMethods in com.logicaldoc.workflow.automation that return types with arguments of type WorkflowHistory Modifier and Type Method Description List<WorkflowHistory>
WorkflowTool. getHistories(String processId, String event)
Retrieve the list of events of the current workflowList<WorkflowHistory>
WorkflowTool. getNotes(String processId)
Gets the notes of the given workflow -
Uses of WorkflowHistory in com.logicaldoc.workflow.history
Methods in com.logicaldoc.workflow.history that return types with arguments of type WorkflowHistory Modifier and Type Method Description List<WorkflowHistory>
HibernateWorkflowHistoryDAO. findByInstanceId(String instanceId, String event)
List<WorkflowHistory>
WorkflowHistoryDAO. findByInstanceId(String instanceId, String event)
This method selects all histories of a given instanceId.List<WorkflowHistory>
HibernateWorkflowHistoryDAO. findByTemplateIdAndInstanceId(Long templateId, String instanceId, String event)
List<WorkflowHistory>
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.List<WorkflowHistory>
HibernateWorkflowHistoryDAO. findByUserIdAndInstanceId(Long userId, String instanceId, String event)
List<WorkflowHistory>
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.Methods in com.logicaldoc.workflow.history with parameters of type WorkflowHistory Modifier and Type Method Description boolean
HibernateWorkflowHistoryDAO. store(WorkflowHistory history)
-
Uses of WorkflowHistory in com.logicaldoc.workflow.webservice.model
Methods in com.logicaldoc.workflow.webservice.model with parameters of type WorkflowHistory Modifier and Type Method Description static WSWorkflowHistory
WSWorkflowHistory. fromHistory(WorkflowHistory history)
-