oracle.workspaces.authorization
Class CwPermission
java.lang.Object
CwAbstractGrantable
oracle.workspaces.authorization.CwPermission
- public class CwPermission
- extends CwAbstractGrantable
The class to represent a permission in the CW System on any CW object.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CwPermission
public CwPermission(CwPermissionType permissionType,
CwUid objectUID)
throws CwException
- Construct a CwPermission object. TODO: better make it protected since the caller does not have a clue what are the allowed mapping
- Throws:
CwException
- if the mapping between the two parameters is not allowed
implies
public boolean implies(CwPermission permission)
throws CwException
- Check if this grantable implies the specified permission
-
- Returns:
- true if the permission is implied; false otherwise
- Throws:
CwException
isReadPermission
public boolean isReadPermission()
throws CwException
-
- Throws:
CwException