All pastes #334980 Raw Edit

Stuff

public text v1 · immutable
·published 2007-02-01 01:20 UTC
rendered paste body
        public Collection<OnmsOutage> getCurrentOutagesByRange(Integer offset,
			Integer limit, String orderProperty, String direction) {
            Collection<OnmsOutage> outages = m_dao.findAll();
            
            // Populate the monitored service, ip interface, and node objects
            for (OnmsOutage outage : outages) {
                outage.getMonitoredService().getIpInterface().getNode().getLabel();
            }
            
            return outages;
	}