Enum Class GomTypeRestrictedTemplates.TemplateType

java.lang.Object
java.lang.Enum<GomTypeRestrictedTemplates.TemplateType>
de.espirit.firstspirit.access.store.templatestore.gom.lists.GomTypeRestrictedTemplates.TemplateType
All Implemented Interfaces:
Serializable, Comparable<GomTypeRestrictedTemplates.TemplateType>, Constable
Enclosing class:
GomTypeRestrictedTemplates

public static enum GomTypeRestrictedTemplates.TemplateType extends Enum<GomTypeRestrictedTemplates.TemplateType>
Types of templates.
Since:
5.2.6
  • Enum Constant Details

  • Method Details

    • values

      public static GomTypeRestrictedTemplates.TemplateType[] 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 GomTypeRestrictedTemplates.TemplateType 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
    • getUidType

      public IDProvider.UidType getUidType()
      Provides the uid type of this template type.
      Returns:
      The uid type.
      Since:
      5.2.6
    • getObjectType

      public Class<? extends Template> getObjectType()
      Provides the object type of this template type.
      Returns:
      The object type.
      Since:
      5.2.6
    • isVisible

      public abstract boolean isVisible(Template template)
      Indicates the visibility of the given template.
      Parameters:
      template - The template to be examined.
      Returns:
      true, if the template is visible.
      Since:
      5.2.6