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|
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
for operating on a
RatingsEntry entity to transform its values
based on when the ratings type is changed.
fromRatingsType- the previous ratings type
toRatingsType- the final ratings type
ActionableDynamicQuery.PerformActionMethodwith the actions to be applied to the ratings entry when the ratings type changes.