com.ibm.portal.cp.rating
Interface PortalRatingModelProvider
- All Superinterfaces:
- RatingModelControllerProvider
public interface PortalRatingModelProvider
- extends RatingModelControllerProvider
RatingModelProvider for portal scope, i. e. with servlet request /
response.
NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme.
The API can not be invoked directly by a custom servlet.
- Since:
- 7.0.0
getRatingModel
<T extends Rating> RatingModel<T> getRatingModel(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
throws ModelException
- Returns a
RatingModel
which exposes a
RatingModelLocator for the
getLocator()
method.
- Parameters:
aRequest
- The current servlet requestaResponse
- The current servlet response
- Returns:
- The
RatingModel
.
- Throws:
ModelException