Esempio n. 1
0
 public String getAssetsByPage(String pageNum) {
   List<Assets> list = comicService.getAssetsByPage(Integer.parseInt(pageNum));
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processPath(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 2
0
 public String getMovieClipByPage(String pageNum) {
   List<Movieclip> list = comicService.getMovieClipByPage(pageNum);
   return JSONArray.fromCollection(list).toString();
 }
Esempio n. 3
0
 public String getMovieClip(String pageNum, String pageSize, String type) {
   List<Movieclip> list = comicService.getMovieClip(pageNum, pageSize, type);
   return JSONArray.fromCollection(list).toString();
 }
Esempio n. 4
0
 public String getUserCartState(String userId) {
   List<Cart> list = comicService.getUserCartState(userId);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 5
0
 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();
 }
Esempio n. 6
0
 public String searchAnimByPage(String keys, String pageNum) {
   List<Cartoon> list = comicService.searchAnimationByPage(keys, pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 7
0
 public String getFriendByPage(String userId, String page) {
   List<Friend> resList = comicService.getFriendByPage(userId, page);
   return JSONArray.fromCollection(resList).toString();
 }
Esempio n. 8
0
 public String getAnimByPage(String pageNum) {
   List<Cartoon> list = comicService.getAmimByPage(pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 9
0
 public String getImageByPage(String pageNum) {
   List<Images> list = comicService.getImageByPage(pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processImgPath(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 10
0
 public String getSysAssetsBy(String type, int page) {
   List<Assets> list = comicService.getSysAssetsBy(type, page);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processPath(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 11
0
 public String getAllAnim() {
   List<Cartoon> list = comicService.getAllAnimation();
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
Esempio n. 12
0
 public String getLabelByParent(String parentId) {
   List<Label> list = comicService.getLabelByParent(parentId);
   return JSONArray.fromCollection(list).toString();
 }
Esempio n. 13
0
 public String getAllParentLabel() {
   List<Label> list = comicService.getAllParentLabel();
   return JSONArray.fromCollection(list).toString();
 }
Esempio n. 14
0
 public String getAllCategory() {
   List<Category> list = comicService.getAllCategory();
   return JSONArray.fromCollection(list).toString();
 }
Esempio n. 15
0
 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();
 }
Esempio n. 16
0
 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();
 }