| |
|
| java.lang.Object org.mmbase.security.Operation
Operation | final public class Operation (Code) | | This class is a kind of enumeration (introduced before java 1.5 enumerations) of the operations
possible within the security authorization.
author: Eduard Witteveen version: $Id: Operation.java,v 1.13 2007/12/06 08:08:13 michiel Exp $ See Also: Authorization |
CHANGECONTEXT | final public static Operation CHANGECONTEXT(Code) | | Identifier for change context operation, which is used when changing the context of a node
|
CHANGECONTEXT_INT | final public static int CHANGECONTEXT_INT(Code) | | |
CHANGE_CONTEXT | final public static Operation CHANGE_CONTEXT(Code) | | Identifier for change context operation, which is used when changing the context of a node
since: MMBase-1.7 |
CHANGE_CONTEXT_INT | final public static int CHANGE_CONTEXT_INT(Code) | | int value for change context operation
since: MMBase-1.7 |
CHANGE_RELATION | final public static Operation CHANGE_RELATION(Code) | | Identifier for changing the source and/or destination field of a
relation.
|
CHANGE_RELATION_INT | final public static int CHANGE_RELATION_INT(Code) | | int value for the change relation Operation
|
CREATE | final public static Operation CREATE(Code) | | Identifier for create operation, which is used for creating a new node.
This only applies on NodeManagers (builders)
|
CREATE_INT | final public static int CREATE_INT(Code) | | int value for the create Operation
|
DELETE | final public static Operation DELETE(Code) | | Identifier for remove operation, which is used when removing a node
|
DELETE_INT | final public static int DELETE_INT(Code) | | int value for the remove Operation
|
READ | final public static Operation READ(Code) | | A 'read' operation is acquiring an MMBase Node. We have no field-level granularity for the
authorization. Having a
org.mmbase.bridge.Node means that you
|
READ_INT | final public static int READ_INT(Code) | | int value for the read Operation
|
WRITE | final public static Operation WRITE(Code) | | Node.setValue is an example of a write-operation.
|
WRITE_INT | final public static int WRITE_INT(Code) | | int value for the write Operation
|
getInt | public int getInt()(Code) | | This method gives back the internal int value of the Operation,
which can be used in switch statements
the internal int value |
getOperation | public static Operation getOperation(String operationString)(Code) | | retrieve a Operation by a given string
|
toString | public String toString()(Code) | | a string containing the description of the operation |
|
|
|