com.novell.admin.ns.nds
Interface NDSPropertyRights

All Superinterfaces:
Rights

public interface NDSPropertyRights
extends Rights

This class represents the property rights for an object.


Method Summary
 boolean canModify()
          Determines if the attribute can be modified.
 java.lang.String getAttributeName()
          Returns the name of the attribute associated with trusteeRights.
 int getPrivileges()
          Returns all the property rights.
 boolean hasAddRights()
          Determimes if the associated attribute can be created if it doesn't currently have any values.
 boolean hasCompareRights()
          Determines if an object has compare rights.
 boolean hasDeleteRights()
          Determines if the associated attribute's values can be deleted.
 boolean hasInheritCtlRights()
          Determines if an objec has inheritance control rights.
 boolean hasReadRights()
          Determines if the associated attribute's values can be read.
 boolean hasSelfRights()
          Determines if an object has Self rights.
 boolean hasSupervisorRights()
          Determines if an object has Supervisor rights.
 boolean hasWriteRights()
          Determines if the associated attribute's values can be modified.
 

Method Detail

getAttributeName

public java.lang.String getAttributeName()
Returns the name of the attribute associated with trusteeRights.
Returns:
The attribute name.

getPrivileges

public int getPrivileges()
Returns all the property rights.
Returns:
The property rights.

hasCompareRights

public boolean hasCompareRights()
Determines if an object has compare rights.
Returns:
True if the object has compare rights, false otherwise.

hasReadRights

public boolean hasReadRights()
Determines if the associated attribute's values can be read.
Specified by:
hasReadRights in interface Rights
Returns:
True if the attribute's values can be read.

hasWriteRights

public boolean hasWriteRights()
Determines if the associated attribute's values can be modified.
Specified by:
hasWriteRights in interface Rights
Returns:
True if the attribute's values can be modified.

hasSelfRights

public boolean hasSelfRights()
Determines if an object has Self rights.
Returns:
True if the object has self rights, false otherwise.

hasSupervisorRights

public boolean hasSupervisorRights()
Determines if an object has Supervisor rights.
Returns:
True if the object has Supervisor rights, false otherwise.

hasInheritCtlRights

public boolean hasInheritCtlRights()
Determines if an objec has inheritance control rights.
Returns:
True if the object has inheritance control rights, false otherwise.

hasDeleteRights

public boolean hasDeleteRights()
Determines if the associated attribute's values can be deleted.
Specified by:
hasDeleteRights in interface Rights
Returns:
True if all this attribute's values can be deleted.

hasAddRights

public boolean hasAddRights()
Determimes if the associated attribute can be created if it doesn't currently have any values.
Specified by:
hasAddRights in interface Rights
Returns:
True if creating the attribute is possible.

canModify

public boolean canModify()
Determines if the attribute can be modified.

For ConsoleOne, the object must have read and write rights to the attribute. (NDS requires read and write rights to modify single-valued attributes and write rights to multivalued attributes.

Returns:
True if the object can modify the attribute.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.