public static enum CAContentCore.Visibility extends java.lang.Enum<CAContentCore.Visibility>
Enum Constant and Description |
---|
GROUP
content can be accessed only by the users in the defined group
|
PRIVATE
content can be accessed only by the owner
|
PUBLIC
content can be accessed by anyone
|
Modifier and Type | Method and Description |
---|---|
static CAContentCore.Visibility |
fromInt(int value) |
int |
toInt() |
static CAContentCore.Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CAContentCore.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CAContentCore.Visibility PUBLIC
public static final CAContentCore.Visibility PRIVATE
public static final CAContentCore.Visibility GROUP
public static CAContentCore.Visibility[] values()
for (CAContentCore.Visibility c : CAContentCore.Visibility.values()) System.out.println(c);
public static CAContentCore.Visibility 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 nullpublic final int toInt()
public static CAContentCore.Visibility fromInt(int value) throws java.lang.IllegalArgumentException
value
- java.lang.IllegalArgumentException
- on bad inputCopyright © 2015 Tampere University of Technology, Pori Department.