public static enum ExoPersonImpl.Field extends Enum<ExoPersonImpl.Field>
| Enum Constant and Description |
|---|
HOST |
PEOPLE_URI |
PORTAL_CONTAINER |
PORTAL_OWNER |
REST_CONTEXT |
SPACES |
| Modifier and Type | Method and Description |
|---|---|
static ExoPersonImpl.Field |
fromUrlString(String urlString)
Converts from a url string (usually passed in the fields= parameter) into the
corresponding field enum.
|
String |
toString()
emit the field as a json element.
|
static ExoPersonImpl.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExoPersonImpl.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExoPersonImpl.Field SPACES
public static final ExoPersonImpl.Field PORTAL_CONTAINER
public static final ExoPersonImpl.Field REST_CONTEXT
public static final ExoPersonImpl.Field HOST
public static final ExoPersonImpl.Field PORTAL_OWNER
public static final ExoPersonImpl.Field PEOPLE_URI
public static ExoPersonImpl.Field[] values()
for (ExoPersonImpl.Field c : ExoPersonImpl.Field.values()) System.out.println(c);
public static ExoPersonImpl.Field 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 toString()
toString in class Enum<ExoPersonImpl.Field>public static ExoPersonImpl.Field fromUrlString(String urlString)
urlString - The string to translate.Copyright © 2003–2017 eXo Platform SAS. All rights reserved.