org.opennms.web.svclayer
Interface DistributedStatusService

All Known Implementing Classes:
DefaultDistributedStatusService

@Transactional(readOnly=true)
public interface DistributedStatusService

DistributedStatusService interface.

Since:
1.8.1
Version:
$Id: $
Author:
DJ Gregor

Method Summary
 SimpleWebTable createFacilityStatusTable(Date startDate, Date endDate)
          createFacilityStatusTable
 DistributedStatusHistoryModel createHistoryModel(String locationName, String monitorId, String applicationName, String timeSpan, String previousLocation)
          createHistoryModel
 SimpleWebTable createStatusTable(DistributedStatusDetailsCommand command, org.springframework.validation.Errors errors)
          createStatusTable
 int getApplicationCount()
          getApplicationCount
 

Method Detail

createStatusTable

SimpleWebTable createStatusTable(DistributedStatusDetailsCommand command,
                                 org.springframework.validation.Errors errors)

createStatusTable

Parameters:
command - a DistributedStatusDetailsCommand object.
errors - a Errors object.
Returns:
a SimpleWebTable object.

createFacilityStatusTable

SimpleWebTable createFacilityStatusTable(Date startDate,
                                         Date endDate)

createFacilityStatusTable

Parameters:
startDate - a java$util$Date object.
endDate - a java$util$Date object.
Returns:
a SimpleWebTable object.

createHistoryModel

DistributedStatusHistoryModel createHistoryModel(String locationName,
                                                 String monitorId,
                                                 String applicationName,
                                                 String timeSpan,
                                                 String previousLocation)

createHistoryModel

Parameters:
locationName - a String object.
monitorId - a String object.
applicationName - a String object.
timeSpan - a String object.
previousLocation - a String object.
Returns:
a DistributedStatusHistoryModel object.

getApplicationCount

int getApplicationCount()

getApplicationCount

Returns:
a int.


Copyright © 2011. All Rights Reserved.