public enum ShareVisibilityCode extends Enum<ShareVisibilityCode>
Enum Constant and Description |
---|
ANYONE |
CONNECTIONS_ONLY |
Modifier and Type | Method and Description |
---|---|
static ShareVisibilityCode |
fromValue(String value) |
String |
value() |
static ShareVisibilityCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareVisibilityCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareVisibilityCode ANYONE
public static final ShareVisibilityCode CONNECTIONS_ONLY
public static ShareVisibilityCode[] values()
for (ShareVisibilityCode c : ShareVisibilityCode.values()) System.out.println(c);
public static ShareVisibilityCode 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 nullpublic String value()
public static ShareVisibilityCode fromValue(String value)
Copyright © 2005–2017 Alfresco Software. All rights reserved.