|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RatingCreationContext<R>
CreationContext that exposes information common to all types of rating creation context interfaces.
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getCategories()
Returns a set of categories the resource the rating is being associated to belongs to. |
ObjectID |
getOwnerID()
Returns the ObjectID of the owner of this tag. |
int |
getRating()
Returns the rating value of this rating. |
R |
getResource()
Returns the resource this rating is associated to. |
boolean |
isPrivate()
Returns true if the rating should be considered
private, i. |
boolean |
preserveCategories()
If a RatingCreationContext was created without specifying
categories it is possible to preserve all categories that have been
assigned to the rated resource. |
Method Detail |
---|
int getRating()
ObjectID getOwnerID()
ObjectID
of the owner of this tag.
boolean isPrivate()
true
if the rating should be considered
private, i. e. only the current user will be able to see it.
true
if the rating should be considered
private, i. e. only the current user will be able to see
it.R getResource()
java.util.Set<java.lang.String> getCategories()
null
.
boolean preserveCategories()
RatingCreationContext
was created without specifying
categories it is possible to preserve all categories that have been
assigned to the rated resource.
true
if the categories already associated with the
resource to rate should be preserved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |