|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.platform.security.Entitlement
public class Entitlement
The Entitlement class represents a permission for an action on a given type of object in the Blackboard application, within a given context ( i.e, the permission to view content in a course ). Entitlements have a "unique id" (UID) that is used for comparisons.
AccessManagerService| Field Summary | |
|---|---|
static DataType |
DATA_TYPE
|
protected java.lang.String |
entitlementUid
|
protected Id |
id
|
| Constructor Summary | |
|---|---|
Entitlement()
Creates an instance of Entitlement with default property values. |
|
Entitlement(java.lang.String uid)
Convenience method to create an Entitlement based on a given UID. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
DataType |
getDataType()
Returns the DataType identifier for this object. |
java.lang.String |
getEntitlementUid()
Return the unique identifier associated with this Entitlement. |
Id |
getId()
|
int |
hashCode()
|
void |
setEntitlementUid(java.lang.String uid)
|
void |
setId(Id id)
|
java.lang.String |
toString()
|
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataType DATA_TYPE
protected java.lang.String entitlementUid
protected Id id
| Constructor Detail |
|---|
public Entitlement()
Entitlement with default property values.
public Entitlement(java.lang.String uid)
uid - UID of the entitlement to create.| Method Detail |
|---|
public java.lang.String getEntitlementUid()
public void setEntitlementUid(java.lang.String uid)
public Id getId()
public void setId(Id id)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
public void validate()
throws ValidationException
ValidationExceptionpublic DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
DataType for this objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||