Class CalendarInstanceRepositoryWrapper

java.lang.Object
org.apache.fineract.portfolio.calendar.domain.CalendarInstanceRepositoryWrapper

@Service public class CalendarInstanceRepositoryWrapper extends Object

Wrapper for CalendarInstanceRepository that is responsible for checking if CalendarInstance is returned when using findOne repository method and throwing an appropriate not found exception.

This is to avoid need for checking and throwing in multiple areas of code base where CalendarInstanceRepository is required.

  • Constructor Details

  • Method Details

    • findOneWithNotFoundDetection

      public org.apache.fineract.portfolio.calendar.domain.CalendarInstance findOneWithNotFoundDetection(Long CalendarInstanceId)
    • save

      public void save(org.apache.fineract.portfolio.calendar.domain.CalendarInstance calendatInstance)
    • delete

      public void delete(org.apache.fineract.portfolio.calendar.domain.CalendarInstance calendatInstance)
    • saveAndFlush

      public void saveAndFlush(org.apache.fineract.portfolio.calendar.domain.CalendarInstance calendatInstance)