Package com.logicaldoc.workflow.history
Class WorkflowHistory
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.History
-
- com.logicaldoc.workflow.history.WorkflowHistory
-
public class WorkflowHistory extends com.logicaldoc.core.History
History entry due to an event on a workflow.- Since:
- 5.1
- Author:
- Matteo Caruso - LogicalDOC
-
-
Field Summary
Fields Modifier and Type Field Description static String
EVENT_WORKFLOW_DOCAPPENDED
static String
EVENT_WORKFLOW_DOCREMOVED
static String
EVENT_WORKFLOW_END
static String
EVENT_WORKFLOW_START
static String
EVENT_WORKFLOW_TASK_ASSIGNED
static String
EVENT_WORKFLOW_TASK_END
static String
EVENT_WORKFLOW_TASK_NOTE
static String
EVENT_WORKFLOW_TASK_REASSIGNED
static String
EVENT_WORKFLOW_TASK_START
-
Constructor Summary
Constructors Constructor Description WorkflowHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEventMessage(String lang)
String
getInstanceId()
String
getTaskId()
String
getTaskName()
long
getTemplateId()
String
getTransition()
void
setInstanceId(String instanceId)
void
setTaskId(String taskId)
void
setTaskName(String taskName)
void
setTemplateId(long templateId)
void
setTransition(String transition)
-
Methods inherited from class com.logicaldoc.core.History
getComment, getDate, getDocId, getDocument, getEvent, getFile, getFilename, getFilenameOld, getFolder, getFolderId, getIp, getIsNew, getNotified, getPath, getPathOld, getReason, getSessionId, getTenant, getUser, getUserId, getUserLogin, getUsername, getVersion, isNotifyEvent, setComment, setDate, setDocId, setDocument, setEvent, setFile, setFilename, setFilenameOld, setFolder, setFolderId, setIp, setIsNew, setNotified, setNotifyEvent, setPath, setPathOld, setReason, setSession, setSessionId, setTenant, setUser, setUserId, setUserLogin, setUsername, setVersion
-
-
-
-
Field Detail
-
EVENT_WORKFLOW_START
public static final String EVENT_WORKFLOW_START
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_END
public static final String EVENT_WORKFLOW_END
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_TASK_START
public static final String EVENT_WORKFLOW_TASK_START
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_TASK_END
public static final String EVENT_WORKFLOW_TASK_END
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_TASK_ASSIGNED
public static final String EVENT_WORKFLOW_TASK_ASSIGNED
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_DOCAPPENDED
public static final String EVENT_WORKFLOW_DOCAPPENDED
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_DOCREMOVED
public static final String EVENT_WORKFLOW_DOCREMOVED
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_TASK_REASSIGNED
public static final String EVENT_WORKFLOW_TASK_REASSIGNED
- See Also:
- Constant Field Values
-
EVENT_WORKFLOW_TASK_NOTE
public static final String EVENT_WORKFLOW_TASK_NOTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTemplateId
public long getTemplateId()
-
setTemplateId
public void setTemplateId(long templateId)
-
getInstanceId
public String getInstanceId()
-
setInstanceId
public void setInstanceId(String instanceId)
-
getTaskId
public String getTaskId()
-
setTaskId
public void setTaskId(String taskId)
-
getTaskName
public String getTaskName()
-
setTaskName
public void setTaskName(String taskName)
-
getTransition
public String getTransition()
-
setTransition
public void setTransition(String transition)
-
-