org.opennms.web.svclayer
Interface ResourceService
- All Known Implementing Classes:
- DefaultResourceService
@Transactional(readOnly=true)
public interface ResourceService
- Author:
- Mathew Brozowski, David Hustace, DJ Gregor
getRrdDirectory
File getRrdDirectory()
findTopLevelResources
List<OnmsResource> findTopLevelResources()
findNodeResources
List<OnmsResource> findNodeResources()
findDomainResources
List<OnmsResource> findDomainResources()
findNodeChildResources
List<OnmsResource> findNodeChildResources(int nodeId)
findDomainChildResources
List<OnmsResource> findDomainChildResources(String domain)
findChildResources
List<OnmsResource> findChildResources(OnmsResource resource,
String... resourceTypeMatches)
getResourceById
OnmsResource getResourceById(String id)
loadResourceById
OnmsResource loadResourceById(String id)
findPrefabGraphsForResource
PrefabGraph[] findPrefabGraphsForResource(OnmsResource resource)
getPrefabGraph
PrefabGraph getPrefabGraph(String name)
findPrefabGraphsForChildResources
PrefabGraph[] findPrefabGraphsForChildResources(OnmsResource resource,
String... resourceTypeMatches)
promoteGraphAttributesForResource
void promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource
void promoteGraphAttributesForResource(String resourceId)
getResourceListById
List<OnmsResource> getResourceListById(String resourceId)
Copyright © 2009. All Rights Reserved.