diff options
author | 2016-11-16 14:30:50 +0300 | |
---|---|---|
committer | 2016-11-16 16:21:53 +0300 | |
commit | ffb24e0d469aaafa35ad5f460a7bdf771382f0ff (patch) | |
tree | 0d8fc9114b916f9058cccb01fcf8281a0a209284 /juick-server/src/main/java/com/juick/service/TagService.java | |
parent | e8faf851327a12f28ae664a6f7db6c844d0ba9bf (diff) |
server-core -> juick-server
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/TagService.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/service/TagService.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/service/TagService.java b/juick-server/src/main/java/com/juick/service/TagService.java new file mode 100644 index 00000000..d5f63e3a --- /dev/null +++ b/juick-server/src/main/java/com/juick/service/TagService.java @@ -0,0 +1,30 @@ +package com.juick.service; + +import com.juick.Tag; + +import java.util.List; + +/** + * Created by aalexeev on 11/13/16. + */ +public interface TagService { + com.juick.Tag getTag(int tid); + + com.juick.Tag getTag(String tag, boolean autoCreate); + + List<Tag> getTags(String[] tags, boolean autoCreate); + + boolean getTagNoIndex(int tag_id); + + int createTag(String name); + + List<com.juick.Tag> getUserTagsAll(int uid); + + List<String> getUserBLTags(int uid); + + List<String> getPopularTags(); + + List<Tag> updateTags(int mid, List<Tag> newTags); + + List<Tag> fromString(String txt, boolean tagsOnly); +} |