|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.registry.inmemory.ratings.RatingsManager
public class RatingsManager
| Constructor Summary | |
|---|---|
RatingsManager(InMemoryRegistry inMemoryRegistryProvider)
|
|
| Method Summary | |
|---|---|
float |
getAverageRating(java.lang.String resourcePath)
|
void |
rateResource(java.lang.String resourcePath,
int rating)
|
void |
removeRatings(java.lang.String resourcePath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RatingsManager(InMemoryRegistry inMemoryRegistryProvider)
| Method Detail |
|---|
public void rateResource(java.lang.String resourcePath,
int rating)
throws RegistryException
RegistryExceptionpublic float getAverageRating(java.lang.String resourcePath)
public void removeRatings(java.lang.String resourcePath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||