public static enum GraphPolicy.Ability extends Enum<GraphPolicy.Ability>
Enum Constant and Description |
---|
CHMOD
the user's ability to change permissions on the object, as judged by
ACLVoter.allowChmod(IObject) |
DELETE
the user's ability to delete the object, as judged by
ACLVoter.allowDelete(IObject, ome.model.internal.Details) |
OWN
the user actually owns the object
|
UPDATE
the user's ability to update the object, as judged by
ACLVoter.allowUpdate(IObject, ome.model.internal.Details) |
Modifier and Type | Method and Description |
---|---|
static GraphPolicy.Ability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphPolicy.Ability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphPolicy.Ability UPDATE
ACLVoter.allowUpdate(IObject, ome.model.internal.Details)
public static final GraphPolicy.Ability DELETE
ACLVoter.allowDelete(IObject, ome.model.internal.Details)
public static final GraphPolicy.Ability CHMOD
ACLVoter.allowChmod(IObject)
public static final GraphPolicy.Ability OWN
public static GraphPolicy.Ability[] values()
for (GraphPolicy.Ability c : GraphPolicy.Ability.values()) System.out.println(c);
public static GraphPolicy.Ability valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.