The Java API
The Java AP that the portal provides for tagging and rating follows the pattern of the portal controller SPI. For more details refer to 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 ratingso 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: Extending tagging and rating using service APIs
Related:
Controller SPI
Model SPI overview
Related reference:
The tagging and rating user interface