|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.bicontext.Privilege
Represents the rights that a user has to manipulate a context and the objects that a context contains. You set the privilege for a user in an ACLEntry
.
There are five valid privileges:
A Privilege
must be one and only of these types. Each privilege level in the list implies all of the prior privileges. For example, if a user has Write privileges, then the user also has List, Read, and Add Folder privileges.
AclEntry
, Serialized FormField Summary | |
static Privilege |
ADD_FOLDER Privilege: The user can add a subfolder to a folder. |
static Privilege |
FULL_CONTROL Privilege: The user has full control of the folder. |
static Privilege |
LIST Privilege: The user can list the contents of a folder. |
static Privilege |
READ Privilege: The user can read the contents of a folder. |
static Privilege |
WRITE Privilege: The user can write objects to a folder. |
Method Summary | |
boolean |
equals(java.lang.Object obj) Indicates whether the specified object is equivalent to this Privilege . |
boolean |
implies(Privilege privilege) Indicates whether this Privilege implies the specified Privilege . |
java.lang.String |
toString() Converts this Privilege to a String . |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Privilege LIST
public static final Privilege READ
public static final Privilege ADD_FOLDER
public static final Privilege WRITE
public static final Privilege FULL_CONTROL
Method Detail |
public boolean equals(java.lang.Object obj)
Privilege
.equals
in class java.lang.Object
obj
- The object to compare with this Privilege
.true
if obj
is equivalent to this Privilege
, false
if not. This method also returns false if obj
is not a privilege.public boolean implies(Privilege privilege)
Privilege
implies the specified Privilege
. If this method returns true
, then a user who has this Privilege
also has the specified Privilege
. For example, if this Privilege
is "Read", and the specified Privilege
is "List," then this message returns true
. A user who has this Privilege
can read objects in a context and, by implication, can list the objects in the context.obj
- The Privilege
that might be implied by this Privilege
.true
if this Privilege
implies privilege
, false
if it does not.public java.lang.String toString()
Privilege
to a String
. This method returns a String
that identifies the access rights of this Privilege
, such as "List" or "Write".toString
in class java.lang.Object
String
representation of this Privilege
.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |