Class StructuredContent

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

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

    • actions

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

      protected AggregateRating aggregateRating
    • assetLibraryKey

      protected String assetLibraryKey
    • availableLanguages

      protected String[] availableLanguages
    • contentFields

      protected ContentField[] contentFields
    • contentStructureId

      @NotNull protected @NotNull Long contentStructureId
    • creator

      protected Creator creator
    • customFields

      protected CustomField[] customFields
    • dateCreated

      protected Date dateCreated
    • dateExpired

      protected Date dateExpired
    • dateModified

      protected Date dateModified
    • datePublished

      protected Date datePublished
    • description

      protected String description
    • description_i18n

      protected Map<String,String> description_i18n
    • externalReferenceCode

      protected String externalReferenceCode
    • friendlyUrlPath

      protected String friendlyUrlPath
    • friendlyUrlPath_i18n

      protected Map<String,String> friendlyUrlPath_i18n
    • id

      protected Long id
    • key

      protected String key
    • keywords

      protected String[] keywords
    • neverExpire

      protected Boolean neverExpire
    • numberOfComments

      protected Integer numberOfComments
    • permissions

      protected com.liferay.portal.vulcan.permission.Permission[] permissions
    • priority

      protected Double priority
    • relatedContents

      protected RelatedContent[] relatedContents
    • renderedContents

      protected RenderedContent[] renderedContents
    • siteId

      protected Long siteId
    • structuredContentFolderId

      protected Long structuredContentFolderId
    • subscribed

      protected Boolean subscribed
    • taxonomyCategoryBriefs

      protected TaxonomyCategoryBrief[] taxonomyCategoryBriefs
    • taxonomyCategoryIds

      protected Long[] taxonomyCategoryIds
    • title

      @NotEmpty protected @NotEmpty String title
    • title_i18n

      protected Map<String,String> title_i18n
    • uuid

      protected String uuid
    • viewableBy

      protected StructuredContent.ViewableBy viewableBy
    • xClassName

      public String xClassName
  • Constructor Details

    • StructuredContent

      public StructuredContent()
  • Method Details

    • toDTO

      public static StructuredContent toDTO(String json)
    • unsafeToDTO

      public static StructuredContent 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)
    • getAggregateRating

      @Valid public @Valid AggregateRating getAggregateRating()
    • setAggregateRating

      public void setAggregateRating(AggregateRating aggregateRating)
    • setAggregateRating

      public void setAggregateRating(com.liferay.petra.function.UnsafeSupplier<AggregateRating,Exception> aggregateRatingUnsafeSupplier)
    • 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)
    • getContentFields

      @Valid public @Valid ContentField[] getContentFields()
    • setContentFields

      public void setContentFields(ContentField[] contentFields)
    • setContentFields

      public void setContentFields(com.liferay.petra.function.UnsafeSupplier<ContentField[],Exception> contentFieldsUnsafeSupplier)
    • 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)
    • getCustomFields

      @Valid public @Valid CustomField[] getCustomFields()
    • setCustomFields

      public void setCustomFields(CustomField[] customFields)
    • setCustomFields

      public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],Exception> customFieldsUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

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

      public Date getDateExpired()
    • setDateExpired

      public void setDateExpired(Date dateExpired)
    • setDateExpired

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

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

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

      public Date getDatePublished()
    • setDatePublished

      public void setDatePublished(Date datePublished)
    • setDatePublished

      public void setDatePublished(com.liferay.petra.function.UnsafeSupplier<Date,Exception> datePublishedUnsafeSupplier)
    • 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)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getFriendlyUrlPath

      public String getFriendlyUrlPath()
    • setFriendlyUrlPath

      public void setFriendlyUrlPath(String friendlyUrlPath)
    • setFriendlyUrlPath

      public void setFriendlyUrlPath(com.liferay.petra.function.UnsafeSupplier<String,Exception> friendlyUrlPathUnsafeSupplier)
    • getFriendlyUrlPath_i18n

      @Valid public @Valid Map<String,String> getFriendlyUrlPath_i18n()
    • setFriendlyUrlPath_i18n

      public void setFriendlyUrlPath_i18n(Map<String,String> friendlyUrlPath_i18n)
    • setFriendlyUrlPath_i18n

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

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

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

      public String getKey()
    • setKey

      public void setKey(String key)
    • setKey

      public void setKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> keyUnsafeSupplier)
    • getKeywords

      public String[] getKeywords()
    • setKeywords

      public void setKeywords(String[] keywords)
    • setKeywords

      public void setKeywords(com.liferay.petra.function.UnsafeSupplier<String[],Exception> keywordsUnsafeSupplier)
    • getNeverExpire

      public Boolean getNeverExpire()
    • setNeverExpire

      public void setNeverExpire(Boolean neverExpire)
    • setNeverExpire

      public void setNeverExpire(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> neverExpireUnsafeSupplier)
    • getNumberOfComments

      public Integer getNumberOfComments()
    • setNumberOfComments

      public void setNumberOfComments(Integer numberOfComments)
    • setNumberOfComments

      public void setNumberOfComments(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> numberOfCommentsUnsafeSupplier)
    • getPermissions

      @Valid public @Valid com.liferay.portal.vulcan.permission.Permission[] getPermissions()
    • setPermissions

      public void setPermissions(com.liferay.portal.vulcan.permission.Permission[] permissions)
    • setPermissions

      public void setPermissions(com.liferay.petra.function.UnsafeSupplier<com.liferay.portal.vulcan.permission.Permission[],Exception> permissionsUnsafeSupplier)
    • getPriority

      public Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

      public void setPriority(com.liferay.petra.function.UnsafeSupplier<Double,Exception> priorityUnsafeSupplier)
    • getRelatedContents

      @Valid public @Valid RelatedContent[] getRelatedContents()
    • setRelatedContents

      public void setRelatedContents(RelatedContent[] relatedContents)
    • setRelatedContents

      public void setRelatedContents(com.liferay.petra.function.UnsafeSupplier<RelatedContent[],Exception> relatedContentsUnsafeSupplier)
    • getRenderedContents

      @Valid public @Valid RenderedContent[] getRenderedContents()
    • setRenderedContents

      public void setRenderedContents(RenderedContent[] renderedContents)
    • setRenderedContents

      public void setRenderedContents(com.liferay.petra.function.UnsafeSupplier<RenderedContent[],Exception> renderedContentsUnsafeSupplier)
    • getSiteId

      public Long getSiteId()
    • setSiteId

      public void setSiteId(Long siteId)
    • setSiteId

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

      public Long getStructuredContentFolderId()
    • setStructuredContentFolderId

      public void setStructuredContentFolderId(Long structuredContentFolderId)
    • setStructuredContentFolderId

      public void setStructuredContentFolderId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> structuredContentFolderIdUnsafeSupplier)
    • getSubscribed

      public Boolean getSubscribed()
    • setSubscribed

      public void setSubscribed(Boolean subscribed)
    • setSubscribed

      public void setSubscribed(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> subscribedUnsafeSupplier)
    • getTaxonomyCategoryBriefs

      @Valid public @Valid TaxonomyCategoryBrief[] getTaxonomyCategoryBriefs()
    • setTaxonomyCategoryBriefs

      public void setTaxonomyCategoryBriefs(TaxonomyCategoryBrief[] taxonomyCategoryBriefs)
    • setTaxonomyCategoryBriefs

      public void setTaxonomyCategoryBriefs(com.liferay.petra.function.UnsafeSupplier<TaxonomyCategoryBrief[],Exception> taxonomyCategoryBriefsUnsafeSupplier)
    • getTaxonomyCategoryIds

      public Long[] getTaxonomyCategoryIds()
    • setTaxonomyCategoryIds

      public void setTaxonomyCategoryIds(Long[] taxonomyCategoryIds)
    • setTaxonomyCategoryIds

      public void setTaxonomyCategoryIds(com.liferay.petra.function.UnsafeSupplier<Long[],Exception> taxonomyCategoryIdsUnsafeSupplier)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setTitle

      public void setTitle(com.liferay.petra.function.UnsafeSupplier<String,Exception> titleUnsafeSupplier)
    • getTitle_i18n

      @Valid public @Valid Map<String,String> getTitle_i18n()
    • setTitle_i18n

      public void setTitle_i18n(Map<String,String> title_i18n)
    • setTitle_i18n

      public void setTitle_i18n(com.liferay.petra.function.UnsafeSupplier<Map<String,String>,Exception> title_i18nUnsafeSupplier)
    • getUuid

      public String getUuid()
    • setUuid

      public void setUuid(String uuid)
    • setUuid

      public void setUuid(com.liferay.petra.function.UnsafeSupplier<String,Exception> uuidUnsafeSupplier)
    • getViewableBy

      @Valid public @Valid StructuredContent.ViewableBy getViewableBy()
    • getViewableByAsString

      public String getViewableByAsString()
    • setViewableBy

      public void setViewableBy(StructuredContent.ViewableBy viewableBy)
    • setViewableBy

      public void setViewableBy(com.liferay.petra.function.UnsafeSupplier<StructuredContent.ViewableBy,Exception> viewableByUnsafeSupplier)
    • 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