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 HistoryInfo
HistoryInfo.getIndex()
public Date getReceiveDate()
getReceiveDate
in interface HistoryInfo
HistoryInfo.getReceiveDate()
public Date getSendDate()
getSendDate
in interface HistoryInfo
HistoryInfo.getSendDate()
public int getTransition()
getTransition
in interface HistoryInfo
HistoryInfo.getTransition()
public int getActivity()
getActivity
in interface HistoryInfo
HistoryInfo.getActivity()
public int getCommand()
getCommand
in interface HistoryInfo
HistoryInfo.getCommand()
public HistoryInfo.HistoryKind getKind()
getKind
in interface HistoryInfo
HistoryInfo.getKind()
public ActorInfo getExecutor()
getExecutor
in interface HistoryInfo
HistoryInfo.getExecutor()
public ActorInfo getActor()
getActor
in interface HistoryInfo
HistoryInfo.getActor()
public String getTransitionDescr()
getTransitionDescr
in interface HistoryInfo
HistoryInfo.getTransitionDescr()
public String getTaskDescr()
getTaskDescr
in interface HistoryInfo
HistoryInfo.getTaskDescr()
public String getProcessName()
getProcessName
in interface HistoryInfo
HistoryInfo.getProcessName()
public int getError()
getError
in interface HistoryInfo
HistoryInfo.getError()
public String getErrorMsg()
getErrorMsg
in interface HistoryInfo
HistoryInfo.getErrorMsg()
public CommentInfo[] getComments()
getComments
in interface HistoryInfo
HistoryInfo.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.