com.novell.admin.ns.nds
Interface NDSObjectRights

All Superinterfaces:
Rights

public interface NDSObjectRights
extends Rights

This interface represents rights for an NDS object.


Method Summary
 int getPrivileges()
          Returns all the rights an object has.
 boolean hasAddRights()
          Determines if the associated object can have child objects created.
 boolean hasBrowseRights()
          Determines if object rights include browse rights.
 boolean hasDeleteRights()
          Determines if the associated object can be deleted.
 boolean hasInheritCtlRights()
          Determines if object rights include inheritance control rights.
 boolean hasReadRights()
          Determines if the associated object can be read.
 boolean hasRenameRights()
          Determines if the associated object can has rename rights.
 boolean hasSupervisorRights()
          Determines if object rights include supervisor rights.
 boolean hasWriteRights()
          Determines if the associated object can have its name written.
 

Method Detail

getPrivileges

public int getPrivileges()
Returns all the rights an object has.
Returns:
The object rights.

hasBrowseRights

public boolean hasBrowseRights()
Determines if object rights include browse rights.
Returns:
True if the object has browse rights, false otherwise.

hasAddRights

public boolean hasAddRights()
Determines if the associated object can have child objects created.
Specified by:
hasAddRights in interface Rights
Returns:
True if creating children is possible.

hasDeleteRights

public boolean hasDeleteRights()
Determines if the associated object can be deleted.
Specified by:
hasDeleteRights in interface Rights
Returns:
True if the object can be deleted.

hasRenameRights

public boolean hasRenameRights()
Determines if the associated object can has rename rights.
Returns:
true if the object has rename rights, false otherwise.

hasSupervisorRights

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

hasInheritCtlRights

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

hasReadRights

public boolean hasReadRights()
Determines if the associated object can be read.
Specified by:
hasReadRights in interface Rights
Returns:
True if this object can be read.

hasWriteRights

public boolean hasWriteRights()
Determines if the associated object can have its name written.
Specified by:
hasWriteRights in interface Rights
Returns:
True if this object can be renamed.


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