|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.data.discussionboard.UserForumSettings
public class UserForumSettings
The UserForumSettings class is a representation of the
discussion board forum settings.
| Nested Class Summary | |
|---|---|
static class |
UserForumSettings.ForumRole
Enumeration for reflecting user forum role A normal user will have a null value in the role A blocked user will be a READER A moderator will be a MODERATOR We can add additioal roles in this later |
| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
UserForumSettings()
Creates an instance of UserForumSettings with default property values. |
|
| Method Summary | |
|---|---|
boolean |
getAdminInd()
Returns the flag denoting if the associated user account is Manager of the active discussion board forum. |
java.lang.String |
getAlias()
Returns the alias associated with this UserForumSettings |
DataType |
getDataType()
Returns the DataType identifier for this object. |
java.util.Calendar |
getDtLastVisit()
Returns the last visit date associated with this UserForumSettings |
Id |
getForumId()
Returns the Forum Id associated with this UserForumSettings. |
UserForumSettings.ForumRole |
getForumRole()
Returns the ForumRole associated with this UserForumSettings |
boolean |
getIsLockedOut()
Returns the flag denoting if the associated user account is blocked from accessing the active discussion board forum. |
java.lang.String |
getMessageSort()
This field is not in active use and should not be used. |
java.lang.String |
getSearchSort()
This field is not in active use and should not be used. |
java.lang.String |
getSubscribedInd()
Returns subscribed ind for this message . |
User |
getUser()
Returns the user associated with this UserForumSettings |
Id |
getUserId()
Returns the user Id associated with this UserForumSettings. |
void |
setAdminInd(boolean val)
Sets the flag denoting if the associated user account is Manager of the active discussion board forum. |
void |
setAlias(java.lang.String val)
Sets the alias for this UserForumSettings |
void |
setDtLastVisit(java.util.Calendar val)
Sets the last visit date for this UserForumSettings |
void |
setForumId(Id id)
Sets the Forum Id value for this UserForumSettings. |
void |
setForumRole(UserForumSettings.ForumRole val)
Sets the ForumRole for this UserForumSettings |
void |
setIsLockedOut(boolean val)
Sets the flag denoting if the associated user account is blocked from accessing the active discussion board forum. |
void |
setMessageSort(java.lang.String val)
This field is not in active use and should not be used. |
void |
setSearchSort(java.lang.String val)
This field is not in active use and should not be used. |
void |
setSubscribedInd(java.lang.String subscribedInd)
Sets the subscribed ind for this message. |
void |
setUser(User user)
Sets the user information for this UserForumSettings |
void |
setUserId(Id id)
Sets the user Id value for this UserForumSettings. |
void |
setUserInfo(User user)
Deprecated. use setUser instead |
void |
validate()
Validates the contents of this UserForumSettings. |
| 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 UserForumSettings()
UserForumSettings 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 UserForumSettings.
Id value for this UserForumSettingspublic void setUserId(Id id)
Id value for this UserForumSettings.
id - the user Id value to use for this UserForumSettingspublic java.lang.String getMessageSort()
public void setMessageSort(java.lang.String val)
public java.lang.String getSearchSort()
public void setSearchSort(java.lang.String val)
public Id getForumId()
Id associated with this UserForumSettings.
Id value for this UserForumSettingspublic void setForumId(Id id)
Id value for this UserForumSettings.
id - the Forum Id value to use for this UserForumSettingspublic boolean getIsLockedOut()
public void setIsLockedOut(boolean val)
val - true if blocked, false otherwisepublic boolean getAdminInd()
public void setAdminInd(boolean val)
val - true if is manager, false otherwisepublic java.lang.String getAlias()
UserForumSettings
UserForumSettingspublic void setAlias(java.lang.String val)
UserForumSettings
val - the aliaspublic UserForumSettings.ForumRole getForumRole()
UserForumSettings
UserForumSettingspublic void setForumRole(UserForumSettings.ForumRole val)
UserForumSettings
val - the ForumRolepublic java.util.Calendar getDtLastVisit()
UserForumSettings
UserForumSettingspublic void setDtLastVisit(java.util.Calendar val)
UserForumSettings
val - the last visit datepublic void setUserInfo(User user)
UserForumSettings
user - the userpublic void setUser(User user)
UserForumSettings
user - the userpublic User getUser()
UserForumSettings
UserForumSettingspublic java.lang.String getSubscribedInd()
public void setSubscribedInd(java.lang.String subscribedInd)
subscribedInd - a Y/N indicator of whether this user is subscribed to this message
public void validate()
throws ValidationException
UserForumSettings. 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 | |||||||||