Class CourseComment
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.DatabaseBlobBean
org.deltava.beans.AbstractComment
org.deltava.beans.academy.CourseComment
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,AuthoredBean
,IDBean
,Cacheable
A bean to store comments between Instructors and Students.
- 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, equals, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
CourseComment
public CourseComment(int courseID, int authorID) Creates a new Comment bean.- Parameters:
courseID
- the database ID of the CourseauthorID
- the database ID of the author- Throws:
IllegalArgumentException
- if courseID or authorID are zero or negative
-