|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.emframe.dev.rights.eDirRightsData
com.novell.emframe.dev.rights.eDirPropertyRightsData
A class that provides encapsulation of eDirectory property rights on our rights pages.
| Field Summary | |
static int |
RIGHTS_COMPARE
Represents the right to compare properties. |
static int |
RIGHTS_DYNAMIC
Represents that rights are dynamic. |
static int |
RIGHTS_INHERITABLE
Represents that the specific right can be inherited by child objects. |
static int |
RIGHTS_READ
Represents the right to read properties. |
static int |
RIGHTS_SELF
Represents the right to your own properties. |
static int |
RIGHTS_SUPERVISOR
Represents the supervisor right, which encapsulates compare, read, write, and self. |
static int |
RIGHTS_WRITE
Represents the right to write properties. |
| Constructor Summary | |
eDirPropertyRightsData(int rights,
boolean allProperties)
Constructs an eDirPropertyRightsData object which represents the rights for a specific property object or for all properties of an eDirectory object. |
|
| Method Summary | |
int |
getRights()
Gets the rights from this eDirPropertyRightsData object. |
boolean |
hasCompareRights()
Returns whether the eDirPropertyRightsData includes compare rights. |
boolean |
hasDynamicRights()
Returns whether the eDirPropertyRightsData includes dynamic rights. |
boolean |
hasInheritableRights()
Returns whether the eDirPropertyRightsData includes inheritable rights. |
boolean |
hasReadRights()
Returns whether the eDirPropertyRightsData includes read rights. |
boolean |
hasSelfRights()
Returns whether the eDirPropertyRightsData includes self rights. |
boolean |
hasSupervisorRights()
Returns whether the eDirPropertyRightsData includes supervisor rights. |
boolean |
hasWriteRights()
Returns whether the eDirPropertyRightsData includes write rights. |
void |
setCompare(boolean set)
Set or clear whether the eDirPropertyRightsData includes compare rights. |
void |
setDynamic(boolean set)
Set or clear whether the eDirPropertyRightsData includes dynamic rights. |
void |
setInheritable(boolean set)
Set or clear whether the eDirPropertyRightsData includes inheritable rights. |
void |
setRead(boolean set)
Set or clear whether the eDirPropertyRightsData includes read rights. |
void |
setSelf(boolean set)
Set or clear whether the eDirPropertyRightsData includes self rights. |
void |
setSupervisor(boolean set)
Set or clear whether the eDirPropertyRightsData includes supervisor rights. |
void |
setWrite(boolean set)
Set or clear whether the eDirPropertyRightsData includes write rights. |
| Methods inherited from class com.novell.emframe.dev.rights.eDirRightsData |
addDirtyListener, clearDirty, isDirty, removeDirtyListener, setDirty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int RIGHTS_COMPARE
public static final int RIGHTS_DYNAMIC
public static final int RIGHTS_INHERITABLE
public static final int RIGHTS_READ
public static final int RIGHTS_SELF
public static final int RIGHTS_SUPERVISOR
public static final int RIGHTS_WRITE
| Constructor Detail |
public eDirPropertyRightsData(int rights,
boolean allProperties)
rights - An int comprising of the merging of binary flags representing specific eDirectory rightsallProperties - true if the rights are for all properties on this object, false if otherwise| Method Detail |
public int getRights()
getRights in class eDirRightsDatapublic boolean hasCompareRights()
public boolean hasDynamicRights()
public boolean hasInheritableRights()
hasInheritableRights in class eDirRightsDatapublic boolean hasReadRights()
public boolean hasSelfRights()
public boolean hasSupervisorRights()
public boolean hasWriteRights()
public void setCompare(boolean set)
set - true if right is present, false otherwisepublic void setDynamic(boolean set)
set - true if right is present, false otherwisepublic void setInheritable(boolean set)
set - true if right is present, false otherwisepublic void setRead(boolean set)
set - true if right is present, false otherwisepublic void setSelf(boolean set)
set - true if right is present, false otherwisepublic void setSupervisor(boolean set)
set - true if right is present, false otherwisepublic void setWrite(boolean set)
set - true if right is present, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||