|
||||||||||
| 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.eDirObjectRightsData
A class that provides encapsulation of eDirectory object rights on our rights pages.
| Field Summary | |
static int |
RIGHTS_ADD
Represents the right to add objects. |
static int |
RIGHTS_BROWSE
Represents the right to browse objects. |
static int |
RIGHTS_DELETE
Represents the right to delete objects. |
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_RENAME
Represents the right to rename objects. |
static int |
RIGHTS_SUPERVISOR
Represents the supervisor right, which encapsulates browse, add, delete, and rename. |
| Constructor Summary | |
eDirObjectRightsData(int rights)
Constructs an eDirObjectRightsData object which represents the rights for a specific eDirectory object. |
|
| Method Summary | |
int |
getRights()
Gets the rights from this eDirObjectRightsData object. |
boolean |
hasAddRights()
Returns whether the eDirObjectRightsData includes the add rights. |
boolean |
hasBrowseRights()
Returns whether the eDirObjectRightsData includes browse rights. |
boolean |
hasDeleteRights()
Returns whether the eDirObjectRightsData includes delete rights. |
boolean |
hasDynamicRights()
Returns whether the eDirObjectRightsData includes dynamic rights. |
boolean |
hasInheritableRights()
Returns whether the eDirObjectRightsData includes inheritable rights. |
boolean |
hasRenameRights()
Returns whether the eDirObjectRightsData includes rename rights. |
boolean |
hasSupervisorRights()
Returns whether the eDirObjectRightsData includes supervisor rights. |
void |
setAdd(boolean set)
Set or clear whether the eDirObjectRightsData includes add rights. |
void |
setBrowse(boolean set)
Set or clear whether the eDirObjectRightsData includes browse rights. |
void |
setDelete(boolean set)
Set or clear whether the eDirObjectRightsData includes delete rights. |
void |
setDynamic(boolean set)
Set or clear whether the eDirObjectRightsData includes dynamic rights. |
void |
setInheritable(boolean set)
Set or clear whether the eDirObjectRightsData includes inheritable rights. |
void |
setRename(boolean set)
Set or clear whether the eDirObjectRightsData includes rename rights. |
void |
setSupervisor(boolean set)
Set or clear whether the eDirObjectRightsData includes supervisor 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_ADD
public static final int RIGHTS_BROWSE
public static final int RIGHTS_DELETE
public static final int RIGHTS_DYNAMIC
public static final int RIGHTS_INHERITABLE
public static final int RIGHTS_RENAME
public static final int RIGHTS_SUPERVISOR
| Constructor Detail |
public eDirObjectRightsData(int rights)
rights - An int comprising of the merging of binary flags representing specific eDirectory rights.| Method Detail |
public int getRights()
getRights in class eDirRightsDatapublic boolean hasAddRights()
public boolean hasBrowseRights()
public boolean hasDeleteRights()
public boolean hasDynamicRights()
public boolean hasInheritableRights()
hasInheritableRights in class eDirRightsDatapublic boolean hasRenameRights()
public boolean hasSupervisorRights()
public void setAdd(boolean set)
set - true if right is present, false otherwisepublic void setBrowse(boolean set)
set - true if right is present, false otherwisepublic void setDelete(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 setRename(boolean set)
set - true if right is present, false otherwisepublic void setSupervisor(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 | |||||||||