Beispiel #1
0
 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);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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);
 }