com.novell.admin.ns.fs
Interface FSRights

All Superinterfaces:
Rights
All Known Implementing Classes:
NWFSRights

public interface FSRights
extends Rights

This interface describes the rights methods for a File System object.


Method Summary
 int getPrivileges()
          Get all the object rights.
 boolean hasAddRightsSet()
          Test to see if object rights include create rights.
 boolean hasDeleteRightsSet()
          Test to see if object rights include delete rights.
 boolean hasModifyRights()
          Test to see if object rights include modify rights.
 boolean hasModifyRightsSet()
          Test to see if object rights include modify rights.
 boolean hasOwnershipRights()
          Test to see if object rights include ownership rights.
 boolean hasOwnershipRightsSet()
          Test to see if object rights include ownership rights.
 boolean hasReadRightsSet()
          Test to see if object rights include read rights.
 boolean hasSearchRights()
          Test to see if object rights include browse rights.
 boolean hasSearchRightsSet()
          Test to see if object rights include browse rights.
 boolean hasSupervisorRights()
          Test to see if object rights include supervisor rights.
 boolean hasWriteRightsSet()
          Test to see if object rights include write rights.
 void setAddRights(boolean flag)
          Test to see if object rights include create rights.
 void setDeleteRights(boolean flag)
          Test to see if object rights include delete rights.
 void setModifyRights(boolean flag)
          Test to see if object rights include modify rights.
 void setOwnershipRights(boolean flag)
          Test to see if object rights include ownership rights.
 void setReadRights(boolean flag)
          Test to see if object rights include read rights.
 void setSearchRights(boolean flag)
          Test to see if object rights include browse rights.
 void setSupervisorRights(boolean flag)
          Test to see if object rights include supervisor rights.
 void setWriteRights(boolean flag)
          Test to see if object rights include write rights.
 
Methods inherited from interface com.novell.admin.ns.Rights
hasAddRights, hasDeleteRights, hasReadRights, hasWriteRights
 

Method Detail

getPrivileges

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

hasSupervisorRights

public boolean hasSupervisorRights()
Test to see if object rights include supervisor rights.
Returns:
true if the object has supervisor rights, false otherwise.

setSupervisorRights

public void setSupervisorRights(boolean flag)
Test to see if object rights include supervisor rights.
Returns:
true if the object has supervisor rights, false otherwise.

hasModifyRights

public boolean hasModifyRights()
Test to see if object rights include modify rights.
Returns:
true if the object has modify rights, false otherwise.

hasModifyRightsSet

public boolean hasModifyRightsSet()
Test to see if object rights include modify rights.
Returns:
true if the object has modify rights, false otherwise.

setModifyRights

public void setModifyRights(boolean flag)
Test to see if object rights include modify rights.
Returns:
true if the object has modify rights, false otherwise.

hasReadRightsSet

public boolean hasReadRightsSet()
Test to see if object rights include read rights.
Returns:
true if the object has read rights, false otherwise.

setReadRights

public void setReadRights(boolean flag)
Test to see if object rights include read rights.
Returns:
true if the object has read rights, false otherwise.

hasWriteRightsSet

public boolean hasWriteRightsSet()
Test to see if object rights include write rights.
Returns:
true if the object has write rights, false otherwise.

setWriteRights

public void setWriteRights(boolean flag)
Test to see if object rights include write rights.
Returns:
true if the object has write rights, false otherwise.

hasDeleteRightsSet

public boolean hasDeleteRightsSet()
Test to see if object rights include delete rights.
Returns:
true if the object has delete rights, false otherwise.

setDeleteRights

public void setDeleteRights(boolean flag)
Test to see if object rights include delete rights.
Returns:
true if the object has delete rights, false otherwise.

hasAddRightsSet

public boolean hasAddRightsSet()
Test to see if object rights include create rights.
Returns:
true if the object has create rights, false otherwise.

setAddRights

public void setAddRights(boolean flag)
Test to see if object rights include create rights.
Returns:
true if the object has create rights, false otherwise.

hasSearchRights

public boolean hasSearchRights()
Test to see if object rights include browse rights.
Returns:
true if the object has browse rights, false otherwise.

hasSearchRightsSet

public boolean hasSearchRightsSet()
Test to see if object rights include browse rights.
Returns:
true if the object has browse rights, false otherwise.

setSearchRights

public void setSearchRights(boolean flag)
Test to see if object rights include browse rights.
Returns:
true if the object has browse rights, false otherwise.

hasOwnershipRights

public boolean hasOwnershipRights()
Test to see if object rights include ownership rights.
Returns:
true if the object has ownership rights, false otherwise.

hasOwnershipRightsSet

public boolean hasOwnershipRightsSet()
Test to see if object rights include ownership rights.
Returns:
true if the object has ownership rights, false otherwise.

setOwnershipRights

public void setOwnershipRights(boolean flag)
Test to see if object rights include ownership rights.
Returns:
true if the object has ownership rights, false otherwise.


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