Package com.tubeonfire.entity

Examples of com.tubeonfire.entity.Tube.transformString()


      List<String> cachedTubes = (List<String>) cache
          .get("cachedMostViewToday");
      if (cachedTubes.size() > 0) {
        for (String stringChannel : cachedTubes) {
          Tube tub = new Tube();
          tub.transformString(stringChannel);
          result.add(tub);
        }
      }
    }
    return result;
View Full Code Here


      List<String> cachedTubes = (List<String>) cache
          .get("cachedMostViewAllTime");
      if (cachedTubes.size() > 0) {
        for (String stringChannel : cachedTubes) {
          Tube tub = new Tube();
          tub.transformString(stringChannel);
          result.add(tub);
        }
      }
    }
    return result;
View Full Code Here

      List<String> cachedTubes = (List<String>) cache
          .get("cachedPopular");
      if (cachedTubes.size() > 0) {
        for (String stringChannel : cachedTubes) {
          Tube tub = new Tube();
          tub.transformString(stringChannel);
          result.add(tub);
        }
      }
    }
    return result;
View Full Code Here

      result = new ArrayList<Tube>();
      List<String> cachedTubes = (List<String>) cache.get("cachedRecent");
      if (cachedTubes.size() > 0) {
        for (String stringChannel : cachedTubes) {
          Tube tub = new Tube();
          tub.transformString(stringChannel);
          result.add(tub);
        }
      }
    }
    return result;
View Full Code Here

            if (i == (itemPerPage + startPoint)) {
              break;
            }

            Tube tub = new Tube();
            tub.transformString(cate.getListTubes().get(i)
                .getValue());
            result.add(tub);
          }
        } else {
          page = 1;
View Full Code Here

          for (int i = 0; i < cate.getListTubes().size(); i++) {
            if (i == itemPerPage) {
              break;
            }
            Tube tub = new Tube();
            tub.transformString(cate.getListTubes().get(i)
                .getValue());
            result.add(tub);
          }
        }
View Full Code Here

          if (pl != null && tub != null
              && pl.getUserFederatedId().equals(user.getUserId())) {
            List<Text> newVideos = pl.getListTubes();
            for (int i = 0; i < newVideos.size(); i++) {
              Tube exitTub = new Tube();
              exitTub.transformString(newVideos.get(i).getValue());
              if (tub.getTubeId().equalsIgnoreCase(
                  exitTub.getTubeId())) {
                newVideos.remove(i);
                break;
              }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.