public static enum GraphPolicy.Ability extends java.lang.Enum<GraphPolicy.Ability>
Enum Constant and Description |
---|
CHGRP
the user's ability to move the object, as judged by
Permissions.isDisallowChgrp() |
CHMOD
the user's ability to change permissions on the object, as judged by
ACLVoter.allowChmod(IObject) |
CHOWN
the user's ability to give the object, as judged by
Permissions.isDisallowChown() |
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(java.lang.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 CHGRP
Permissions.isDisallowChgrp()
public static final GraphPolicy.Ability CHOWN
Permissions.isDisallowChown()
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.