public class eDirObjectRightsData extends eDirRightsData
| Modifier and Type | Field and Description |
|---|---|
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_NESTED
Represents that the members(through nested relation) will get the rights which the nested group will have.
|
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 and Description |
|---|
eDirObjectRightsData(int rights)
Constructs an eDirObjectRightsData object which represents the rights for a specific eDirectory object.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
hasNestedRights()
Returns whether the eDirPropertyRightsData includes nested 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 |
setNestedRights(boolean set) |
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.
|
addDirtyListener, clearDirty, isDirty, removeDirtyListener, setDirtypublic static final int RIGHTS_BROWSE
public static final int RIGHTS_ADD
public static final int RIGHTS_DELETE
public static final int RIGHTS_RENAME
public static final int RIGHTS_SUPERVISOR
public static final int RIGHTS_INHERITABLE
public static final int RIGHTS_DYNAMIC
public static final int RIGHTS_NESTED
public eDirObjectRightsData(int rights)
rights - An int comprising of the merging of binary flags representing specific eDirectory rights.public int getRights()
getRights in class eDirRightsDatapublic boolean hasBrowseRights()
public boolean hasAddRights()
public boolean hasDeleteRights()
public boolean hasRenameRights()
public boolean hasSupervisorRights()
public boolean hasDynamicRights()
public boolean hasInheritableRights()
hasInheritableRights in class eDirRightsDatapublic boolean hasNestedRights()
public void setBrowse(boolean set)
set - true if right is present, false otherwisepublic void setAdd(boolean set)
set - true if right is present, false otherwisepublic void setDelete(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 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 setNestedRights(boolean set)
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.