|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.data.user.UserRole
public class UserRole
The UserRole class provides user secondary institution role information for
extending objects. It is the association of a secondary institution role to the user, and
multiple secondary institution roles are allowed per user.
| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
UserRole()
Creates an instance of UserRole with default property
values. |
|
| Method Summary | |
|---|---|
DataType |
getDataType()
Returns the DataType identifier for this object. |
Id |
getPortalRoleId()
Returns the portal role Id associated with this UserRole
. |
User |
getUser()
Returns the User object of this UserRole object |
Id |
getUserId()
Returns the user Id associated with this UserRole
. |
void |
setPortalRoleId(Id id)
Sets the portal role Id value for this UserRole. |
void |
setUser(User user)
Sets the User object of this UserRole object |
void |
setUserId(Id iUserId)
Sets the user Id value for this UserRole. |
void |
validate()
Validates the contents of this UserRole. |
| 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 UserRole()
UserRole with default property
values.
| Method Detail |
|---|
public Id getUserId()
Id associated with this UserRole
.
Id value for this user rolepublic void setUserId(Id iUserId)
Id value for this UserRole.
iUserId - the user Id value to use for this user rolepublic Id getPortalRoleId()
Id associated with this UserRole
.
public void setPortalRoleId(Id id)
Id value for this UserRole.
portal - role value to use for this user rolepublic User getUser()
User object of this UserRole object
User representing the user of this user rolepublic void setUser(User user)
User object of this UserRole object
user - a User representing the user of this user rolepublic 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 object
public void validate()
throws ValidationException
UserRole. 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 | |||||||||