Пример #1
0
 @JsonIgnore
 public List<CirculationTransaction> getCirculationHistory() {
   logger.debug("Entering getCirculationHistory()");
   List<CirculationTransaction> circulationTransactionList =
       circulationTransactionRepo.findByPatron(this);
   logger.debug(
       "Leaving getCirculationHistory(). circulationTransactionList={}",
       circulationTransactionList);
   return circulationTransactionList;
 }
Пример #2
0
 @JsonIgnore
 public List<CirculationTransaction> getCirculationTransactionsWithFlagCharged() {
   List<CirculationTransaction> circulationTransactionList =
       circulationTransactionRepo.findByPatronAndFlag(this, CirculationTransactionFlag.CHARGED);
   return circulationTransactionList;
 }