Class IssueComment
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.DatabaseBlobBean
org.deltava.beans.AbstractComment
org.deltava.beans.help.IssueComment
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,AuthoredBean
,IDBean
,Cacheable
A bean to store Help Desk Issue comments.
- Since:
- 1.0
- Version:
- 9.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.beans.DatabaseBlobBean
_buffer
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.deltava.beans.AbstractComment
compareTo, getAuthorID, getBody, getBuffer, getCreatedOn, getExtension, getName, getParentID, getSize, setAuthorID, setBody, setCreatedOn, setName, setParentID, setSize
Methods inherited from class org.deltava.beans.DatabaseBlobBean
clear, getInputStream, isLoaded, load, load
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
IssueComment
public IssueComment(int authorID) Creates a new Comment bean.- Parameters:
authorID
- the database ID of the author- Throws:
IllegalArgumentException
- if authorID is zero or negative- See Also:
-
-
Method Details
-
getFAQ
public boolean getFAQ()Returns whether this Comment is an FAQ answer.- Returns:
- TRUE if the Comment is an FAQ answer, otherwise FALSE
- See Also:
-
setFAQ
public void setFAQ(boolean isFAQ) Updates whether this Comment is an FAQ answer.- Parameters:
isFAQ
- TRUE if the Comment is an FAQ answer, otherwise FALSE- See Also:
-
equals
- Overrides:
equals
in classDatabaseBean
-