diff options
author | 2016-11-14 15:56:32 +0700 | |
---|---|---|
committer | 2016-11-14 15:56:32 +0700 | |
commit | d03e8b19d346563afec5fb2b6b9c9dcea68040e0 (patch) | |
tree | beb150d73b7734b5ee3823f4b38c68fa2f88f5af /server-core/src/main/java/com/juick/service/TagService.java | |
parent | ecbc4907669c06c7a71ffda3bd78a163ee1287fe (diff) |
jdbc services
Diffstat (limited to 'server-core/src/main/java/com/juick/service/TagService.java')
-rw-r--r-- | server-core/src/main/java/com/juick/service/TagService.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/server-core/src/main/java/com/juick/service/TagService.java b/server-core/src/main/java/com/juick/service/TagService.java index 1083d663..d5f63e3a 100644 --- a/server-core/src/main/java/com/juick/service/TagService.java +++ b/server-core/src/main/java/com/juick/service/TagService.java @@ -1,7 +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); } |