@GwtCompatible public enum StoreType extends Enum<StoreType>
Enum Constant and Description |
---|
CONTENT |
GLOBAL |
MEDIA |
PAGE |
SITE |
TEMPLATE |
Modifier and Type | Method and Description |
---|---|
static StoreType |
forName(String name)
Returns the
StoreType with the specified store-name (e.g. |
String |
getName()
Returns old style store name (e.g.
|
char |
getTypeChar() |
static StoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreType PAGE
public static final StoreType CONTENT
public static final StoreType SITE
public static final StoreType MEDIA
public static final StoreType TEMPLATE
public static final StoreType GLOBAL
public static StoreType[] values()
for (StoreType c : StoreType.values()) System.out.println(c);
public static StoreType 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 char getTypeChar()
@NotNull public String getName()
"pagestore"
for PAGE
).@NotNull public static StoreType forName(@NotNull String name) throws IllegalArgumentException
name
- store-name (e.g. "pagestore"
or "SITESTORE"
).IllegalArgumentException
- if the specified store-name is unknown.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408