Enum Class ContentItemMode

java.lang.Object
java.lang.Enum<ContentItemMode>
io.goobi.viewer.model.cms.pages.content.ContentItemMode
All Implemented Interfaces:
Serializable, Comparable<ContentItemMode>, Constable

public enum ContentItemMode extends Enum<ContentItemMode>
Optional property of a ContentItem within a template Allows additional control about which fields are shown in the cms-backend for this item. The value is set in the template xml like ... If no value is set, "simple" is assumed
Author:
Florian Alpers
  • Enum Constant Details

  • Method Details

    • values

      public static ContentItemMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ContentItemMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static ContentItemMode get(String name)

      get.

      Parameters:
      name - a String object.
      Returns:
      a ContentItemMode object.