|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.voms.service.Operation
An enumeration representing operations in the administration interface. Used in access control.
DBACL
Field Summary | |
static Operation |
ADD
The value for membership addition. |
static Operation |
ALL
The value representing all operations. |
private static java.util.Map |
byId
|
private static java.util.Map |
byName
|
static Operation |
CREATE
The value for entity (user or container) creation. |
static Operation |
DELETE
The value for entity deletion. |
static Operation |
GET_ACL
The value for ACL queries. |
static Operation |
GET_DEFAULT_ACL
The value for default ACL queries. |
private int |
id
|
static Operation |
LIST
The value for membership lists. |
private java.lang.String |
name
|
private static java.util.List |
names
|
static Operation |
REMOVE
The value for membership removal. |
static Operation |
SET_ACL
The value for ACL modification. |
static Operation |
SET_DEFAULT_ACL
The value for modification of default ACLs. |
Constructor Summary | |
private |
Operation(int id,
java.lang.String name)
|
Method Summary | |
int |
getId()
|
static Operation |
getInstance(int i)
Return the operation corresponding to the given integer. |
static Operation |
getInstance(java.lang.String name)
Return the operation corresponding to the given integer. |
java.lang.String |
getName()
|
static java.lang.String[] |
getOperationNames()
Return the operation names as an array of strings. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.lang.String name
private final int id
private static final java.util.Map byName
private static final java.util.Map byId
private static final java.util.List names
public static final Operation ALL
public static final Operation CREATE
public static final Operation DELETE
public static final Operation ADD
public static final Operation REMOVE
public static final Operation SET_ACL
public static final Operation GET_ACL
public static final Operation SET_DEFAULT_ACL
public static final Operation GET_DEFAULT_ACL
public static final Operation LIST
Constructor Detail |
private Operation(int id, java.lang.String name)
Method Detail |
public int getId()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public static Operation getInstance(int i) throws ArgumentException
ArgumentException
- if there is no such operation.public static Operation getInstance(java.lang.String name) throws ArgumentException
ArgumentException
- if there is no such operation.public static java.lang.String[] getOperationNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |