com.ibm.portal.cp.rating
Interface RatingModelControllerProvider
- All Known Subinterfaces:
- CorRatingModelProvider, PortalRatingModelProvider, PortletRatingModelProvider
public interface RatingModelControllerProvider
Provider interface for rating model controllers.
- Since:
- 7.0.0
getRatingModelController
<T extends Rating,M extends ModifiableRating> RatingModelController<T,M> getRatingModelController(RatingModel<T> ratingModel)
throws CannotInstantiateControllerException
- Returns a
RatingModelController
for the given model. The
returned controller exposes a default locator only that allos to search
by ObjectID
or unique name only.
No RatingModelLocator will be exposed.
- Parameters:
ratingModel
- The model
- Returns:
- a
RatingModelController
for the given model
- Throws:
CannotInstantiateControllerException