Interface DDMTemplate

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<DDMTemplate>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<DDMTemplate>, com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>, DDMTemplateModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TypedModel
All Known Implementing Classes:
DDMTemplateWrapper

@ProviderType public interface DDMTemplate extends DDMTemplateModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the DDMTemplate service. Represents a row in the "DDMTemplate" database table, with each column mapped to a property of this class.
See Also:
Generated:
  • Field Details

    • TEMPLATE_ID_ACCESSOR

      static final com.liferay.portal.kernel.util.Accessor<DDMTemplate,Long> TEMPLATE_ID_ACCESSOR
  • Method Details

    • getLatestTemplateVersion

      DDMTemplateVersion getLatestTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getResourceClassName

      String getResourceClassName()
    • getSmallImageType

      String getSmallImageType() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTemplateImageURL

      String getTemplateImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
    • getTemplateVersion

      DDMTemplateVersion getTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWebDavURL

      String getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String webDAVToken)
      Returns the WebDAV URL to access the template.
      Parameters:
      themeDisplay - the theme display needed to build the URL. It can set HTTPS access, the server name, the server port, the path context, and the scope group.
      webDAVToken - the WebDAV token for the URL
      Returns:
      the WebDAV URL
    • setResourceClassName

      void setResourceClassName(String resourceClassName)
    • setSmallImageType

      void setSmallImageType(String smallImageType)