Package com.saperion.wf
Class CommentInfoImpl
java.lang.Object
com.saperion.wf.CommentInfoImpl
- All Implemented Interfaces:
CommentInfo
,Serializable
- Author:
- rbo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommentInfoImpl
(int idx, int kind, int level, String comment, Date createDate, int historyId, String userName) Constructor.CommentInfoImpl
(com.saperion.jni.SaJNIWfComment jniComment, int idx) Constructor from JNI comment. -
Method Summary
-
Constructor Details
-
CommentInfoImpl
public CommentInfoImpl(int idx, int kind, int level, String comment, Date createDate, int historyId, String userName) Constructor.- Parameters:
idx
- Indexkind
- Kindlevel
- Levelcomment
- CommentcreateDate
- DatehistoryId
- History IDuserName
- Username
-
CommentInfoImpl
public CommentInfoImpl(com.saperion.jni.SaJNIWfComment jniComment, int idx) Constructor from JNI comment.- Parameters:
jniComment
- JNI commentidx
- Index
-
-
Method Details
-
getIndex
public int getIndex()- Specified by:
getIndex
in interfaceCommentInfo
- Returns:
- the index
- See Also:
-
getDate
- Specified by:
getDate
in interfaceCommentInfo
- Returns:
- the date
- See Also:
-
getUser
- Specified by:
getUser
in interfaceCommentInfo
- Returns:
- the user
- See Also:
-
getCommentKind
public int getCommentKind()- Specified by:
getCommentKind
in interfaceCommentInfo
- Returns:
- the commentKind
- See Also:
-
getCommentLevel
public int getCommentLevel()- Specified by:
getCommentLevel
in interfaceCommentInfo
- Returns:
- the commentLevel
- See Also:
-
getHistId
public int getHistId()- Specified by:
getHistId
in interfaceCommentInfo
- Returns:
- the histId
- See Also:
-
getCommentString
- Specified by:
getCommentString
in interfaceCommentInfo
- Returns:
- the commentString
- See Also:
-
writeXML
Writes data as xml part.- Parameters:
hd
- Content handlerpartName
- Part name- Throws:
SAXException
- Exception
-