|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RatingsDataTransformer
Provides an interface defining the transformations to be applied to the ratings data when the ratings type used by an entity is changed to use a different ratings type.
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.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 type
ActionableDynamicQuery.PerformActionMethod with the
actions to be applied to the ratings entry when the ratings type
changes.
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||