Package org.opennms.web.svclayer
Interface AdminApplicationService
-
- All Known Implementing Classes:
DefaultAdminApplicationService
@Transactional(readOnly=true) public interface AdminApplicationService
-
-
Method Summary
-
-
-
Method Detail
-
getApplication
DefaultAdminApplicationService.ApplicationAndMemberServices getApplication(String applicationIdString)
getApplication
- Parameters:
applicationIdString
- aString
object.- Returns:
- a
DefaultAdminApplicationService.ApplicationAndMemberServices
object.
-
findAllMonitoredServices
List<OnmsMonitoredService> findAllMonitoredServices()
findAllMonitoredServices
- Returns:
- a
List
object.
-
findAllMonitoringLocations
List<OnmsMonitoringLocation> findAllMonitoringLocations()
-
findApplicationAndAllMonitoredServices
DefaultAdminApplicationService.EditModel findApplicationAndAllMonitoredServices(String applicationIdString)
findApplicationAndAllMonitoredServices
- Parameters:
applicationIdString
- aString
object.- Returns:
- a
DefaultAdminApplicationService.EditModel
object.
-
performEditServices
@Transactional(readOnly=false) void performEditServices(String appId, String editAction, String[] serviceAdds, String[] serviceDeletes)
-
performEditLocations
@Transactional(readOnly=false) void performEditLocations(String appId, String editAction, String[] locationAdds, String[] locationDeletes)
-
addNewApplication
@Transactional(readOnly=false) OnmsApplication addNewApplication(String name)
addNewApplication
- Parameters:
name
- aString
object.- Returns:
- a
OnmsApplication
object.
-
findAllApplications
List<OnmsApplication> findAllApplications()
findAllApplications
- Returns:
- a
List
object.
-
removeApplication
@Transactional(readOnly=false) void removeApplication(String applicationIdString)
removeApplication
- Parameters:
applicationIdString
- aString
object.
-
findByMonitoredService
List<OnmsApplication> findByMonitoredService(int id)
findByMonitoredService
- Parameters:
id
- a int.- Returns:
- a
List
object.
-
performServiceEdit
@Transactional(readOnly=false) void performServiceEdit(String ifServiceIdString, String editAction, String[] toAdd, String[] toDelete)
performServiceEdit
-
findServiceApplications
DefaultAdminApplicationService.ServiceEditModel findServiceApplications(String ifServiceIdString)
findServiceApplications
- Parameters:
ifServiceIdString
- aString
object.- Returns:
- a
DefaultAdminApplicationService.ServiceEditModel
object.
-
-