|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.data.discussionboard.UserMsgState
public class UserMsgState
| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
UserMsgState()
Creates an instance of UserMsgState with default property
values. |
|
| Method Summary | |
|---|---|
DataType |
getDataType()
Returns the DataType identifier for this object. |
java.lang.String |
getImportantInd()
Returns important ind for this message. |
Id |
getMsgMainId()
Returns the Msg_Main Id to which this
UserMsgState was posted. |
int |
getMsgReadCount()
Returns a number of the times this message has been accessed (viewed). |
int |
getRating()
Return rating of this message. |
boolean |
getReadState()
Return mark read state of this message. |
java.lang.String |
getSubscribedInd()
Returns subscribed ind for this message . |
User |
getUser()
Returns the user associated with this UserMsgState |
Id |
getUserId()
Returns the user Id associated with this
UserMsgState. |
void |
setImportantInd(java.lang.String importantInd)
Sets the important ind for this message. |
void |
setMsgMainId(Id iMsgMainId)
Sets the Msg_Main Id value for this UserMsgState |
void |
setMsgReadCount(int nHitCount)
Sets the number of times this message has been accessed. |
void |
setRating(int rating)
Sets the rating for this message. |
void |
setReadState(boolean readState)
Sets the mark read state for this message. |
void |
setSubscribedInd(java.lang.String subscribedInd)
Sets the subscribed ind for this message. |
void |
setUser(User user)
Sets the user information for this UserMsgState |
void |
setUserId(Id iUserId)
Sets the user Id value for this UserMsgState |
void |
validate()
Validates the contents of this UserMsgState. |
| Methods inherited from class blackboard.data.BbObject |
|---|
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataType DATA_TYPE
| Constructor Detail |
|---|
public UserMsgState()
UserMsgState with default property
values.
| 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 Id getUserId()
Id associated with this
UserMsgState. This value is the id of the user who
posted/owns the message.
Id value for this UserMsgStatepublic void setUserId(Id iUserId)
Id value for this UserMsgState
iUserId - the user Id value to use for this UserMsgStatepublic Id getMsgMainId()
Id to which this
UserMsgState was posted.
Id value for this UserMsgStatepublic void setMsgMainId(Id iMsgMainId)
Id value for this UserMsgState
iMsgMainId - the Msg_Main Id value to use for this UserMsgStatepublic int getMsgReadCount()
public void setMsgReadCount(int nHitCount)
nHitCount - an int representing the number of times this message has been
accessedpublic java.lang.String getSubscribedInd()
public void setSubscribedInd(java.lang.String subscribedInd)
subscribedInd - a Y/N indicator of whether this user is subscribed to this messagepublic java.lang.String getImportantInd()
public void setImportantInd(java.lang.String importantInd)
importantInd - an string point out the important ind.public int getRating()
public void setRating(int rating)
rating - a number, rating for this message.public boolean getReadState()
public void setReadState(boolean readState)
readState - a boolean, mark read state for this message.public void setUser(User user)
UserMsgState
user - the userpublic User getUser()
UserMsgState
UserMsgState
public void validate()
throws ValidationException
UserMsgState. Internal
consistency checks are also performed.
validate in interface IBbObjectvalidate in class BbObjectValidationException - if validation of this object fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||