All Superinterfaces:
ChannelSourceProvider, Comparable<StoreElement>, GomSourceProvider, HistoryProvider, IDProvider, PackagePoolItem, PreviewImageProvider, Referenceable, RulesetContainer, RulesetContainer, SnippetContainer, StoreElement, TemplateContentProvider, TemplateStoreElement, Workflowable
All Known Subinterfaces:
LinkTemplate, MasterTemplate, PageTemplate, SectionTemplate, TableTemplate

This interface provides methods to handle templates.
Since:
3.0
  • Field Details

    • PAGE_TEMPLATE

      static final int PAGE_TEMPLATE
      Type of the template: Page template.
      Since:
      3.0
      See Also:
    • SECTION_TEMPLATE

      static final int SECTION_TEMPLATE
      Type of the template: Section template.
      Since:
      3.0
      See Also:
    • CONTENT_TEMPLATE

      static final int CONTENT_TEMPLATE
      Type of the template: Content store template.
      Since:
      3.0
      See Also:
  • Method Details

    • getType

      int getType()
      Get the type of the Template.
      Returns:
      one of the following
      Since:
      3.0
    • getComment

      @Nullable String getComment()
      Get the comment of the Template
      Returns:
      comment of the Template
      Since:
      3.0
    • setComment

      void setComment(String comment)
      Set the comment of the Template
      Parameters:
      comment - new comment of the Template or null to remove the existing comment
      Since:
      3.0
    • isHidden

      boolean isHidden()
      State if the template is hidden in the selection-list.
      Since:
      3.0
    • setHidden

      void setHidden(boolean hidden)
      Set if the template should be hidden.
      Since:
      3.0