Specialized types
The following are the specialized derivatives of
RestService
,
HttpService
,
FunctionalService
,
InboundHttpService
,
KafkaConsumerService
&
KafkaProducerService
interfaces, and their related types for all
the standard services. Use the
asset-integration-starter
project to
implement the details mentioned in the following topics:
Derivatives of RestService Derivatives of RestService interface facilitates creation of RESTful implementation of standard services.
Derivatives of HttpService Only resource-loader
standard service is implemented as an HttpService
as it relates to the standard HTTP GET operation. You can also use RestService
without losing any capability.
Derivatives of FunctionalService Derivatives of FunctionalService interface facilitates creation of functional implementation of standard services. Functional service is just an object with a public method which takes a certain input and generates the desired output.
Derivatives of InboundHttpService Derivatives of KafkaConsumerService Derivatives of KafkaConsumerService facilitates receiving messages from Kafka topics. As of release 12.1.2, Content Integration Framework leverages Kafka consumer service to receive domain object events & subsequently process those events based on the object attribute mappings.
Derivatives of KafkaProducerService KafkaProducerService
lets publishing messages/records onto Kafka topics. Following are the specialized types available for creating Kafka publisher service –
AbstractEntity The com.hcl.unica.system.model.AbstractEntity
class represents a general domain entity. For the current release, this abstract class does not contain any implementation.
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.
Builder API Almost all the standard types discussed in previous sections provide the builder API for the ease of constructing objects.
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.