コード例 #1
0
 @GET
 @Timed
 //    @UnitOfWork
 @ExceptionMetered
 public Set<CreditCard> list() {
   return creditCardDao.list();
 }
コード例 #2
0
 @POST
 @Timed
 //    @UnitOfWork
 @ExceptionMetered
 public Set<CreditCard> listByActiveAndLocale(CreditCard creditCard) {
   Set<CreditCard> list = creditCardDao.listByActiveAndLocale(creditCard.getLocale());
   return list;
 }