Package com.logicaldoc.workflow.history
Class WorkflowHistory
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.History
-
- com.logicaldoc.workflow.history.WorkflowHistory
-
- All Implemented Interfaces:
Serializable
,Comparable<com.logicaldoc.core.History>
public class WorkflowHistory extends com.logicaldoc.core.History
History entry due to an event on a workflow.- Since:
- 5.1
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EVENT_WORKFLOW_DELETED
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()
WorkflowHistory(WorkflowHistory source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEventMessage(String lang)
String
getInstanceId()
String
getTaskDisplay()
String
getTaskId()
String
getTaskName()
long
getTemplateId()
int
getTemplateVersion()
String
getTransition()
void
setInstanceId(String instanceId)
void
setTaskDisplay(String taskDisplay)
void
setTaskId(String taskId)
void
setTaskName(String taskName)
void
setTemplateId(long templateId)
void
setTemplateVersion(int templateVersion)
void
setTransition(String transition)
-
Methods inherited from class com.logicaldoc.core.History
compareTo, getColor, getComment, getDate, getDevice, getDocId, getDocument, getEvent, getFile, getFilename, getFilenameOld, getFileSize, getFileVersion, getFolder, getFolderId, getGeolocation, getIp, getIsNew, getNotified, getPath, getPathOld, getReason, getSessionId, getTenant, getUser, getUserId, getUserLogin, getUsername, getVersion, isNotifyEvent, setClient, setColor, setComment, setDate, setDevice, setDocId, setDocument, setEvent, setFile, setFilename, setFilenameOld, setFileSize, setFileVersion, setFolder, setFolderId, setGeolocation, setIp, setIsNew, setNotified, setNotifyEvent, setPath, setPathOld, setReason, setSession, setSessionId, setTenant, setUser, setUserId, setUserLogin, setUsername, setVersion, toString
-
-
-
-
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_DELETED
public static final String EVENT_WORKFLOW_DELETED
- 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
-
-
Constructor Detail
-
WorkflowHistory
public WorkflowHistory()
-
WorkflowHistory
public WorkflowHistory(WorkflowHistory source)
-
-
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)
-
getTemplateVersion
public int getTemplateVersion()
-
setTemplateVersion
public void setTemplateVersion(int templateVersion)
-
getTaskDisplay
public String getTaskDisplay()
-
setTaskDisplay
public void setTaskDisplay(String taskDisplay)
-
-