com.novell.admin.ns.jfs
Class JFSRights
java.lang.Object
|
+--com.novell.admin.ns.jfs.JFSRights
- All Implemented Interfaces:
- Rights
- public final class JFSRights
- extends java.lang.Object
- implements Rights
This class represents rights for an object.
|
Constructor Summary |
JFSRights(boolean canRead,
boolean canWrite,
boolean canDelete,
boolean canAdd)
|
|
Method Summary |
boolean |
hasAddRights()
Can the associated object or attribute have children added. |
boolean |
hasDeleteRights()
Can the associated object be deleted. |
boolean |
hasReadRights()
Can the associated object be read. |
boolean |
hasWriteRights()
Can the associated object be written. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JFSRights
public JFSRights(boolean canRead,
boolean canWrite,
boolean canDelete,
boolean canAdd)
hasReadRights
public boolean hasReadRights()
- Can the associated object be read.
- Specified by:
- hasReadRights in interface Rights
- Returns:
- Whether reading is possible.
hasWriteRights
public boolean hasWriteRights()
- Can the associated object be written.
- Specified by:
- hasWriteRights in interface Rights
- Returns:
- Whether writing/modifying is possible.
hasDeleteRights
public boolean hasDeleteRights()
- Can the associated object be deleted.
- Specified by:
- hasDeleteRights in interface Rights
- Returns:
- Whether deleting is possible.
hasAddRights
public boolean hasAddRights()
- Can the associated object or attribute have children added.
- Specified by:
- hasAddRights in interface Rights
- Returns:
- Whether adding children is possible.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.