The Java API
The Java API the portal provides for tagging and rating follows the pattern of the portal controller SPI. See the section about the portal controller API.
The following controllers are available for working with resources, tags and ratings:
- RatingModelController
- Use this controller to control ratings, that is to create or delete ratings.
- TagModelController
- Use this controller to control tags, that is to create or delete tags.
- ResourceModelController
- Use this controller to control resources that are tagged or rated or both. For example, specify a category to which a resource belongs.
Parent Extend tagging and ratingRelated concepts:
Controller SPI
Model SPI overviewRelated reference:
The tagging and rating user interface