Class BlogPosting

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

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

    • actions

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

      protected AggregateRating aggregateRating
    • alternativeHeadline

      protected String alternativeHeadline
    • articleBody

      @NotEmpty protected @NotEmpty String articleBody
    • creator

      protected Creator creator
    • customFields

      protected CustomField[] customFields
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • datePublished

      protected Date datePublished
    • description

      protected String description
    • encodingFormat

      protected String encodingFormat
    • externalReferenceCode

      protected String externalReferenceCode
    • friendlyUrlPath

      protected String friendlyUrlPath
    • headline

      @NotEmpty protected @NotEmpty String headline
    • id

      protected Long id
    • image

      protected Image image
    • keywords

      protected String[] keywords
    • numberOfComments

      protected Integer numberOfComments
    • relatedContents

      protected RelatedContent[] relatedContents
    • renderedContents

      protected RenderedContent[] renderedContents
    • siteId

      protected Long siteId
    • taxonomyCategoryBriefs

      protected TaxonomyCategoryBrief[] taxonomyCategoryBriefs
    • taxonomyCategoryIds

      protected Long[] taxonomyCategoryIds
    • viewableBy

      protected BlogPosting.ViewableBy viewableBy
    • xClassName

      public String xClassName
  • Constructor Details

    • BlogPosting

      public BlogPosting()
  • Method Details

    • toDTO

      public static BlogPosting toDTO(String json)
    • unsafeToDTO

      public static BlogPosting 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)
    • getAlternativeHeadline

      public String getAlternativeHeadline()
    • setAlternativeHeadline

      public void setAlternativeHeadline(String alternativeHeadline)
    • setAlternativeHeadline

      public void setAlternativeHeadline(com.liferay.petra.function.UnsafeSupplier<String,Exception> alternativeHeadlineUnsafeSupplier)
    • getArticleBody

      public String getArticleBody()
    • setArticleBody

      public void setArticleBody(String articleBody)
    • setArticleBody

      public void setArticleBody(com.liferay.petra.function.UnsafeSupplier<String,Exception> articleBodyUnsafeSupplier)
    • 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)
    • 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)
    • getEncodingFormat

      public String getEncodingFormat()
    • setEncodingFormat

      public void setEncodingFormat(String encodingFormat)
    • setEncodingFormat

      public void setEncodingFormat(com.liferay.petra.function.UnsafeSupplier<String,Exception> encodingFormatUnsafeSupplier)
    • 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)
    • getHeadline

      public String getHeadline()
    • setHeadline

      public void setHeadline(String headline)
    • setHeadline

      public void setHeadline(com.liferay.petra.function.UnsafeSupplier<String,Exception> headlineUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

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

      @Valid public @Valid Image getImage()
    • setImage

      public void setImage(Image image)
    • setImage

      public void setImage(com.liferay.petra.function.UnsafeSupplier<Image,Exception> imageUnsafeSupplier)
    • getKeywords

      public String[] getKeywords()
    • setKeywords

      public void setKeywords(String[] keywords)
    • setKeywords

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

      public Integer getNumberOfComments()
    • setNumberOfComments

      public void setNumberOfComments(Integer numberOfComments)
    • setNumberOfComments

      public void setNumberOfComments(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> numberOfCommentsUnsafeSupplier)
    • 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)
    • 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)
    • getViewableBy

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

      public String getViewableByAsString()
    • setViewableBy

      public void setViewableBy(BlogPosting.ViewableBy viewableBy)
    • setViewableBy

      public void setViewableBy(com.liferay.petra.function.UnsafeSupplier<BlogPosting.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