Class Attachment
java.lang.Object
com.liferay.headless.commerce.admin.catalog.dto.v1_0.Attachment
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Boolean
protected String
protected String
protected CustomField[]
protected Date
protected Date
protected String
protected String
protected String
protected Long
protected Boolean
protected Long
protected Boolean
protected Double
protected String
protected String[]
protected Integer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Valid CustomField[]
@DecimalMin("0") Long
@DecimalMin("0") Long
getId()
getSrc()
String[]
getTags()
getTitle()
getType()
int
hashCode()
void
setAttachment
(com.liferay.petra.function.UnsafeSupplier<String, Exception> attachmentUnsafeSupplier) void
setAttachment
(String attachment) void
setCdnEnabled
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> cdnEnabledUnsafeSupplier) void
setCdnEnabled
(Boolean cdnEnabled) void
void
void
setContentType
(com.liferay.petra.function.UnsafeSupplier<String, Exception> contentTypeUnsafeSupplier) void
setContentType
(String contentType) void
setCustomFields
(CustomField[] customFields) void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) void
setDisplayDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> displayDateUnsafeSupplier) void
setDisplayDate
(Date displayDate) void
setExpirationDate
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> expirationDateUnsafeSupplier) void
setExpirationDate
(Date expirationDate) void
setExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) void
setExternalReferenceCode
(String externalReferenceCode) void
setFileEntryExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> fileEntryExternalReferenceCodeUnsafeSupplier) void
setFileEntryExternalReferenceCode
(String fileEntryExternalReferenceCode) void
setFileEntryGroupExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> fileEntryGroupExternalReferenceCodeUnsafeSupplier) void
setFileEntryGroupExternalReferenceCode
(String fileEntryGroupExternalReferenceCode) void
setFileEntryId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> fileEntryIdUnsafeSupplier) void
setFileEntryId
(Long fileEntryId) void
setGalleryEnabled
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> galleryEnabledUnsafeSupplier) void
setGalleryEnabled
(Boolean galleryEnabled) void
void
void
setNeverExpire
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> neverExpireUnsafeSupplier) void
setNeverExpire
(Boolean neverExpire) void
setOptions
(com.liferay.petra.function.UnsafeSupplier<Map<String, String>, Exception> optionsUnsafeSupplier) void
setOptions
(Map<String, String> options) void
setPriority
(com.liferay.petra.function.UnsafeSupplier<Double, Exception> priorityUnsafeSupplier) void
setPriority
(Double priority) void
void
void
void
void
setTitle
(com.liferay.petra.function.UnsafeSupplier<Map<String, String>, Exception> titleUnsafeSupplier) void
void
void
static Attachment
toString()
static Attachment
unsafeToDTO
(String json)
-
Field Details
-
attachment
-
cdnEnabled
-
cdnURL
-
contentType
-
customFields
-
displayDate
-
expirationDate
-
externalReferenceCode
-
fileEntryExternalReferenceCode
-
fileEntryGroupExternalReferenceCode
-
fileEntryId
-
galleryEnabled
-
id
-
neverExpire
-
options
-
priority
-
src
-
tags
-
title
-
type
-
xClassName
-
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getAttachment
-
setAttachment
-
setAttachment
-
getCdnEnabled
-
setCdnEnabled
-
setCdnEnabled
-
getCdnURL
-
setCdnURL
-
setCdnURL
-
getContentType
-
setContentType
-
setContentType
-
getCustomFields
-
setCustomFields
-
setCustomFields
public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[], Exception> customFieldsUnsafeSupplier) -
getDisplayDate
-
setDisplayDate
-
setDisplayDate
-
getExpirationDate
-
setExpirationDate
-
setExpirationDate
-
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getFileEntryExternalReferenceCode
-
setFileEntryExternalReferenceCode
-
setFileEntryExternalReferenceCode
-
getFileEntryGroupExternalReferenceCode
-
setFileEntryGroupExternalReferenceCode
-
setFileEntryGroupExternalReferenceCode
-
getFileEntryId
-
setFileEntryId
-
setFileEntryId
-
getGalleryEnabled
-
setGalleryEnabled
-
setGalleryEnabled
-
getId
-
setId
-
setId
-
getNeverExpire
-
setNeverExpire
-
setNeverExpire
-
getOptions
-
setOptions
-
setOptions
-
getPriority
-
setPriority
-
setPriority
-
getSrc
-
setSrc
-
setSrc
-
getTags
-
setTags
-
setTags
-
getTitle
-
setTitle
-
setTitle
-
getType
-
setType
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-