Class Document

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

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

    • actions

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

      protected AdaptedImage[] adaptedImages
    • aggregateRating

      protected AggregateRating aggregateRating
    • assetLibraryKey

      protected String assetLibraryKey
    • contentUrl

      protected String contentUrl
    • contentValue

      protected String contentValue
    • 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
    • documentFolderExternalReferenceCode

      protected String documentFolderExternalReferenceCode
    • documentFolderId

      protected Long documentFolderId
    • documentType

      protected DocumentType documentType
    • encodingFormat

      protected String encodingFormat
    • externalReferenceCode

      protected String externalReferenceCode
    • fileExtension

      protected String fileExtension
    • fileName

      protected String fileName
    • friendlyUrlPath

      protected String friendlyUrlPath
    • id

      protected Long id
    • keywords

      protected String[] keywords
    • numberOfComments

      protected Integer numberOfComments
    • relatedContents

      protected RelatedContent[] relatedContents
    • renderedContents

      protected RenderedContent[] renderedContents
    • siteId

      protected Long siteId
    • sizeInBytes

      protected Long sizeInBytes
    • taxonomyCategoryBriefs

      protected TaxonomyCategoryBrief[] taxonomyCategoryBriefs
    • taxonomyCategoryIds

      protected Long[] taxonomyCategoryIds
    • title

      protected String title
    • viewableBy

      protected Document.ViewableBy viewableBy
    • xClassName

      public String xClassName
  • Constructor Details

    • Document

      public Document()
  • Method Details

    • toDTO

      public static Document toDTO(String json)
    • unsafeToDTO

      public static Document 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)
    • getAdaptedImages

      @Valid public @Valid AdaptedImage[] getAdaptedImages()
    • setAdaptedImages

      public void setAdaptedImages(AdaptedImage[] adaptedImages)
    • setAdaptedImages

      public void setAdaptedImages(com.liferay.petra.function.UnsafeSupplier<AdaptedImage[],Exception> adaptedImagesUnsafeSupplier)
    • 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)
    • getContentUrl

      public String getContentUrl()
    • setContentUrl

      public void setContentUrl(String contentUrl)
    • setContentUrl

      public void setContentUrl(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentUrlUnsafeSupplier)
    • getContentValue

      public String getContentValue()
    • setContentValue

      public void setContentValue(String contentValue)
    • setContentValue

      public void setContentValue(com.liferay.petra.function.UnsafeSupplier<String,Exception> contentValueUnsafeSupplier)
    • 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)
    • getDocumentFolderExternalReferenceCode

      public String getDocumentFolderExternalReferenceCode()
    • setDocumentFolderExternalReferenceCode

      public void setDocumentFolderExternalReferenceCode(String documentFolderExternalReferenceCode)
    • setDocumentFolderExternalReferenceCode

      public void setDocumentFolderExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> documentFolderExternalReferenceCodeUnsafeSupplier)
    • getDocumentFolderId

      public Long getDocumentFolderId()
    • setDocumentFolderId

      public void setDocumentFolderId(Long documentFolderId)
    • setDocumentFolderId

      public void setDocumentFolderId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> documentFolderIdUnsafeSupplier)
    • getDocumentType

      @Valid public @Valid DocumentType getDocumentType()
    • setDocumentType

      public void setDocumentType(DocumentType documentType)
    • setDocumentType

      public void setDocumentType(com.liferay.petra.function.UnsafeSupplier<DocumentType,Exception> documentTypeUnsafeSupplier)
    • 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)
    • getFileExtension

      public String getFileExtension()
    • setFileExtension

      public void setFileExtension(String fileExtension)
    • setFileExtension

      public void setFileExtension(com.liferay.petra.function.UnsafeSupplier<String,Exception> fileExtensionUnsafeSupplier)
    • getFileName

      public String getFileName()
    • setFileName

      public void setFileName(String fileName)
    • setFileName

      public void setFileName(com.liferay.petra.function.UnsafeSupplier<String,Exception> fileNameUnsafeSupplier)
    • 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)
    • 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)
    • getSizeInBytes

      public Long getSizeInBytes()
    • setSizeInBytes

      public void setSizeInBytes(Long sizeInBytes)
    • setSizeInBytes

      public void setSizeInBytes(com.liferay.petra.function.UnsafeSupplier<Long,Exception> sizeInBytesUnsafeSupplier)
    • 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 Document.ViewableBy getViewableBy()
    • getViewableByAsString

      public String getViewableByAsString()
    • setViewableBy

      public void setViewableBy(Document.ViewableBy viewableBy)
    • setViewableBy

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