public void add( UrlListData urlListData, BoxListData boxListData, Callback<MainServerData<UrlListData>> callback) { urlListInterface.add( LinkBoxController.usrListData.usrKey, boxListData.boxKey, urlListData, callback); }
public void remove(UrlListData urlListData, Callback<MainServerData<Object>> callback) { urlListInterface.remove( LinkBoxController.usrListData.usrKey, LinkBoxController.currentBox.boxKey, urlListData, callback); }
public void commentList( UrlListData urlListData, Callback<MainServerData<List<CommentListData>>> callback) { urlListInterface.commentList( LinkBoxController.usrListData.usrKey, LinkBoxController.currentBox.boxKey, urlListData.urlKey, callback); }
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); }
public void share( UrlListData urlListData, BoxListData newBox, Callback<MainServerData<UrlListData>> callback) { urlListInterface.share( LinkBoxController.usrListData.usrKey, LinkBoxController.currentBox.boxKey, newBox.boxKey, urlListData, callback); }
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); }
public void boxList( int startNum, int urlNum, Callback<MainServerData<List<UrlListData>>> callback) { urlListInterface.boxList( LinkBoxController.usrListData.usrKey, LinkBoxController.currentBox.boxKey, startNum, urlNum, callback); }
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); }
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); }
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); }
public void hiddenList( int startNum, int urlNum, Callback<MainServerData<List<UrlListData>>> callback) { urlListInterface.hiddenList(LinkBoxController.usrListData.usrKey, startNum, urlNum, callback); }