@Override
 public List<E> findBy(AOrder order, TextureBoardDefPair pair) {
   SearchFilter searchFilter = SearchFilter.instanceUnbound();
   searchFilter.eq(order, AOrderBoardDetail.PROPERTY_orderItem, OrderItem.PROPERTY_order);
   searchFilter.eq(AOrderBoardDetail.PROPERTY_priceAware, pair.getBoardDef());
   searchFilter.eq(AOrderBoardDetail.PROPERTY_priced, pair.getTexture());
   return loadAll(searchFilter);
 }
Пример #2
0
 @Override
 public List<Delivery> loadAll(SearchFilter filter) {
   filter.addDescOrder("deliveryDate");
   return super.loadAll(filter);
 }