public final class HistoryInfoImpl extends Object implements HistoryInfo
HistoryInfo.HistoryKind| Constructor and Description |
|---|
HistoryInfoImpl(ActorInfo taskActor,
ActorInfo taskExecutor,
Date received,
Date sended,
String taskDescription,
String transitionDescription)
Constructor.
|
HistoryInfoImpl(com.saperion.jni.SaJNIWfHistory jniHistory)
Constructor from JNI History.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActivity() |
ActorInfo |
getActor() |
int |
getCommand() |
CommentInfo[] |
getComments() |
int |
getError() |
String |
getErrorMsg() |
ActorInfo |
getExecutor() |
int |
getIndex() |
HistoryInfo.HistoryKind |
getKind() |
String |
getProcessName() |
Date |
getReceiveDate() |
Date |
getSendDate() |
String |
getTaskDescr() |
int |
getTransition() |
String |
getTransitionDescr() |
void |
setActivity(int act) |
void |
setCommand(int cmd) |
void |
setComments(CommentInfo[] commentArray) |
void |
setError(int errorId) |
void |
setErrorMsg(String msg) |
void |
setIndex(int idx) |
void |
setKind(HistoryInfo.HistoryKind kindId) |
void |
setProcessName(String processName) |
void |
setTransition(int trans) |
void |
writeXML(ContentHandler hd,
Map<String,String> locales,
boolean withComments)
Writes data as xml part.
|
public HistoryInfoImpl(ActorInfo taskActor, ActorInfo taskExecutor, Date received, Date sended, String taskDescription, String transitionDescription)
taskActor - ActortaskExecutor - Executorreceived - Receive datesended - Send datetaskDescription - DescriptiontransitionDescription - Transition descriptionpublic HistoryInfoImpl(com.saperion.jni.SaJNIWfHistory jniHistory)
jniHistory - JNI Historypublic int getIndex()
getIndex in interface HistoryInfoHistoryInfo.getIndex()public Date getReceiveDate()
getReceiveDate in interface HistoryInfoHistoryInfo.getReceiveDate()public Date getSendDate()
getSendDate in interface HistoryInfoHistoryInfo.getSendDate()public int getTransition()
getTransition in interface HistoryInfoHistoryInfo.getTransition()public int getActivity()
getActivity in interface HistoryInfoHistoryInfo.getActivity()public int getCommand()
getCommand in interface HistoryInfoHistoryInfo.getCommand()public HistoryInfo.HistoryKind getKind()
getKind in interface HistoryInfoHistoryInfo.getKind()public ActorInfo getExecutor()
getExecutor in interface HistoryInfoHistoryInfo.getExecutor()public ActorInfo getActor()
getActor in interface HistoryInfoHistoryInfo.getActor()public String getTransitionDescr()
getTransitionDescr in interface HistoryInfoHistoryInfo.getTransitionDescr()public String getTaskDescr()
getTaskDescr in interface HistoryInfoHistoryInfo.getTaskDescr()public String getProcessName()
getProcessName in interface HistoryInfoHistoryInfo.getProcessName()public int getError()
getError in interface HistoryInfoHistoryInfo.getError()public String getErrorMsg()
getErrorMsg in interface HistoryInfoHistoryInfo.getErrorMsg()public CommentInfo[] getComments()
getComments in interface HistoryInfoHistoryInfo.getComments()public void setIndex(int idx)
idx - the indexpublic void setTransition(int trans)
trans - the transition to setpublic void setActivity(int act)
act - the activity to setpublic void setProcessName(String processName)
processName - the process namepublic void setCommand(int cmd)
cmd - the command to setpublic void setKind(HistoryInfo.HistoryKind kindId)
kindId - the kind to setpublic void setError(int errorId)
errorId - the error to setpublic void setErrorMsg(String msg)
msg - the errorMsg to setpublic void setComments(CommentInfo[] commentArray)
commentArray - Comment arraypublic void writeXML(ContentHandler hd, Map<String,String> locales, boolean withComments) throws SAXException
hd - Content handlerlocales - Localization mapwithComments - With commentsSAXException - ExceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.