Class Document
java.lang.Object
com.liferay.headless.delivery.dto.v1_0.Document
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdaptedImage[]
protected AggregateRating
protected String
protected String
protected String
protected Creator
protected CustomField[]
protected Date
protected Date
protected Date
protected Date
protected String
protected String
protected Long
protected DocumentType
protected String
protected String
protected String
protected String
protected String
protected Long
protected String[]
protected Integer
protected RelatedContent[]
protected RenderedContent[]
protected Long
protected Long
protected TaxonomyCategoryBrief[]
protected Long[]
protected String
protected Document.ViewableBy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Valid AdaptedImage[]
@Valid AggregateRating
@Valid Creator
@Valid CustomField[]
@Valid DocumentType
getId()
String[]
@Valid RelatedContent[]
@Valid RenderedContent[]
@Valid TaxonomyCategoryBrief[]
Long[]
getTitle()
@Valid Document.ViewableBy
int
hashCode()
void
setActions
(com.liferay.petra.function.UnsafeSupplier<Map<String, Map<String, String>>, Exception> actionsUnsafeSupplier) void
void
setAdaptedImages
(AdaptedImage[] adaptedImages) void
setAdaptedImages
(com.liferay.petra.function.UnsafeSupplier<AdaptedImage[], Exception> adaptedImagesUnsafeSupplier) void
setAggregateRating
(AggregateRating aggregateRating) void
setAggregateRating
(com.liferay.petra.function.UnsafeSupplier<AggregateRating, Exception> aggregateRatingUnsafeSupplier) void
setAssetLibraryKey
(com.liferay.petra.function.UnsafeSupplier<String, Exception> assetLibraryKeyUnsafeSupplier) void
setAssetLibraryKey
(String assetLibraryKey) void
setContentUrl
(com.liferay.petra.function.UnsafeSupplier<String, Exception> contentUrlUnsafeSupplier) void
setContentUrl
(String contentUrl) void
setContentValue
(com.liferay.petra.function.UnsafeSupplier<String, Exception> contentValueUnsafeSupplier) void
setContentValue
(String contentValue) void
setCreator
(Creator creator) void
setCreator
(com.liferay.petra.function.UnsafeSupplier<Creator, Exception> creatorUnsafeSupplier) void
setCustomFields
(CustomField[] customFields) void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) void
setDateCreated
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateCreatedUnsafeSupplier) void
setDateCreated
(Date dateCreated) void
setDateExpired
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateExpiredUnsafeSupplier) void
setDateExpired
(Date dateExpired) void
setDateModified
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateModifiedUnsafeSupplier) void
setDateModified
(Date dateModified) void
setDatePublished
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> datePublishedUnsafeSupplier) void
setDatePublished
(Date datePublished) void
setDescription
(com.liferay.petra.function.UnsafeSupplier<String, Exception> descriptionUnsafeSupplier) void
setDescription
(String description) void
setDocumentFolderExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> documentFolderExternalReferenceCodeUnsafeSupplier) void
setDocumentFolderExternalReferenceCode
(String documentFolderExternalReferenceCode) void
setDocumentFolderId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> documentFolderIdUnsafeSupplier) void
setDocumentFolderId
(Long documentFolderId) void
setDocumentType
(DocumentType documentType) void
setDocumentType
(com.liferay.petra.function.UnsafeSupplier<DocumentType, Exception> documentTypeUnsafeSupplier) void
setEncodingFormat
(com.liferay.petra.function.UnsafeSupplier<String, Exception> encodingFormatUnsafeSupplier) void
setEncodingFormat
(String encodingFormat) void
setExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) void
setExternalReferenceCode
(String externalReferenceCode) void
setFileExtension
(com.liferay.petra.function.UnsafeSupplier<String, Exception> fileExtensionUnsafeSupplier) void
setFileExtension
(String fileExtension) void
setFileName
(com.liferay.petra.function.UnsafeSupplier<String, Exception> fileNameUnsafeSupplier) void
setFileName
(String fileName) void
setFriendlyUrlPath
(com.liferay.petra.function.UnsafeSupplier<String, Exception> friendlyUrlPathUnsafeSupplier) void
setFriendlyUrlPath
(String friendlyUrlPath) void
void
void
setKeywords
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> keywordsUnsafeSupplier) void
setKeywords
(String[] keywords) void
setNumberOfComments
(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> numberOfCommentsUnsafeSupplier) void
setNumberOfComments
(Integer numberOfComments) void
setRelatedContents
(RelatedContent[] relatedContents) void
setRelatedContents
(com.liferay.petra.function.UnsafeSupplier<RelatedContent[], Exception> relatedContentsUnsafeSupplier) void
setRenderedContents
(RenderedContent[] renderedContents) void
setRenderedContents
(com.liferay.petra.function.UnsafeSupplier<RenderedContent[], Exception> renderedContentsUnsafeSupplier) void
void
void
setSizeInBytes
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> sizeInBytesUnsafeSupplier) void
setSizeInBytes
(Long sizeInBytes) void
setTaxonomyCategoryBriefs
(TaxonomyCategoryBrief[] taxonomyCategoryBriefs) void
setTaxonomyCategoryBriefs
(com.liferay.petra.function.UnsafeSupplier<TaxonomyCategoryBrief[], Exception> taxonomyCategoryBriefsUnsafeSupplier) void
setTaxonomyCategoryIds
(com.liferay.petra.function.UnsafeSupplier<Long[], Exception> taxonomyCategoryIdsUnsafeSupplier) void
setTaxonomyCategoryIds
(Long[] taxonomyCategoryIds) void
void
void
setViewableBy
(Document.ViewableBy viewableBy) void
setViewableBy
(com.liferay.petra.function.UnsafeSupplier<Document.ViewableBy, Exception> viewableByUnsafeSupplier) static Document
toString()
static Document
unsafeToDTO
(String json)
-
Field Details
-
actions
-
adaptedImages
-
aggregateRating
-
assetLibraryKey
-
contentUrl
-
contentValue
-
creator
-
customFields
-
dateCreated
-
dateExpired
-
dateModified
-
datePublished
-
description
-
documentFolderExternalReferenceCode
-
documentFolderId
-
documentType
-
encodingFormat
-
externalReferenceCode
-
fileExtension
-
fileName
-
friendlyUrlPath
-
id
-
keywords
-
numberOfComments
-
renderedContents
-
siteId
-
sizeInBytes
-
taxonomyCategoryBriefs
-
taxonomyCategoryIds
-
title
-
viewableBy
-
xClassName
-
-
Constructor Details
-
Document
public Document()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getActions
-
setActions
-
setActions
-
getAdaptedImages
-
setAdaptedImages
-
setAdaptedImages
public void setAdaptedImages(com.liferay.petra.function.UnsafeSupplier<AdaptedImage[], Exception> adaptedImagesUnsafeSupplier) -
getAggregateRating
-
setAggregateRating
-
setAggregateRating
public void setAggregateRating(com.liferay.petra.function.UnsafeSupplier<AggregateRating, Exception> aggregateRatingUnsafeSupplier) -
getAssetLibraryKey
-
setAssetLibraryKey
-
setAssetLibraryKey
-
getContentUrl
-
setContentUrl
-
setContentUrl
-
getContentValue
-
setContentValue
-
setContentValue
-
getCreator
-
setCreator
-
setCreator
-
getCustomFields
-
setCustomFields
-
setCustomFields
public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) -
getDateCreated
-
setDateCreated
-
setDateCreated
-
getDateExpired
-
setDateExpired
-
setDateExpired
-
getDateModified
-
setDateModified
-
setDateModified
-
getDatePublished
-
setDatePublished
-
setDatePublished
-
getDescription
-
setDescription
-
setDescription
-
getDocumentFolderExternalReferenceCode
-
setDocumentFolderExternalReferenceCode
-
setDocumentFolderExternalReferenceCode
-
getDocumentFolderId
-
setDocumentFolderId
-
setDocumentFolderId
-
getDocumentType
-
setDocumentType
-
setDocumentType
public void setDocumentType(com.liferay.petra.function.UnsafeSupplier<DocumentType, Exception> documentTypeUnsafeSupplier) -
getEncodingFormat
-
setEncodingFormat
-
setEncodingFormat
-
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getFileExtension
-
setFileExtension
-
setFileExtension
-
getFileName
-
setFileName
-
setFileName
-
getFriendlyUrlPath
-
setFriendlyUrlPath
-
setFriendlyUrlPath
-
getId
-
setId
-
setId
-
getKeywords
-
setKeywords
-
setKeywords
-
getNumberOfComments
-
setNumberOfComments
-
setNumberOfComments
-
getRelatedContents
-
setRelatedContents
-
setRelatedContents
public void setRelatedContents(com.liferay.petra.function.UnsafeSupplier<RelatedContent[], Exception> relatedContentsUnsafeSupplier) -
getRenderedContents
-
setRenderedContents
-
setRenderedContents
public void setRenderedContents(com.liferay.petra.function.UnsafeSupplier<RenderedContent[], Exception> renderedContentsUnsafeSupplier) -
getSiteId
-
setSiteId
-
setSiteId
-
getSizeInBytes
-
setSizeInBytes
-
setSizeInBytes
-
getTaxonomyCategoryBriefs
-
setTaxonomyCategoryBriefs
-
setTaxonomyCategoryBriefs
public void setTaxonomyCategoryBriefs(com.liferay.petra.function.UnsafeSupplier<TaxonomyCategoryBrief[], Exception> taxonomyCategoryBriefsUnsafeSupplier) -
getTaxonomyCategoryIds
-
setTaxonomyCategoryIds
-
setTaxonomyCategoryIds
-
getTitle
-
setTitle
-
setTitle
-
getViewableBy
-
getViewableByAsString
-
setViewableBy
-
setViewableBy
public void setViewableBy(com.liferay.petra.function.UnsafeSupplier<Document.ViewableBy, Exception> viewableByUnsafeSupplier) -
equals
-
hashCode
public int hashCode() -
toString
-