Presentable
To be able to render an individual content returned by the simple-search,
list-contents & get-content-details services , the domain entity class used by these
services must implement the
com.hcl.unica.system.model.presentation.Presentable
interface and
override the getPresentationDetails()
method. The
com.hcl.unica.system.model.presentation.Presentable$PresentationDetails
object returned by the getPresentationDetails()
method must provide the
TextualPresentation
as well as MultimediaPresentation
details.
TextualPresentation
contains following particulars:
-
Note: The highlighted fields are mandatory. For the other fields, provide details, if available.
heading
– Title of the contentsubheadings
– List of subheadings for the contentsummary
– Summary or description of the contentname
– Should be used for filename associated with the contenttags
– Tags associated with the content (out of the box plugins use this to convey MIME type or category of the content)
Whereas MultimediaPresentation
contains following particulars:
-
Note: The highlighted fields are mandatory. For the other fields, provide details, if available.
id
- Unique identifier of the contentfolderId
- Unique identifier of the folder respective content belongs tomimeType
- MIME type of the original contentsize
- Size of original content in bytesresourceUrl
- Absolute URL to the original contentthumbnailUrl
- Absolute URL to the content thumbnail, if availablefileName
- File name associated with the original contenttype
– Type/category identifier of the content (must be one of the values from supported content types set up using any of the applicable alternatives provided by Content Integration framework)list of variants
– Each variant supports almost same details as the primary MultimediaPresentation details except thumbnailUrl (it can only have its own resourceUrl), folderId and variants (variant cannot have any further variants)