Class KnowledgeBaseArticle

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

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

    • actions

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

      protected AggregateRating aggregateRating
    • 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
    • id

      protected Long id
    • keywords

      protected String[] keywords
    • numberOfAttachments

      protected Integer numberOfAttachments
    • numberOfKnowledgeBaseArticles

      protected Integer numberOfKnowledgeBaseArticles
    • parentKnowledgeBaseArticleId

      protected Long parentKnowledgeBaseArticleId
    • parentKnowledgeBaseFolder

      protected ParentKnowledgeBaseFolder parentKnowledgeBaseFolder
    • parentKnowledgeBaseFolderId

      protected Long parentKnowledgeBaseFolderId
    • relatedContents

      protected RelatedContent[] relatedContents
    • siteId

      protected Long siteId
    • subscribed

      protected Boolean subscribed
    • taxonomyCategoryBriefs

      protected TaxonomyCategoryBrief[] taxonomyCategoryBriefs
    • taxonomyCategoryIds

      protected Long[] taxonomyCategoryIds
    • title

      @NotEmpty protected @NotEmpty String title
    • viewableBy

      protected KnowledgeBaseArticle.ViewableBy viewableBy
    • xClassName

      public String xClassName
  • Constructor Details

    • KnowledgeBaseArticle

      public KnowledgeBaseArticle()
  • Method Details

    • toDTO

      public static KnowledgeBaseArticle toDTO(String json)
    • unsafeToDTO

      public static KnowledgeBaseArticle 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)
    • 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)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

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

      public String[] getKeywords()
    • setKeywords

      public void setKeywords(String[] keywords)
    • setKeywords

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

      public Integer getNumberOfAttachments()
    • setNumberOfAttachments

      public void setNumberOfAttachments(Integer numberOfAttachments)
    • setNumberOfAttachments

      public void setNumberOfAttachments(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> numberOfAttachmentsUnsafeSupplier)
    • getNumberOfKnowledgeBaseArticles

      public Integer getNumberOfKnowledgeBaseArticles()
    • setNumberOfKnowledgeBaseArticles

      public void setNumberOfKnowledgeBaseArticles(Integer numberOfKnowledgeBaseArticles)
    • setNumberOfKnowledgeBaseArticles

      public void setNumberOfKnowledgeBaseArticles(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> numberOfKnowledgeBaseArticlesUnsafeSupplier)
    • getParentKnowledgeBaseArticleId

      public Long getParentKnowledgeBaseArticleId()
    • setParentKnowledgeBaseArticleId

      public void setParentKnowledgeBaseArticleId(Long parentKnowledgeBaseArticleId)
    • setParentKnowledgeBaseArticleId

      public void setParentKnowledgeBaseArticleId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> parentKnowledgeBaseArticleIdUnsafeSupplier)
    • getParentKnowledgeBaseFolder

      @Valid public @Valid ParentKnowledgeBaseFolder getParentKnowledgeBaseFolder()
    • setParentKnowledgeBaseFolder

      public void setParentKnowledgeBaseFolder(ParentKnowledgeBaseFolder parentKnowledgeBaseFolder)
    • setParentKnowledgeBaseFolder

      public void setParentKnowledgeBaseFolder(com.liferay.petra.function.UnsafeSupplier<ParentKnowledgeBaseFolder,Exception> parentKnowledgeBaseFolderUnsafeSupplier)
    • getParentKnowledgeBaseFolderId

      public Long getParentKnowledgeBaseFolderId()
    • setParentKnowledgeBaseFolderId

      public void setParentKnowledgeBaseFolderId(Long parentKnowledgeBaseFolderId)
    • setParentKnowledgeBaseFolderId

      public void setParentKnowledgeBaseFolderId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> parentKnowledgeBaseFolderIdUnsafeSupplier)
    • getRelatedContents

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

      public void setRelatedContents(RelatedContent[] relatedContents)
    • setRelatedContents

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

      public Long getSiteId()
    • setSiteId

      public void setSiteId(Long siteId)
    • setSiteId

      public void setSiteId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> siteIdUnsafeSupplier)
    • 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)
    • getViewableBy

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

      public String getViewableByAsString()
    • setViewableBy

      public void setViewableBy(KnowledgeBaseArticle.ViewableBy viewableBy)
    • setViewableBy

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