public interface RatingsDataTransformer
Implementations must be registered in the OSGI Registry. The portal invokes the highest ranking OSGI component implementing this interface when the ratings type of an entity is changed.
Modifier and Type | Method and Description |
---|---|
ActionableDynamicQuery.PerformActionMethod<RatingsEntry> |
transformRatingsData(RatingsType fromRatingsType,
RatingsType toRatingsType)
Defines the transformations to be applied on a ratings entry when the
ratings type is changed from the previous ratings type to the new ratings
type.
|
ActionableDynamicQuery.PerformActionMethod<RatingsEntry> transformRatingsData(RatingsType fromRatingsType, RatingsType toRatingsType) throws PortalException
This method returns an ActionableDynamicQuery.PerformActionMethod
for operating on a RatingsEntry
entity to transform its values
based on when the ratings type is changed.
fromRatingsType
- the previous ratings typetoRatingsType
- the final ratings typeActionableDynamicQuery.PerformActionMethod
with the
actions to be applied to the ratings entry when the ratings type
changes.PortalException