public static enum Permissions.Role extends 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). Similary, 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(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(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.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.