Interface MTPublishTemplateHeader

All Known Subinterfaces:
MTPublishTemplate

public interface MTPublishTemplateHeader
Author:
sebastian
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a MTPublishTemplate for this publish template.
    long
    Returns the unique ID of the publish template.
    Return the title of the template.
    Returns the type of the profile.
    boolean
    Checks if the template is the default template on the server.
    void
    Removes the template.
  • Method Details

    • getID

      long getID()
      Returns the unique ID of the publish template. This ID is unique across the entire database.
      Returns:
      The unique ID.
    • getType

      String getType()
      Returns the type of the profile. This should be a unique identifier identifying the module used to create the custom export profile.
      Returns:
      The profile type.
      Since:
      4.3
    • getTitle

      String getTitle()
      Return the title of the template.
      Returns:
      The template title.
    • isDefaultPublishTemplate

      boolean isDefaultPublishTemplate()
      Checks if the template is the default template on the server.
      Returns:
      true if this template is the default, false otherwise.
    • expand

      Returns a MTPublishTemplate for this publish template. Beware that this might require querying the storage layer for more data.
      Returns:
      A MTPublishTemplate representing this template.
      Throws:
      MTAccessException
    • remove

      void remove() throws MTAccessException
      Removes the template.
      Throws:
      MTAccessException