org.deepamehta.plugins.review.service
Interface ReviewService

Show UML class diagram
All Superinterfaces:
PluginService
All Known Implementing Classes:
ReviewPlugin

public interface ReviewService
extends PluginService

A very stupid plugin for counting likes/dislikes on any kind of topics in DeepaMehta. * Counting values seperately as "Good" and "So-so", depends on introducing Migration2 to your application model. * Counting values as one accumulate "Score", depends on introducing Migration1 to your application model.

Version:
0.3.6
Author:
Malte Rei├čig ()

Method Summary
 Topic addToGood(long resourceId, ClientState clientState)
           
 Topic addToSoso(long resourceId, ClientState clientState)
           
 Topic downvoteResourceById(long resourceId, ClientState clientState)
           
 Topic upvoteResourceById(long resourceId, ClientState clientState)
           
 

Method Detail

addToGood

Topic addToGood(long resourceId,
                ClientState clientState)

addToSoso

Topic addToSoso(long resourceId,
                ClientState clientState)

upvoteResourceById

Topic upvoteResourceById(long resourceId,
                         ClientState clientState)

downvoteResourceById

Topic downvoteResourceById(long resourceId,
                           ClientState clientState)


Copyright © 2014. All Rights Reserved.