public static enum Permissions.Role extends java.lang.Enum<Permissions.Role>
USER
role is active
when the contents of Details.getOwner()
equals the current user
as determined from the Security system (Server-side only). Similarly, the
GROUP
role is active when the contents of
Details.getGroup()
matches the current group. WORLD
is
used for any non-USER, non-GROUP user.
For more advanced, ACL, methods taking
Experimenter
references can be implemented.Modifier and Type | Method and Description |
---|---|
static Permissions.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Permissions.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions.Role USER
public static final Permissions.Role GROUP
public static final Permissions.Role WORLD
public static Permissions.Role[] values()
for (Permissions.Role c : Permissions.Role.values()) System.out.println(c);
public static Permissions.Role 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.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.