public class eDirPropertyRightsData extends eDirRightsData
| Modifier and Type | Field and Description |
|---|---|
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_NESTED
Represents that the members(through nested relation) will get the rights which the nested group will have.
|
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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
hasNestedRights()
Returns whether the eDirPropertyRightsData includes nested 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 |
setNestedRights(boolean set) |
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.
|
addDirtyListener, clearDirty, isDirty, removeDirtyListener, setDirtypublic static final int RIGHTS_COMPARE
public static final int RIGHTS_READ
public static final int RIGHTS_WRITE
public static final int RIGHTS_SELF
public static final int RIGHTS_SUPERVISOR
public static final int RIGHTS_DYNAMIC
public static final int RIGHTS_INHERITABLE
public static final int RIGHTS_NESTED
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 otherwisepublic int getRights()
getRights in class eDirRightsDatapublic boolean hasCompareRights()
public boolean hasReadRights()
public boolean hasWriteRights()
public boolean hasSelfRights()
public boolean hasSupervisorRights()
public boolean hasDynamicRights()
public boolean hasInheritableRights()
hasInheritableRights in class eDirRightsDatapublic boolean hasNestedRights()
public void setCompare(boolean set)
set - true if right is present, false otherwisepublic void setRead(boolean set)
set - true if right is present, false otherwisepublic void setWrite(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 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}.