@Test @JUnitTemporaryDatabase public void testCountMatchingSummaries(){ int count = m_daoOutageRepo.countMatchingOutageSummaries(new OutageCriteria()); assertEquals(2, count); }
@Transactional public int countMatchingOutageSummaries(final OutageCriteria criteria) { return getMatchingOutageSummaries(criteria).length; }
DaoWebOutageRepository implements WebOutageRepository, InitializingBean { @Transactional public int countMatchingOutageSummaries(final OutageCriteria criteria) { return getMatchingOutageSummaries(criteria).length; } }
DaoWebOutageRepository implements WebOutageRepository, InitializingBean { @Transactional public int countMatchingOutageSummaries(final OutageCriteria criteria) { return getMatchingOutageSummaries(criteria).length; }  }
DaoWebOutageRepository implements WebOutageRepository, InitializingBean { @Transactional public int countMatchingOutageSummaries(final OutageCriteria criteria) { return getMatchingOutageSummaries(criteria).length; }  @Override void afterPropertiesSet(); @Transactional int countMatchingOutageSummaries(final OutageCriteria criteria); @Transactional int countMatchingOutages(OutageCriteria criteria); @Transactional OutageSummary[] getMatchingOutageSummaries(final OutageCriteria criteria); @Transactional Outage[] getMatchingOutages(final OutageCriteria criteria); @Transactional Outage getOutage(final int OutageId); @Transactional int countCurrentOutages(); @Transactional OutageSummary[] getCurrentOutages(final int rows); }
DaoWebOutageRepository implements WebOutageRepository, InitializingBean { @Transactional public int countMatchingOutageSummaries(final OutageCriteria criteria) { return getMatchingOutageSummaries(criteria).length; }  @Override void afterPropertiesSet(); @Transactional int countMatchingOutageSummaries(final OutageCriteria criteria); @Transactional int countMatchingOutages(OutageCriteria criteria); @Transactional OutageSummary[] getMatchingOutageSummaries(final OutageCriteria criteria); @Transactional Outage[] getMatchingOutages(final OutageCriteria criteria); @Transactional Outage getOutage(final int OutageId); @Transactional int countCurrentOutages(); @Transactional OutageSummary[] getCurrentOutages(final int rows);  }