Interface TemplateExtension

All Superinterfaces:
Comparable<StoreElement>, StoreElement, Workflowable

public interface TemplateExtension extends StoreElement
This interface provides methods to handle TemplateExtensions for Page- and Section-Templates
Since:
3.0
  • Method Details

    • getLinkExtension

      String getLinkExtension()
      Get the link-extension of the TemplateExtension
      Returns:
      link-extension (e.g. HTML, PDF)
      Since:
      3.0
    • setLinkExtension

      void setLinkExtension(String linkExtension)
      Set the link-extension of the TemplateExtension
      Parameters:
      linkExtension - Extension of the link (e.g. HTML, PDF)
      Since:
      3.0
    • isReplaceable

      boolean isReplaceable()
      Indicates whether the file-extension can be overwriten or not.
      Returns:
      trueif this extension is replaceable, false otherwise.
      Since:
      3.0
    • setReplaceable

      void setReplaceable(boolean replaceable)
      Set if the file-extension can be overwriten
      Parameters:
      replaceable - 0 if can be overwriten; 1 if can't be overwriten
      Since:
      3.0
    • getTemplateSet

      TemplateSet getTemplateSet()
      Get the current TemplateSet for this TemplateExtension
      Returns:
      TemplateSet as object
      Since:
      3.0
    • getGenerateAnchor

      boolean getGenerateAnchor()
      Indicates whether to generate an anchor tag when rendering.
      Returns:
      true, if to generate an anchor.
      Since:
      3.0
    • setGenerateAnchor

      void setGenerateAnchor(boolean anchor)
      Defines whether to generate an anchor tag when rendering the related template.
      Parameters:
      anchor - true, to generate an anchor.
      Since:
      3.0