Package nl.gx.webmanager.cms.core
Enum PresentationContext.InContextViewMode
- java.lang.Object
-
- java.lang.Enum<PresentationContext.InContextViewMode>
-
- nl.gx.webmanager.cms.core.PresentationContext.InContextViewMode
-
- All Implemented Interfaces:
Serializable
,Comparable<PresentationContext.InContextViewMode>
- Enclosing interface:
- PresentationContext
public static enum PresentationContext.InContextViewMode extends Enum<PresentationContext.InContextViewMode>
Contains possible modes in which the views in the in-context mode are rendered.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_ONLY
Render only active content items in the same manner as they are rendered on the frontend at the selected in-content time.IGNORE_PUBLICATION_STATUS
Do not check the publication status when rendering content items in the in-content mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PresentationContext.InContextViewMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresentationContext.InContextViewMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_ONLY
public static final PresentationContext.InContextViewMode ACTIVE_ONLY
Render only active content items in the same manner as they are rendered on the frontend at the selected in-content time.
-
IGNORE_PUBLICATION_STATUS
public static final PresentationContext.InContextViewMode IGNORE_PUBLICATION_STATUS
Do not check the publication status when rendering content items in the in-content mode.
-
-
Method Detail
-
values
public static PresentationContext.InContextViewMode[] 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 (PresentationContext.InContextViewMode c : PresentationContext.InContextViewMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresentationContext.InContextViewMode 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
-
-