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 AggregateRatingprotected Stringprotected Stringprotected Stringprotected Creatorprotected CustomField[]protected Dateprotected Dateprotected Dateprotected Dateprotected Stringprotected Stringprotected Longprotected DocumentTypeprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Longprotected String[]protected Integerprotected RelatedContent[]protected RenderedContent[]protected Longprotected Longprotected TaxonomyCategoryBrief[]protected Long[]protected Stringprotected Document.ViewableBy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid AdaptedImage[]@Valid AggregateRating@Valid Creator@Valid CustomField[]@Valid DocumentTypegetId()String[]@Valid RelatedContent[]@Valid RenderedContent[]@Valid TaxonomyCategoryBrief[]Long[]getTitle()@Valid Document.ViewableByinthashCode()voidsetActions(com.liferay.petra.function.UnsafeSupplier<Map<String, Map<String, String>>, Exception> actionsUnsafeSupplier) voidvoidsetAdaptedImages(AdaptedImage[] adaptedImages) voidsetAdaptedImages(com.liferay.petra.function.UnsafeSupplier<AdaptedImage[], Exception> adaptedImagesUnsafeSupplier) voidsetAggregateRating(AggregateRating aggregateRating) voidsetAggregateRating(com.liferay.petra.function.UnsafeSupplier<AggregateRating, Exception> aggregateRatingUnsafeSupplier) voidsetAssetLibraryKey(com.liferay.petra.function.UnsafeSupplier<String, Exception> assetLibraryKeyUnsafeSupplier) voidsetAssetLibraryKey(String assetLibraryKey) voidsetContentUrl(com.liferay.petra.function.UnsafeSupplier<String, Exception> contentUrlUnsafeSupplier) voidsetContentUrl(String contentUrl) voidsetContentValue(com.liferay.petra.function.UnsafeSupplier<String, Exception> contentValueUnsafeSupplier) voidsetContentValue(String contentValue) voidsetCreator(Creator creator) voidsetCreator(com.liferay.petra.function.UnsafeSupplier<Creator, Exception> creatorUnsafeSupplier) voidsetCustomFields(CustomField[] customFields) voidsetCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) voidsetDateCreated(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateCreatedUnsafeSupplier) voidsetDateCreated(Date dateCreated) voidsetDateExpired(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateExpiredUnsafeSupplier) voidsetDateExpired(Date dateExpired) voidsetDateModified(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateModifiedUnsafeSupplier) voidsetDateModified(Date dateModified) voidsetDatePublished(com.liferay.petra.function.UnsafeSupplier<Date, Exception> datePublishedUnsafeSupplier) voidsetDatePublished(Date datePublished) voidsetDescription(com.liferay.petra.function.UnsafeSupplier<String, Exception> descriptionUnsafeSupplier) voidsetDescription(String description) voidsetDocumentFolderExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> documentFolderExternalReferenceCodeUnsafeSupplier) voidsetDocumentFolderExternalReferenceCode(String documentFolderExternalReferenceCode) voidsetDocumentFolderId(com.liferay.petra.function.UnsafeSupplier<Long, Exception> documentFolderIdUnsafeSupplier) voidsetDocumentFolderId(Long documentFolderId) voidsetDocumentType(DocumentType documentType) voidsetDocumentType(com.liferay.petra.function.UnsafeSupplier<DocumentType, Exception> documentTypeUnsafeSupplier) voidsetEncodingFormat(com.liferay.petra.function.UnsafeSupplier<String, Exception> encodingFormatUnsafeSupplier) voidsetEncodingFormat(String encodingFormat) voidsetExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) voidsetExternalReferenceCode(String externalReferenceCode) voidsetFileExtension(com.liferay.petra.function.UnsafeSupplier<String, Exception> fileExtensionUnsafeSupplier) voidsetFileExtension(String fileExtension) voidsetFileName(com.liferay.petra.function.UnsafeSupplier<String, Exception> fileNameUnsafeSupplier) voidsetFileName(String fileName) voidsetFriendlyUrlPath(com.liferay.petra.function.UnsafeSupplier<String, Exception> friendlyUrlPathUnsafeSupplier) voidsetFriendlyUrlPath(String friendlyUrlPath) voidvoidvoidsetKeywords(com.liferay.petra.function.UnsafeSupplier<String[], Exception> keywordsUnsafeSupplier) voidsetKeywords(String[] keywords) voidsetNumberOfComments(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> numberOfCommentsUnsafeSupplier) voidsetNumberOfComments(Integer numberOfComments) voidsetRelatedContents(RelatedContent[] relatedContents) voidsetRelatedContents(com.liferay.petra.function.UnsafeSupplier<RelatedContent[], Exception> relatedContentsUnsafeSupplier) voidsetRenderedContents(RenderedContent[] renderedContents) voidsetRenderedContents(com.liferay.petra.function.UnsafeSupplier<RenderedContent[], Exception> renderedContentsUnsafeSupplier) voidvoidvoidsetSizeInBytes(com.liferay.petra.function.UnsafeSupplier<Long, Exception> sizeInBytesUnsafeSupplier) voidsetSizeInBytes(Long sizeInBytes) voidsetTaxonomyCategoryBriefs(TaxonomyCategoryBrief[] taxonomyCategoryBriefs) voidsetTaxonomyCategoryBriefs(com.liferay.petra.function.UnsafeSupplier<TaxonomyCategoryBrief[], Exception> taxonomyCategoryBriefsUnsafeSupplier) voidsetTaxonomyCategoryIds(com.liferay.petra.function.UnsafeSupplier<Long[], Exception> taxonomyCategoryIdsUnsafeSupplier) voidsetTaxonomyCategoryIds(Long[] taxonomyCategoryIds) voidvoidvoidsetViewableBy(Document.ViewableBy viewableBy) voidsetViewableBy(com.liferay.petra.function.UnsafeSupplier<Document.ViewableBy, Exception> viewableByUnsafeSupplier) static DocumenttoString()static DocumentunsafeToDTO(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
-