org.opennms.web.svclayer
Interface ResourceService

All Known Implementing Classes:
DefaultResourceService

@Transactional(readOnly=true)
public interface ResourceService

Author:
Mathew Brozowski, David Hustace, DJ Gregor

Method Summary
 List<OnmsResource> findChildResources(OnmsResource resource, String... resourceTypeMatches)
           
 List<OnmsResource> findDomainChildResources(String domain)
           
 List<OnmsResource> findDomainResources()
           
 List<OnmsResource> findNodeChildResources(int nodeId)
           
 List<OnmsResource> findNodeResources()
           
 PrefabGraph[] findPrefabGraphsForChildResources(OnmsResource resource, String... resourceTypeMatches)
           
 PrefabGraph[] findPrefabGraphsForResource(OnmsResource resource)
           
 List<OnmsResource> findTopLevelResources()
           
 PrefabGraph getPrefabGraph(String name)
           
 OnmsResource getResourceById(String id)
           
 List<OnmsResource> getResourceListById(String resourceId)
           
 File getRrdDirectory()
           
 OnmsResource loadResourceById(String id)
           
 void promoteGraphAttributesForResource(OnmsResource resource)
           
 void promoteGraphAttributesForResource(String resourceId)
           
 

Method Detail

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.