@Generated(value="")
public class Document
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Document.ViewableBy |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
actions |
protected AdaptedImage[] |
adaptedImages |
protected AggregateRating |
aggregateRating |
protected java.lang.String |
assetLibraryKey |
protected java.lang.String |
contentUrl |
protected java.lang.String |
contentValue |
protected Creator |
creator |
protected CustomField[] |
customFields |
protected java.util.Date |
dateCreated |
protected java.util.Date |
dateModified |
protected java.lang.String |
description |
protected java.lang.Long |
documentFolderId |
protected DocumentType |
documentType |
protected java.lang.String |
encodingFormat |
protected java.lang.String |
externalReferenceCode |
protected java.lang.String |
fileExtension |
protected java.lang.Long |
id |
protected java.lang.String[] |
keywords |
protected java.lang.Integer |
numberOfComments |
protected RelatedContent[] |
relatedContents |
protected RenderedContent[] |
renderedContents |
protected java.lang.Long |
siteId |
protected java.lang.Long |
sizeInBytes |
protected TaxonomyCategoryBrief[] |
taxonomyCategoryBriefs |
protected java.lang.Long[] |
taxonomyCategoryIds |
protected java.lang.String |
title |
protected Document.ViewableBy |
viewableBy |
java.lang.String |
xClassName |
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
@Valid java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getActions() |
@Valid AdaptedImage[] |
getAdaptedImages() |
@Valid AggregateRating |
getAggregateRating() |
java.lang.String |
getAssetLibraryKey() |
java.lang.String |
getContentUrl() |
java.lang.String |
getContentValue() |
@Valid Creator |
getCreator() |
@Valid CustomField[] |
getCustomFields() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateModified() |
java.lang.String |
getDescription() |
java.lang.Long |
getDocumentFolderId() |
@Valid DocumentType |
getDocumentType() |
java.lang.String |
getEncodingFormat() |
java.lang.String |
getExternalReferenceCode() |
java.lang.String |
getFileExtension() |
java.lang.Long |
getId() |
java.lang.String[] |
getKeywords() |
java.lang.Integer |
getNumberOfComments() |
@Valid RelatedContent[] |
getRelatedContents() |
@Valid RenderedContent[] |
getRenderedContents() |
java.lang.Long |
getSiteId() |
java.lang.Long |
getSizeInBytes() |
@Valid TaxonomyCategoryBrief[] |
getTaxonomyCategoryBriefs() |
java.lang.Long[] |
getTaxonomyCategoryIds() |
java.lang.String |
getTitle() |
@Valid Document.ViewableBy |
getViewableBy() |
java.lang.String |
getViewableByAsString() |
int |
hashCode() |
void |
setActions(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions) |
void |
setActions(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>,java.lang.Exception> actionsUnsafeSupplier) |
void |
setAdaptedImages(AdaptedImage[] adaptedImages) |
void |
setAdaptedImages(com.liferay.petra.function.UnsafeSupplier<AdaptedImage[],java.lang.Exception> adaptedImagesUnsafeSupplier) |
void |
setAggregateRating(AggregateRating aggregateRating) |
void |
setAggregateRating(com.liferay.petra.function.UnsafeSupplier<AggregateRating,java.lang.Exception> aggregateRatingUnsafeSupplier) |
void |
setAssetLibraryKey(java.lang.String assetLibraryKey) |
void |
setAssetLibraryKey(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetLibraryKeyUnsafeSupplier) |
void |
setContentUrl(java.lang.String contentUrl) |
void |
setContentUrl(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentUrlUnsafeSupplier) |
void |
setContentValue(java.lang.String contentValue) |
void |
setContentValue(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentValueUnsafeSupplier) |
void |
setCreator(Creator creator) |
void |
setCreator(com.liferay.petra.function.UnsafeSupplier<Creator,java.lang.Exception> creatorUnsafeSupplier) |
void |
setCustomFields(CustomField[] customFields) |
void |
setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],java.lang.Exception> customFieldsUnsafeSupplier) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateCreated(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateCreatedUnsafeSupplier) |
void |
setDateModified(java.util.Date dateModified) |
void |
setDateModified(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateModifiedUnsafeSupplier) |
void |
setDescription(java.lang.String description) |
void |
setDescription(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> descriptionUnsafeSupplier) |
void |
setDocumentFolderId(java.lang.Long documentFolderId) |
void |
setDocumentFolderId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> documentFolderIdUnsafeSupplier) |
void |
setDocumentType(DocumentType documentType) |
void |
setDocumentType(com.liferay.petra.function.UnsafeSupplier<DocumentType,java.lang.Exception> documentTypeUnsafeSupplier) |
void |
setEncodingFormat(java.lang.String encodingFormat) |
void |
setEncodingFormat(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> encodingFormatUnsafeSupplier) |
void |
setExternalReferenceCode(java.lang.String externalReferenceCode) |
void |
setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier) |
void |
setFileExtension(java.lang.String fileExtension) |
void |
setFileExtension(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> fileExtensionUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setKeywords(java.lang.String[] keywords) |
void |
setKeywords(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> keywordsUnsafeSupplier) |
void |
setNumberOfComments(java.lang.Integer numberOfComments) |
void |
setNumberOfComments(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> numberOfCommentsUnsafeSupplier) |
void |
setRelatedContents(RelatedContent[] relatedContents) |
void |
setRelatedContents(com.liferay.petra.function.UnsafeSupplier<RelatedContent[],java.lang.Exception> relatedContentsUnsafeSupplier) |
void |
setRenderedContents(RenderedContent[] renderedContents) |
void |
setRenderedContents(com.liferay.petra.function.UnsafeSupplier<RenderedContent[],java.lang.Exception> renderedContentsUnsafeSupplier) |
void |
setSiteId(java.lang.Long siteId) |
void |
setSiteId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> siteIdUnsafeSupplier) |
void |
setSizeInBytes(java.lang.Long sizeInBytes) |
void |
setSizeInBytes(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> sizeInBytesUnsafeSupplier) |
void |
setTaxonomyCategoryBriefs(TaxonomyCategoryBrief[] taxonomyCategoryBriefs) |
void |
setTaxonomyCategoryBriefs(com.liferay.petra.function.UnsafeSupplier<TaxonomyCategoryBrief[],java.lang.Exception> taxonomyCategoryBriefsUnsafeSupplier) |
void |
setTaxonomyCategoryIds(java.lang.Long[] taxonomyCategoryIds) |
void |
setTaxonomyCategoryIds(com.liferay.petra.function.UnsafeSupplier<java.lang.Long[],java.lang.Exception> taxonomyCategoryIdsUnsafeSupplier) |
void |
setTitle(java.lang.String title) |
void |
setTitle(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> titleUnsafeSupplier) |
void |
setViewableBy(Document.ViewableBy viewableBy) |
void |
setViewableBy(com.liferay.petra.function.UnsafeSupplier<Document.ViewableBy,java.lang.Exception> viewableByUnsafeSupplier) |
static Document |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions
protected AdaptedImage[] adaptedImages
protected AggregateRating aggregateRating
protected java.lang.String assetLibraryKey
protected java.lang.String contentUrl
protected java.lang.String contentValue
protected Creator creator
protected CustomField[] customFields
protected java.util.Date dateCreated
protected java.util.Date dateModified
protected java.lang.String description
protected java.lang.Long documentFolderId
protected DocumentType documentType
protected java.lang.String encodingFormat
protected java.lang.String externalReferenceCode
protected java.lang.String fileExtension
protected java.lang.Long id
protected java.lang.String[] keywords
protected java.lang.Integer numberOfComments
protected RelatedContent[] relatedContents
protected RenderedContent[] renderedContents
protected java.lang.Long siteId
protected java.lang.Long sizeInBytes
protected TaxonomyCategoryBrief[] taxonomyCategoryBriefs
protected java.lang.Long[] taxonomyCategoryIds
protected java.lang.String title
protected Document.ViewableBy viewableBy
public java.lang.String xClassName
public static Document toDTO(java.lang.String json)
@Valid public @Valid java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getActions()
public void setActions(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions)
public void setActions(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>,java.lang.Exception> actionsUnsafeSupplier)
@Valid public @Valid AdaptedImage[] getAdaptedImages()
public void setAdaptedImages(AdaptedImage[] adaptedImages)
public void setAdaptedImages(com.liferay.petra.function.UnsafeSupplier<AdaptedImage[],java.lang.Exception> adaptedImagesUnsafeSupplier)
@Valid public @Valid AggregateRating getAggregateRating()
public void setAggregateRating(AggregateRating aggregateRating)
public void setAggregateRating(com.liferay.petra.function.UnsafeSupplier<AggregateRating,java.lang.Exception> aggregateRatingUnsafeSupplier)
public java.lang.String getAssetLibraryKey()
public void setAssetLibraryKey(java.lang.String assetLibraryKey)
public void setAssetLibraryKey(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> assetLibraryKeyUnsafeSupplier)
public java.lang.String getContentUrl()
public void setContentUrl(java.lang.String contentUrl)
public void setContentUrl(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentUrlUnsafeSupplier)
public java.lang.String getContentValue()
public void setContentValue(java.lang.String contentValue)
public void setContentValue(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> contentValueUnsafeSupplier)
@Valid public @Valid Creator getCreator()
public void setCreator(Creator creator)
public void setCreator(com.liferay.petra.function.UnsafeSupplier<Creator,java.lang.Exception> creatorUnsafeSupplier)
@Valid public @Valid CustomField[] getCustomFields()
public void setCustomFields(CustomField[] customFields)
public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],java.lang.Exception> customFieldsUnsafeSupplier)
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateCreatedUnsafeSupplier)
public java.util.Date getDateModified()
public void setDateModified(java.util.Date dateModified)
public void setDateModified(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateModifiedUnsafeSupplier)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public void setDescription(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> descriptionUnsafeSupplier)
public java.lang.Long getDocumentFolderId()
public void setDocumentFolderId(java.lang.Long documentFolderId)
public void setDocumentFolderId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> documentFolderIdUnsafeSupplier)
@Valid public @Valid DocumentType getDocumentType()
public void setDocumentType(DocumentType documentType)
public void setDocumentType(com.liferay.petra.function.UnsafeSupplier<DocumentType,java.lang.Exception> documentTypeUnsafeSupplier)
public java.lang.String getEncodingFormat()
public void setEncodingFormat(java.lang.String encodingFormat)
public void setEncodingFormat(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> encodingFormatUnsafeSupplier)
public java.lang.String getExternalReferenceCode()
public void setExternalReferenceCode(java.lang.String externalReferenceCode)
public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier)
public java.lang.String getFileExtension()
public void setFileExtension(java.lang.String fileExtension)
public void setFileExtension(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> fileExtensionUnsafeSupplier)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier)
public java.lang.String[] getKeywords()
public void setKeywords(java.lang.String[] keywords)
public void setKeywords(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> keywordsUnsafeSupplier)
public java.lang.Integer getNumberOfComments()
public void setNumberOfComments(java.lang.Integer numberOfComments)
public void setNumberOfComments(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> numberOfCommentsUnsafeSupplier)
@Valid public @Valid RelatedContent[] getRelatedContents()
public void setRelatedContents(RelatedContent[] relatedContents)
public void setRelatedContents(com.liferay.petra.function.UnsafeSupplier<RelatedContent[],java.lang.Exception> relatedContentsUnsafeSupplier)
@Valid public @Valid RenderedContent[] getRenderedContents()
public void setRenderedContents(RenderedContent[] renderedContents)
public void setRenderedContents(com.liferay.petra.function.UnsafeSupplier<RenderedContent[],java.lang.Exception> renderedContentsUnsafeSupplier)
public java.lang.Long getSiteId()
public void setSiteId(java.lang.Long siteId)
public void setSiteId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> siteIdUnsafeSupplier)
public java.lang.Long getSizeInBytes()
public void setSizeInBytes(java.lang.Long sizeInBytes)
public void setSizeInBytes(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> sizeInBytesUnsafeSupplier)
@Valid public @Valid TaxonomyCategoryBrief[] getTaxonomyCategoryBriefs()
public void setTaxonomyCategoryBriefs(TaxonomyCategoryBrief[] taxonomyCategoryBriefs)
public void setTaxonomyCategoryBriefs(com.liferay.petra.function.UnsafeSupplier<TaxonomyCategoryBrief[],java.lang.Exception> taxonomyCategoryBriefsUnsafeSupplier)
public java.lang.Long[] getTaxonomyCategoryIds()
public void setTaxonomyCategoryIds(java.lang.Long[] taxonomyCategoryIds)
public void setTaxonomyCategoryIds(com.liferay.petra.function.UnsafeSupplier<java.lang.Long[],java.lang.Exception> taxonomyCategoryIdsUnsafeSupplier)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void setTitle(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> titleUnsafeSupplier)
@Valid public @Valid Document.ViewableBy getViewableBy()
public java.lang.String getViewableByAsString()
public void setViewableBy(Document.ViewableBy viewableBy)
public void setViewableBy(com.liferay.petra.function.UnsafeSupplier<Document.ViewableBy,java.lang.Exception> viewableByUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object