Enum Class CMSComponentScope

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

public enum CMSComponentScope extends Enum<CMSComponentScope>
  • Enum Constant Details

    • PREVIEW

      public static final CMSComponentScope PREVIEW
      Component is visible in a preview of its owning page embedded within another page
    • PAGEVIEW

      public static final CMSComponentScope PAGEVIEW
      Component is visible when its owning page is displayed directly
  • Method Details

    • values

      public static CMSComponentScope[] 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 CMSComponentScope 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