예제 #1
0
 public static Results fromIdList(List<UUID> l, String type) {
   if (type == null) {
     return fromIdList(l);
   }
   List<EntityRef> refs = new ArrayList<EntityRef>();
   for (UUID u : l) {
     refs.add(ref(type, u));
   }
   Results r = new Results();
   r.setRefs(refs);
   return r;
 }
예제 #2
0
 public Results withRefs(List<EntityRef> resultsRefs) {
   setRefs(resultsRefs);
   return this;
 }
예제 #3
0
 public static Results fromRefList(List<EntityRef> l) {
   Results r = new Results();
   r.setRefs(l);
   return r;
 }