public String getAssetsByPage(String pageNum) { List<Assets> list = comicService.getAssetsByPage(Integer.parseInt(pageNum)); JSONArray jsonArray = JSONArray.fromCollection(list); processPath(jsonArray); return jsonArray.toString(); }
public String getMovieClipByPage(String pageNum) { List<Movieclip> list = comicService.getMovieClipByPage(pageNum); return JSONArray.fromCollection(list).toString(); }
public String getMovieClip(String pageNum, String pageSize, String type) { List<Movieclip> list = comicService.getMovieClip(pageNum, pageSize, type); return JSONArray.fromCollection(list).toString(); }
public String getUserCartState(String userId) { List<Cart> list = comicService.getUserCartState(userId); JSONArray jsonArray = JSONArray.fromCollection(list); processCartoon(jsonArray); return jsonArray.toString(); }
public String getYonkomaByPage(String primary, String pageSize, String pageNum) { List<Yonkoma> list = comicService.getYonkomaByPage(primary, pageSize, pageNum); JSONArray jsonArray = JSONArray.fromCollection(list); processYonkoma(jsonArray); return jsonArray.toString(); }
public String searchAnimByPage(String keys, String pageNum) { List<Cartoon> list = comicService.searchAnimationByPage(keys, pageNum); JSONArray jsonArray = JSONArray.fromCollection(list); processCartoon(jsonArray); return jsonArray.toString(); }
public String getFriendByPage(String userId, String page) { List<Friend> resList = comicService.getFriendByPage(userId, page); return JSONArray.fromCollection(resList).toString(); }
public String getAnimByPage(String pageNum) { List<Cartoon> list = comicService.getAmimByPage(pageNum); JSONArray jsonArray = JSONArray.fromCollection(list); processCartoon(jsonArray); return jsonArray.toString(); }
public String getImageByPage(String pageNum) { List<Images> list = comicService.getImageByPage(pageNum); JSONArray jsonArray = JSONArray.fromCollection(list); processImgPath(jsonArray); return jsonArray.toString(); }
public String getSysAssetsBy(String type, int page) { List<Assets> list = comicService.getSysAssetsBy(type, page); JSONArray jsonArray = JSONArray.fromCollection(list); processPath(jsonArray); return jsonArray.toString(); }
public String getAllAnim() { List<Cartoon> list = comicService.getAllAnimation(); JSONArray jsonArray = JSONArray.fromCollection(list); processCartoon(jsonArray); return jsonArray.toString(); }
public String getLabelByParent(String parentId) { List<Label> list = comicService.getLabelByParent(parentId); return JSONArray.fromCollection(list).toString(); }
public String getAllParentLabel() { List<Label> list = comicService.getAllParentLabel(); return JSONArray.fromCollection(list).toString(); }
public String getAllCategory() { List<Category> list = comicService.getAllCategory(); return JSONArray.fromCollection(list).toString(); }
public String getByCategoryAndType(String categorys, String type, String pageNum) { List<Assets> list = comicService.getByCategoryAndType(categorys, type, pageNum); JSONArray jsonArray = JSONArray.fromCollection(list); processPath(jsonArray); return jsonArray.toString(); }
public String searchByLabelAndTypePage(String labels, String type, String pageNum) { List<Assets> list = comicService.searchByLabelAndTypePage(labels, type, pageNum); JSONArray jsonArray = JSONArray.fromCollection(list); processPath(jsonArray); return jsonArray.toString(); }