|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.data.discussionboard.ForumStatus
public class ForumStatus
The ForumStatus object wraps the state of a user's interaction with a given piece
of forum and adaptive release status.
It is not a persistent object in the ordinary sense; it is loaded from the database, but
combines information derived from different sources. With this in mind, one cannot "save" a
ForumStatus object.
| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
ForumStatus()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAvgPostPosition()
Returns the average post position |
java.lang.String |
getAvgPostSize()
Returns the average post size |
DataType |
getDataType()
Returns the DataType identifier for this object. |
int |
getForumCount()
Returns the total count of forums |
java.lang.String |
getGrade()
Returns the grade |
java.lang.String |
getIsEnabled()
Returns whether is_enabled |
java.lang.String |
getMaxPostSize()
Returns the maximum post size |
java.lang.String |
getMinPostSize()
Returns the minimum post size |
java.util.Calendar |
getMostRecentPost()
Returns the most recent post date |
int |
getMsgCount()
Returns the number of messages a user has posted in a forum |
int |
getReadCount()
Returns the unread count in a forum |
int |
getTotalCount()
Returns the total count of messages in a forum |
int |
getTotalParticipant()
Returns the total participants in a forum |
int |
getUnreadMessageCount()
Returns the unread message count of messages in a forum |
void |
setAvgPostPosition(java.lang.String avg_post_position)
Sets the average post positon |
void |
setAvgPostSize(java.lang.String avg_post_size)
Sets the average post size |
void |
setForumCount(int forumCount)
Sets the total count of forums |
void |
setGrade(java.lang.String grade)
Sets the grade |
void |
setIsEnabled(java.lang.String is_enabled)
Sets whether is enabled |
void |
setMaxPostSize(java.lang.String max_post_size)
Sets the maximum post size |
void |
setMinPostSize(java.lang.String min_post_size)
Sets the minimum post size |
void |
setMostRecentPost(java.util.Calendar most_recent_post)
Sets the most recent post date |
void |
setMsgCount(int n)
Sets the count for number messages a user has posted in a forum |
void |
setReadCount(int read_count)
Sets the unread count in a forum |
void |
setTotalCount(int total_count)
Sets the total count of messages in a forum |
void |
setTotalParticipant(int total_participant)
Sets the total participants in a forum |
| Methods inherited from class blackboard.data.BbObject |
|---|
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static DataType DATA_TYPE
| Constructor Detail |
|---|
public ForumStatus()
If you need to access status for a particular piece of forum, use
ForumManager
| Method Detail |
|---|
public DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
getDataType in interface IBbObjectgetDataType in interface IdentifiablegetDataType in class BbObjectDataType for this objectpublic int getUnreadMessageCount()
public void setTotalCount(int total_count)
total_count - total count of messages in a forumpublic int getTotalCount()
public int getMsgCount()
public void setMsgCount(int n)
n - public void setTotalParticipant(int total_participant)
total_participants - total participants in a forumpublic int getTotalParticipant()
public void setReadCount(int read_count)
unread_count - unread count in a forumpublic int getReadCount()
public void setIsEnabled(java.lang.String is_enabled)
is_enabled - Y if is enabled, N otherwisepublic java.lang.String getIsEnabled()
public void setMostRecentPost(java.util.Calendar most_recent_post)
most_recent_post - the most recent post datepublic java.util.Calendar getMostRecentPost()
public void setMinPostSize(java.lang.String min_post_size)
min_post_size - the minimum post sizepublic java.lang.String getMinPostSize()
public void setMaxPostSize(java.lang.String max_post_size)
max_post_size - the maximum post sizepublic java.lang.String getMaxPostSize()
public void setAvgPostSize(java.lang.String avg_post_size)
avg_post_size - the average post sizepublic java.lang.String getAvgPostSize()
public void setAvgPostPosition(java.lang.String avg_post_position)
avg_post_position - the average post positionpublic java.lang.String getAvgPostPosition()
public void setGrade(java.lang.String grade)
grade - the gradepublic java.lang.String getGrade()
public void setForumCount(int forumCount)
forumCount - total count of forumspublic int getForumCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||