|
SAP NetWeaver '04 | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Provides a service for evaluating resources.
See:
Description
| Interface Summary | |
| IRating | The interface represents a service for handling the rating of resources. |
Provides a service for evaluating resources.
The rating service handles the ratings that users give to express their evaluation of a resource. It supports add and get methods.
The rating service can be configured with the parameters shown
in the table.
The parameters can be set with the help of the user interface of
the Content Management configuration framework.
For more information see the documentation Administering
Content Management.
| Property | Required | Description |
class |
yes | The class that implements the comment service interface and is used for this system |
Empty
rating icon |
No | Empty icon (located in /etc/public/mimes/images) |
Full
rating Icon |
No | Filled icon (located in /etc/public/mimes/images) |
Count
rate |
No | Number of rating values (e.g. 5) |
Icon
height |
No | Height of icons |
Icon
width |
No | Width of icons |
Max
Comment |
No | Number of comments initially displayed together |
Ratingvalues |
No | A file which includes customer settings (without extension) |
The following shows a sample configuration:
| Name |
Value |
class |
com.sapportals.wcm.repository.service.rating.RatingManager |
Empty
rating icon |
empty_icon.gif |
Full
rating Icon |
Full_icon.gif |
Count
rate |
5 |
Icon
height |
7 |
Icon
width |
7 |
Max
Comment |
3 |
Ratingvalues |
CustomerRating |
An instance of the commnet service must be configured for each repository where it is required.
A customer can define the Gifs, texts and ranges for rating . The definitions are stored in the files ending in .RatingValues. The file is stored in the directory /etc/rating and is handled as a resource bundle.
The following files must be located under /etc/rating:
· CustomerRating.properties
· CustomerRating_<Locale>.properties
|
SAP NetWeaver '04 | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||