@JsonIgnore public List<CirculationTransaction> getCirculationHistory() { logger.debug("Entering getCirculationHistory()"); List<CirculationTransaction> circulationTransactionList = circulationTransactionRepo.findByPatron(this); logger.debug( "Leaving getCirculationHistory(). circulationTransactionList={}", circulationTransactionList); return circulationTransactionList; }
@JsonIgnore public List<CirculationTransaction> getCirculationTransactionsWithFlagCharged() { List<CirculationTransaction> circulationTransactionList = circulationTransactionRepo.findByPatronAndFlag(this, CirculationTransactionFlag.CHARGED); return circulationTransactionList; }