|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.inspera.services.pedal.services.TaggingService
public class TaggingService
Service class for tagging learning objects. This class contains methods to tag an object and retrieve a set of tags related to a specific object or metadata.
Constructor Summary | |
---|---|
TaggingService()
|
Method Summary | |
---|---|
static java.lang.Iterable<java.lang.Long> |
getObjects(java.lang.String label,
long taggerId)
Retrievs objects specified the label for the user. |
static java.lang.Iterable<Tag> |
getTagsByTaggerId(long taggerId)
Retrievs tags made by the specified user. |
static void |
tagObject(Tag tag)
Tags object with the specified label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaggingService()
Method Detail |
---|
public static void tagObject(Tag tag)
tag
- the tag objectpublic static java.lang.Iterable<Tag> getTagsByTaggerId(long taggerId)
taggerId
- the id of tagger.
public static java.lang.Iterable<java.lang.Long> getObjects(java.lang.String label, long taggerId)
label
- the label of tagstaggerId
- the id of tagger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |