Пример #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;
 }