blackboard.data.role
Class PortalRole

java.lang.Object
  extended by blackboard.data.BbObject
      extended by blackboard.data.role.PortalRole
All Implemented Interfaces:
IBbObject, java.lang.Cloneable

public class PortalRole
extends BbObject

The PortalRole class is a representation of an institution role within the Blackboard application.

Since:
Bb 6.3
Version:
$Revision: #1 $ $Date: 2005/06/27 $

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()
          Returns the name String associated with this PortalRole .
 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)
          Sets the name String value for this PortalRole.
 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.
 
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

DATA_TYPE

public static final DataType DATA_TYPE

RESOURCE_BUNDLE

public static final java.lang.String RESOURCE_BUNDLE
Resource bundle for this data object

See Also:
Constant Field Values
Constructor Detail

PortalRole

public PortalRole()
Creates an instance of PortalRole with default property values.

Method Detail

getPersistentLabel

public java.lang.String getPersistentLabel()
Returns the database name String associated with this PortalRole .

Returns:
name String value for this PortalRole

getLabel

public java.lang.String getLabel()
Returns the name String associated with this PortalRole .

Returns:
name String value for this PortalRole

setLabel

public void setLabel(java.lang.String name)
Sets the name String value for this PortalRole.

Parameters:
name - String value for this PortalRole

getRoleName

public java.lang.String getRoleName()
Returns the name String associated with this PortalRole . This method has been added for SCR 11049. It does the same functionality as getLabel() method

Returns:
name String value for this PortalRole

setRoleName

public void setRoleName(java.lang.String name)
Sets the name String value for this PortalRole. This method has been added for SCR 11049. It does the same functionality as setLabel() method

Parameters:
name - String value for this PortalRole

getRoleID

public java.lang.String getRoleID()
gets the batch uid value for this PortalRole.


setRoleID

public void setRoleID(java.lang.String roleId)
Sets the role Id String value for this PortalRole.

Parameters:
roleId - String value for this PortalRole

getDescription

public java.lang.String getDescription()
gets the description value for this PortalRole.


setDescription

public void setDescription(java.lang.String desc)
Sets the description String value for this PortalRole.

Parameters:
description - String value for this PortalRole

getDataSourceId

public Id getDataSourceId()
gets the datasource id value for this PortalRole.


setDataSourceId

public void setDataSourceId(Id dataSourceId)
sets the datasource id value for this PortalRole

Parameters:
String - dataSourceId

isSelfSelectable

public boolean isSelfSelectable()
gets the isSelfSelectable value for this PortalRole.


setIsSelfSelectable

public void setIsSelfSelectable(boolean isSelfSelect)
sets the isSelfSelectable value for this PortalRole

Parameters:
boolean - isSelfSelect>

isRemovable

public boolean isRemovable()
gets the isRemovable value for this PortalRole.


setIsRemovable

public void setIsRemovable(boolean isRemovable)
sets the isRemovable value for this PortalRole

Parameters:
boolean - isRemovable>

isGuest

public boolean isGuest()
gets the isGuest value for this PortalRole.


setIsGuest

public void setIsGuest(boolean isGuest)
sets the isGuest value for this PortalRole

Parameters:
boolean - isRemoveable>

getDataType

public DataType getDataType()
Returns the DataType identifier for this object. Can be used to uniquely identify the "type" of this data object.

Specified by:
getDataType in interface IBbObject
Specified by:
getDataType in class BbObject
Returns:
the DataType for this object


Copyright © 2003 Blackboard, Inc. All Rights Reserved.