Class ContentElement
java.lang.Object
com.liferay.headless.delivery.dto.v1_0.ContentElement
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid ObjectgetId()getTitle()inthashCode()voidsetContent(com.liferay.petra.function.UnsafeSupplier<Object, Exception> contentUnsafeSupplier) voidsetContent(Object content) voidsetContentType(com.liferay.petra.function.UnsafeSupplier<String, Exception> contentTypeUnsafeSupplier) voidsetContentType(String contentType) voidvoidvoidvoidvoidsetTitle_i18n(com.liferay.petra.function.UnsafeSupplier<Map<String, String>, Exception> title_i18nUnsafeSupplier) voidsetTitle_i18n(Map<String, String> title_i18n) static ContentElementtoString()static ContentElementunsafeToDTO(String json)
-
Field Details
-
-
contentType
-
id
-
title
-
title_i18n
-
xClassName
-
-
Constructor Details
-
ContentElement
public ContentElement()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getContent
-
setContent
-
setContent
-
getContentType
-
setContentType
-
setContentType
-
getId
-
setId
-
setId
-
getTitle
-
setTitle
-
setTitle
-
getTitle_i18n
-
setTitle_i18n
-
setTitle_i18n
-
equals
-
hashCode
public int hashCode() -
toString
-