com.ibm.portal.cp.rating
Interface RatingModel<R extends Rating>

All Superinterfaces:
Countable, CountableListModel<R>, Invalidatable, InvalidatableListModel<R>, ListModel<R>, LocatorProvider<R>, PagedListModel<R>, SearchableListModel<R>
All Known Subinterfaces:
RatingModelController<R,M>

public interface RatingModel<R extends Rating>
extends SearchableListModel<R>, InvalidatableListModel<R>, CountableListModel<R>, PagedListModel<R>

RatingModel: Interface for a rating model. This model describes the structure of a Rating.

Since:
7.0.0

Method Summary
 int getMaxRatingValue()
          Returns the maximum value a Rating can have.
 
Methods inherited from interface com.ibm.portal.LocatorProvider
getLocator
 
Methods inherited from interface com.ibm.portal.Invalidatable
invalidate, invalidate
 
Methods inherited from interface com.ibm.portal.Countable
size
 
Methods inherited from interface com.ibm.portal.PagedListModel
pagedIterator
 
Methods inherited from interface com.ibm.portal.ListModel
iterator
 

Method Detail

getMaxRatingValue

int getMaxRatingValue()
Returns the maximum value a Rating can have. This value is configurable through the cp configuration service properties and ist globally unique accross all type schemas

Returns:
The maximum value a Rating
See Also:
Rating.getRating()