Class ContentTemplate

java.lang.Object
com.liferay.headless.delivery.dto.v1_0.ContentTemplate
All Implemented Interfaces:
Serializable

@Generated("") public class ContentTemplate extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • actions

      protected Map<String,Map<String,String>> actions
    • assetLibraryKey

      protected String assetLibraryKey
    • availableLanguages

      protected String[] availableLanguages
    • contentStructureId

      @NotNull protected @NotNull Long contentStructureId
    • creator

      protected Creator creator
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • description

      protected String description
    • description_i18n

      protected Map<String,String> description_i18n
    • id

      protected String id
    • name

      @NotEmpty protected @NotEmpty String name
    • name_i18n

      protected Map<String,String> name_i18n
    • programmingLanguage

      protected String programmingLanguage
    • siteId

      protected Long siteId
    • templateScript

      protected String templateScript
    • xClassName

      public String xClassName
  • Constructor Details

    • ContentTemplate

      public ContentTemplate()
  • Method Details

    • toDTO

      public static ContentTemplate toDTO(String json)
    • unsafeToDTO

      public static ContentTemplate unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getAssetLibraryKey

      public String getAssetLibraryKey()
    • setAssetLibraryKey

      public void setAssetLibraryKey(String assetLibraryKey)
    • setAssetLibraryKey

      public void setAssetLibraryKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> assetLibraryKeyUnsafeSupplier)
    • getAvailableLanguages

      public String[] getAvailableLanguages()
    • setAvailableLanguages

      public void setAvailableLanguages(String[] availableLanguages)
    • setAvailableLanguages

      public void setAvailableLanguages(com.liferay.petra.function.UnsafeSupplier<String[],Exception> availableLanguagesUnsafeSupplier)
    • getContentStructureId

      public Long getContentStructureId()
    • setContentStructureId

      public void setContentStructureId(Long contentStructureId)
    • setContentStructureId

      public void setContentStructureId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> contentStructureIdUnsafeSupplier)
    • getCreator

      @Valid public @Valid Creator getCreator()
    • setCreator

      public void setCreator(Creator creator)
    • setCreator

      public void setCreator(com.liferay.petra.function.UnsafeSupplier<Creator,Exception> creatorUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

      public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateCreatedUnsafeSupplier)
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

      public void setDateModified(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateModifiedUnsafeSupplier)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • setDescription

      public void setDescription(com.liferay.petra.function.UnsafeSupplier<String,Exception> descriptionUnsafeSupplier)
    • getDescription_i18n

      @Valid public @Valid Map<String,String> getDescription_i18n()
    • setDescription_i18n

      public void setDescription_i18n(Map<String,String> description_i18n)
    • setDescription_i18n

      public void setDescription_i18n(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> description_i18nUnsafeSupplier)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<String,Exception> idUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getName_i18n

      @Valid public @Valid Map<String,String> getName_i18n()
    • setName_i18n

      public void setName_i18n(Map<String,String> name_i18n)
    • setName_i18n

      public void setName_i18n(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> name_i18nUnsafeSupplier)
    • getProgrammingLanguage

      public String getProgrammingLanguage()
    • setProgrammingLanguage

      public void setProgrammingLanguage(String programmingLanguage)
    • setProgrammingLanguage

      public void setProgrammingLanguage(com.liferay.petra.function.UnsafeSupplier<String,Exception> programmingLanguageUnsafeSupplier)
    • getSiteId

      public Long getSiteId()
    • setSiteId

      public void setSiteId(Long siteId)
    • setSiteId

      public void setSiteId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> siteIdUnsafeSupplier)
    • getTemplateScript

      public String getTemplateScript()
    • setTemplateScript

      public void setTemplateScript(String templateScript)
    • setTemplateScript

      public void setTemplateScript(com.liferay.petra.function.UnsafeSupplier<String,Exception> templateScriptUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object