Enum Page.PageCacheType
- java.lang.Object
-
- java.lang.Enum<Page.PageCacheType>
-
- lumis.portal.structure.sync.model.page.Page.PageCacheType
-
- All Implemented Interfaces:
Serializable
,Comparable<Page.PageCacheType>
- Enclosing class:
- Page
public static enum Page.PageCacheType extends Enum<Page.PageCacheType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.PageCacheType
normalize()
Returns the normalized item.Page.PageCacheTypeHibernate
toHibernate()
Returns the hibernate enum item related to this one.static Page.PageCacheType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Page.PageCacheType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final Page.PageCacheType DISABLED
-
ENABLED
public static final Page.PageCacheType ENABLED
-
ALL_USERS
@Deprecated public static final Page.PageCacheType ALL_USERS
Deprecated.since 10.3.0 replaced byENABLED
-
ONLY_GUEST
@Deprecated public static final Page.PageCacheType ONLY_GUEST
Deprecated.since 10.3.0 replaced byENABLED
-
INHERIT
public static final Page.PageCacheType INHERIT
-
-
Method Detail
-
values
public static Page.PageCacheType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Page.PageCacheType c : Page.PageCacheType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Page.PageCacheType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toHibernate
public Page.PageCacheTypeHibernate toHibernate()
Returns the hibernate enum item related to this one.- Returns:
- the hibernate enum item related to this one.
- Since:
- 10.3.0
-
normalize
public Page.PageCacheType normalize()
Returns the normalized item.- Returns:
- the normalized item.
- Since:
- 10.3.0
-
-