Interface MTPublishTemplate

All Superinterfaces:
MTPublishTemplateHeader

public interface MTPublishTemplate extends MTPublishTemplateHeader
Author:
Richard
  • Method Details

    • setTitle

      void setTitle(String title)
      Sets the title of the template.
      Parameters:
      title - The new title.
    • setType

      void setType(String type)
      Sets the type of the template.
      Parameters:
      type - The new type.
    • setDefaultPublishTemplate

      void setDefaultPublishTemplate(boolean defaultPublishTemplate)
      Sets this template's default flag on the server. Only one template can be default at the same time.
      Parameters:
      defaultPublishTemplate - The new default state.
    • save

      void save() throws MTAccessException
      Saves changes to the profile back to the database.
      Throws:
      MTAccessException
    • getPublishTemplateData

      byte[] getPublishTemplateData()
    • setPublishTemplateData

      void setPublishTemplateData(byte[] data)