com.novell.admin.ns.fs.nw
Class NWFSRights
java.lang.Object
|
+--com.novell.admin.ns.fs.nw.NWFSRights
- All Implemented Interfaces:
- FSRights, Rights
- public final class NWFSRights
- extends java.lang.Object
- implements FSRights
This class represents rights for a NetWare FileSystem object.
|
Method Summary |
int |
getPrivileges()
Get all the object rights. |
boolean |
hasAddRights()
Test to see if object rights include create rights. |
boolean |
hasAddRightsSet()
Test to see if object rights include create rights. |
boolean |
hasDeleteRights()
Test to see if object rights include delete 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 |
hasReadRights()
Test to see if object rights include read 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 |
hasWriteRights()
Test to see if object rights include write 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 class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NWFSRights
public NWFSRights()
- Default constructor.
NWFSRights
public NWFSRights(int rightsMask)
- Constructor.
- Parameters:
rightsMask - The object rights.
getPrivileges
public int getPrivileges()
- Get all the object rights.
- Specified by:
- getPrivileges in interface FSRights
- Returns:
- The object rights.
hasSupervisorRights
public boolean hasSupervisorRights()
- Test to see if object rights include supervisor rights.
- Specified by:
- hasSupervisorRights in interface FSRights
- 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.
- Specified by:
- setSupervisorRights in interface FSRights
- Returns:
- true if the object has supervisor rights, false otherwise.
hasModifyRights
public boolean hasModifyRights()
- Test to see if object rights include modify rights.
- Specified by:
- hasModifyRights in interface FSRights
- Returns:
- true if the object has modify rights, false otherwise.
hasModifyRightsSet
public boolean hasModifyRightsSet()
- Test to see if object rights include modify rights.
- Specified by:
- hasModifyRightsSet in interface FSRights
- 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.
- Specified by:
- setModifyRights in interface FSRights
- Returns:
- true if the object has modify rights, false otherwise.
hasReadRights
public boolean hasReadRights()
- Test to see if object rights include read rights.
- Returns:
- true if the object has read rights, false otherwise.
hasReadRightsSet
public boolean hasReadRightsSet()
- Test to see if object rights include read rights.
- Specified by:
- hasReadRightsSet in interface FSRights
- 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.
- Specified by:
- setReadRights in interface FSRights
- Returns:
- true if the object has read rights, false otherwise.
hasWriteRights
public boolean hasWriteRights()
- Test to see if object rights include write rights.
- Returns:
- true if the object has write rights, false otherwise.
hasWriteRightsSet
public boolean hasWriteRightsSet()
- Test to see if object rights include write rights.
- Specified by:
- hasWriteRightsSet in interface FSRights
- 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.
- Specified by:
- setWriteRights in interface FSRights
- Returns:
- true if the object has write rights, false otherwise.
hasDeleteRights
public boolean hasDeleteRights()
- Test to see if object rights include delete rights.
- Returns:
- true if the object has delete rights, false otherwise.
hasDeleteRightsSet
public boolean hasDeleteRightsSet()
- Test to see if object rights include delete rights.
- Specified by:
- hasDeleteRightsSet in interface FSRights
- 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.
- Specified by:
- setDeleteRights in interface FSRights
- Returns:
- true if the object has delete rights, false otherwise.
hasAddRights
public boolean hasAddRights()
- Test to see if object rights include create rights.
- Returns:
- true if the object has create rights, false otherwise.
hasAddRightsSet
public boolean hasAddRightsSet()
- Test to see if object rights include create rights.
- Specified by:
- hasAddRightsSet in interface FSRights
- 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.
- Specified by:
- setAddRights in interface FSRights
- Returns:
- true if the object has create rights, false otherwise.
hasSearchRights
public boolean hasSearchRights()
- Test to see if object rights include browse rights.
- Specified by:
- hasSearchRights in interface FSRights
- Returns:
- true if the object has browse rights, false otherwise.
hasSearchRightsSet
public boolean hasSearchRightsSet()
- Test to see if object rights include browse rights.
- Specified by:
- hasSearchRightsSet in interface FSRights
- 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.
- Specified by:
- setSearchRights in interface FSRights
- Returns:
- true if the object has browse rights, false otherwise.
hasOwnershipRights
public boolean hasOwnershipRights()
- Test to see if object rights include ownership rights.
- Specified by:
- hasOwnershipRights in interface FSRights
- Returns:
- true if the object has ownership rights, false otherwise.
hasOwnershipRightsSet
public boolean hasOwnershipRightsSet()
- Test to see if object rights include ownership rights.
- Specified by:
- hasOwnershipRightsSet in interface FSRights
- 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.
- Specified by:
- setOwnershipRights in interface FSRights
- 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.