|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.data.role.PortalRole
public class PortalRole
The PortalRole class is a representation of an institution role
within the Blackboard application. A Blackboard user may have a primary institution role
and multiple secondary institution roles assigned to it. Institution roles within the system
are then used to control the display of various content to specific users.
| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
static java.lang.String |
RESOURCE_BUNDLE
Resource bundle for this data object |
| Fields inherited from class blackboard.data.BbObject |
|---|
_bbAttributes |
| Constructor Summary | |
|---|---|
PortalRole()
Creates an instance of PortalRole with default property
values. |
|
| Method Summary | |
|---|---|
Id |
getDataSourceId()
gets the datasource id value for this PortalRole. |
DataType |
getDataType()
Returns the DataType identifier for this object. |
java.lang.String |
getDescription()
gets the description value for this PortalRole. |
java.lang.String |
getLabel()
Deprecated. getRoleName() should now be used. |
java.lang.String |
getPersistentLabel()
Returns the database name String associated with this PortalRole
. |
java.lang.String |
getRoleID()
gets the batch uid value for this PortalRole. |
java.lang.String |
getRoleName()
Returns the name String associated with this PortalRole. |
boolean |
isGuest()
gets the isGuest value for this PortalRole. |
boolean |
isRemovable()
gets the isRemovable value for this PortalRole. |
boolean |
isSelfSelectable()
gets the isSelfSelectable value for this PortalRole. |
void |
setDataSourceId(Id dataSourceId)
sets the datasource id value for this PortalRole |
void |
setDescription(java.lang.String desc)
Sets the description String value for this PortalRole. |
void |
setIsGuest(boolean isGuest)
sets the isGuest value for this PortalRole |
void |
setIsRemovable(boolean isRemovable)
sets the isRemovable value for this PortalRole |
void |
setIsSelfSelectable(boolean isSelfSelect)
sets the isSelfSelectable value for this PortalRole |
void |
setLabel(java.lang.String name)
Deprecated. setRoleName(String name) should now be used. |
void |
setRoleID(java.lang.String roleId)
Sets the role Id String value for this PortalRole. |
void |
setRoleName(java.lang.String name)
Sets the name String value for this PortalRole. |
void |
validate()
Validates the contents of this PortalRole. |
| 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
public static final java.lang.String RESOURCE_BUNDLE
| Constructor Detail |
|---|
public PortalRole()
PortalRole with default property
values.
| Method Detail |
|---|
public java.lang.String getPersistentLabel()
String associated with this PortalRole
.
String value for this PortalRolepublic java.lang.String getLabel()
String associated with this PortalRole
.
String value for this PortalRolepublic void setLabel(java.lang.String name)
String value for this PortalRole.
name - String value for this PortalRolepublic java.lang.String getRoleName()
String associated with this PortalRole.
The name is the human readable label for the institution role.
String value for this PortalRolepublic void setRoleName(java.lang.String name)
String value for this PortalRole.
The name is the human readable label for the institution role.
name - String value for this PortalRolepublic java.lang.String getRoleID()
PortalRole.
public void setRoleID(java.lang.String roleId)
String value for this PortalRole.
roleId - String value for this PortalRolepublic java.lang.String getDescription()
PortalRole.
public void setDescription(java.lang.String desc)
String value for this PortalRole.
description - String value for this PortalRolepublic Id getDataSourceId()
PortalRole.
public void setDataSourceId(Id dataSourceId)
PortalRole
String - dataSourceIdpublic boolean isSelfSelectable()
PortalRole.
public void setIsSelfSelectable(boolean isSelfSelect)
PortalRole
boolean - isSelfSelect>public boolean isRemovable()
PortalRole.
public void setIsRemovable(boolean isRemovable)
PortalRole
boolean - isRemovable>public boolean isGuest()
PortalRole.
public void setIsGuest(boolean isGuest)
PortalRole
boolean - isRemoveable>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 object
public void validate()
throws ValidationException
PortalRole. 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 | |||||||||