public static enum CmsFavoriteEntry.Type extends java.lang.Enum<CmsFavoriteEntry.Type>
| Enum Constant and Description |
|---|
explorerFolder
Container page editor favorite.
|
page
Page favorite.
|
| Modifier and Type | Method and Description |
|---|---|
static CmsFavoriteEntry.Type |
fromJsonId(java.lang.String id)
Converts JSON id to correct type.
|
java.lang.String |
getJsonId()
Gets the JSON id for the type.
|
static CmsFavoriteEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsFavoriteEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsFavoriteEntry.Type explorerFolder
public static final CmsFavoriteEntry.Type page
public static CmsFavoriteEntry.Type[] values()
for (CmsFavoriteEntry.Type c : CmsFavoriteEntry.Type.values()) System.out.println(c);
public static CmsFavoriteEntry.Type 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 static CmsFavoriteEntry.Type fromJsonId(java.lang.String id)
id - the JSON idpublic java.lang.String getJsonId()