Package org.opennms.web.svclayer
Interface AdminApplicationService
-
- All Known Implementing Classes:
DefaultAdminApplicationService
@Transactional(readOnly=true) public interface AdminApplicationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnmsApplication
addNewApplication(java.lang.String name)
addNewApplicationjava.util.List<OnmsApplication>
findAllApplications()
findAllApplicationsjava.util.List<OnmsMonitoredService>
findAllMonitoredServices()
findAllMonitoredServicesjava.util.List<OnmsMonitoringLocation>
findAllMonitoringLocations()
DefaultAdminApplicationService.EditModel
findApplicationAndAllMonitoredServices(java.lang.String applicationIdString)
findApplicationAndAllMonitoredServicesjava.util.List<OnmsApplication>
findByMonitoredService(int id)
findByMonitoredServiceDefaultAdminApplicationService.ServiceEditModel
findServiceApplications(java.lang.String ifServiceIdString)
findServiceApplicationsDefaultAdminApplicationService.ApplicationAndMemberServices
getApplication(java.lang.String applicationIdString)
getApplicationvoid
performEditLocations(java.lang.String appId, java.lang.String editAction, java.lang.String[] locationAdds, java.lang.String[] locationDeletes)
void
performEditServices(java.lang.String appId, java.lang.String editAction, java.lang.String[] serviceAdds, java.lang.String[] serviceDeletes)
void
performServiceEdit(java.lang.String ifServiceIdString, java.lang.String editAction, java.lang.String[] toAdd, java.lang.String[] toDelete)
performServiceEditvoid
removeApplication(java.lang.String applicationIdString)
removeApplication
-
-
-
Method Detail
-
getApplication
DefaultAdminApplicationService.ApplicationAndMemberServices getApplication(java.lang.String applicationIdString)
getApplication
- Parameters:
applicationIdString
- aString
object.- Returns:
- a
DefaultAdminApplicationService.ApplicationAndMemberServices
object.
-
findAllMonitoredServices
java.util.List<OnmsMonitoredService> findAllMonitoredServices()
findAllMonitoredServices
- Returns:
- a
List
object.
-
findAllMonitoringLocations
java.util.List<OnmsMonitoringLocation> findAllMonitoringLocations()
-
findApplicationAndAllMonitoredServices
DefaultAdminApplicationService.EditModel findApplicationAndAllMonitoredServices(java.lang.String applicationIdString)
findApplicationAndAllMonitoredServices
- Parameters:
applicationIdString
- aString
object.- Returns:
- a
DefaultAdminApplicationService.EditModel
object.
-
performEditServices
@Transactional(readOnly=false) void performEditServices(java.lang.String appId, java.lang.String editAction, java.lang.String[] serviceAdds, java.lang.String[] serviceDeletes)
-
performEditLocations
@Transactional(readOnly=false) void performEditLocations(java.lang.String appId, java.lang.String editAction, java.lang.String[] locationAdds, java.lang.String[] locationDeletes)
-
addNewApplication
@Transactional(readOnly=false) OnmsApplication addNewApplication(java.lang.String name)
addNewApplication
- Parameters:
name
- aString
object.- Returns:
- a
OnmsApplication
object.
-
findAllApplications
java.util.List<OnmsApplication> findAllApplications()
findAllApplications
- Returns:
- a
List
object.
-
removeApplication
@Transactional(readOnly=false) void removeApplication(java.lang.String applicationIdString)
removeApplication
- Parameters:
applicationIdString
- aString
object.
-
findByMonitoredService
java.util.List<OnmsApplication> findByMonitoredService(int id)
findByMonitoredService
- Parameters:
id
- a int.- Returns:
- a
List
object.
-
performServiceEdit
@Transactional(readOnly=false) void performServiceEdit(java.lang.String ifServiceIdString, java.lang.String editAction, java.lang.String[] toAdd, java.lang.String[] toDelete)
performServiceEdit
- Parameters:
ifServiceIdString
- aString
object.editAction
- aString
object.toAdd
- an array ofString
objects.toDelete
- an array ofString
objects.
-
findServiceApplications
DefaultAdminApplicationService.ServiceEditModel findServiceApplications(java.lang.String ifServiceIdString)
findServiceApplications
- Parameters:
ifServiceIdString
- aString
object.- Returns:
- a
DefaultAdminApplicationService.ServiceEditModel
object.
-
-