public enum ViewName extends Enum<ViewName>
Enum Constant and Description |
---|
BROWSE |
COMMENTS |
EDIT_ENTITY |
EDIT_ENTITY_JSON |
GRAPH |
PREVIEW |
SEARCH |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<ViewName> |
find(List<String> ids)
Finds a list with view name instances which are given by the ids.
|
static ViewName |
find(String id)
Finds a new view name instance by the given id.
|
Collection<Badge> |
getBadges() |
String |
getI18nKey() |
String |
getIcon() |
String |
getId() |
String |
getPath() |
static ViewName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewName SEARCH
public static final ViewName GRAPH
public static final ViewName PREVIEW
public static final ViewName BROWSE
public static final ViewName COMMENTS
public static final ViewName EDIT_ENTITY
public static final ViewName EDIT_ENTITY_JSON
public static ViewName[] values()
for (ViewName c : ViewName.values()) System.out.println(c);
public static ViewName 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 static ViewName find(String id)
id
- the id of the view name to createIllegalArgumentException
- if the id name is not knownpublic static com.google.common.collect.ImmutableList<ViewName> find(List<String> ids)
ids
- the ids of the views to createIllegalArgumentException
- if the id of an view name is not knownpublic String getId()
public String getI18nKey()
public String getPath()
public String getIcon()
public Collection<Badge> getBadges()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.