@StableMinor(version="12.4", sinceVersion="6.1") public enum StateScope extends Enum<StateScope>
Enum Constant and Description |
---|
all
Permissions with this scope allows are given to
all contents, regardless of whom the content is assigned to.
|
assignedTo
Permissions with this scope allows are given
only when the content is assigned to the user, one of his groups, or none.
|
viewAll
Permissions with this scope allows the user
to see all contents, however is not allowed to edit none of them or create a new one.
|
viewCreatedBy
Permissions with this scope allows the user
to see only the contents it has created, however is not allowed
to edit none of them or create a new one.
|
Modifier and Type | Method and Description |
---|---|
static StateScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateScope all
public static final StateScope assignedTo
public static final StateScope viewAll
public static final StateScope viewCreatedBy
public static StateScope[] values()
for (StateScope c : StateScope.values()) System.out.println(c);
public static StateScope 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 nullLumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.