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:
getIndexin interfaceCommentInfo- Returns:
- the index
- See Also:
-
getDate
- Specified by:
getDatein interfaceCommentInfo- Returns:
- the date
- See Also:
-
getUser
- Specified by:
getUserin interfaceCommentInfo- Returns:
- the user
- See Also:
-
getCommentKind
public int getCommentKind()- Specified by:
getCommentKindin interfaceCommentInfo- Returns:
- the commentKind
- See Also:
-
getCommentLevel
public int getCommentLevel()- Specified by:
getCommentLevelin interfaceCommentInfo- Returns:
- the commentLevel
- See Also:
-
getHistId
public int getHistId()- Specified by:
getHistIdin interfaceCommentInfo- Returns:
- the histId
- See Also:
-
getCommentString
- Specified by:
getCommentStringin interfaceCommentInfo- Returns:
- the commentString
- See Also:
-
writeXML
Writes data as xml part.- Parameters:
hd- Content handlerpartName- Part name- Throws:
SAXException- Exception
-