コード例 #1
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void add(
     UrlListData urlListData,
     BoxListData boxListData,
     Callback<MainServerData<UrlListData>> callback) {
   urlListInterface.add(
       LinkBoxController.usrListData.usrKey, boxListData.boxKey, urlListData, callback);
 }
コード例 #2
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void remove(UrlListData urlListData, Callback<MainServerData<Object>> callback) {
   urlListInterface.remove(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData,
       callback);
 }
コード例 #3
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void commentList(
     UrlListData urlListData, Callback<MainServerData<List<CommentListData>>> callback) {
   urlListInterface.commentList(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData.urlKey,
       callback);
 }
コード例 #4
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void like(UrlListData original, int good, Callback<MainServerData<Object>> callback) {
   UrlListData urlListData = original.clone();
   urlListData.liked = good == 0 ? 0 : 1;
   urlListInterface.like(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData,
       callback);
 }
コード例 #5
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void share(
     UrlListData urlListData, BoxListData newBox, Callback<MainServerData<UrlListData>> callback) {
   urlListInterface.share(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       newBox.boxKey,
       urlListData,
       callback);
 }
コード例 #6
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void hidden(UrlListData origInal, int hidden, Callback<MainServerData<Object>> callback) {
   UrlListData urlListData = origInal.clone();
   urlListData.hidden = hidden;
   urlListInterface.hidden(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData,
       callback);
 }
コード例 #7
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void boxList(
     int startNum, int urlNum, Callback<MainServerData<List<UrlListData>>> callback) {
   urlListInterface.boxList(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       startNum,
       urlNum,
       callback);
 }
コード例 #8
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void edit(
     UrlListData original, String newTitle, Callback<MainServerData<Object>> callback) {
   UrlListData urlListData = original.clone();
   urlListData.urlTitle = newTitle;
   urlListInterface.edit(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData,
       callback);
 }
コード例 #9
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void commentAdd(
     UrlListData urlListData, String comment, Callback<MainServerData<CommentListData>> callback) {
   CommentListData commentListData = new CommentListData();
   commentListData.comment = comment;
   urlListInterface.commentAdd(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData.urlKey,
       commentListData,
       callback);
 }
コード例 #10
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void tagAdd(
     UrlListData urlListData, String tag, Callback<MainServerData<TagListData>> callback) {
   TagListData tagListData = new TagListData(tag);
   // tagListData.tag = tag;
   urlListInterface.tagAdd(
       LinkBoxController.usrListData.usrKey,
       LinkBoxController.currentBox.boxKey,
       urlListData.urlKey,
       tagListData,
       callback);
 }
コード例 #11
0
ファイル: UrlListWrapper.java プロジェクト: Ailrun/LINKBOX
 public void hiddenList(
     int startNum, int urlNum, Callback<MainServerData<List<UrlListData>>> callback) {
   urlListInterface.hiddenList(LinkBoxController.usrListData.usrKey, startNum, urlNum, callback);
 }