|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.svclayer.support.DefaultResourceService
public class DefaultResourceService
DefaultResourceService class.
| Constructor Summary | |
|---|---|
DefaultResourceService()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet |
List<OnmsResource> |
findChildResources(OnmsResource resource,
String... resourceTypeMatches)
findChildResources |
List<OnmsResource> |
findDomainChildResources(String domain)
findDomainChildResources |
List<OnmsResource> |
findDomainResources()
findDomainResources |
List<OnmsResource> |
findNodeChildResources(int nodeId)
findNodeChildResources |
List<OnmsResource> |
findNodeResources()
findNodeResources |
PrefabGraph[] |
findPrefabGraphsForChildResources(OnmsResource resource,
String... resourceTypeMatches)
findPrefabGraphsForChildResources |
PrefabGraph[] |
findPrefabGraphsForResource(OnmsResource resource)
findPrefabGraphsForResource |
List<OnmsResource> |
findTopLevelResources()
findTopLevelResources |
GraphDao |
getGraphDao()
getGraphDao |
PrefabGraph |
getPrefabGraph(String name)
getPrefabGraph |
OnmsResource |
getResourceById(String id)
getResourceById |
ResourceDao |
getResourceDao()
getResourceDao |
List<OnmsResource> |
getResourceListById(String resourceId)
getResourceListById |
File |
getRrdDirectory()
getRrdDirectory |
void |
promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource |
void |
promoteGraphAttributesForResource(String resourceId)
promoteGraphAttributesForResource |
void |
setEventProxy(EventProxy eventProxy)
setEventProxy |
void |
setGraphDao(GraphDao graphDao)
setGraphDao |
void |
setResourceDao(ResourceDao resourceDao)
setResourceDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultResourceService()
| Method Detail |
|---|
public ResourceDao getResourceDao()
getResourceDao
ResourceDao object.public void setResourceDao(ResourceDao resourceDao)
setResourceDao
resourceDao - a ResourceDao object.public GraphDao getGraphDao()
getGraphDao
GraphDao object.public void setGraphDao(GraphDao graphDao)
setGraphDao
graphDao - a GraphDao object.public void setEventProxy(EventProxy eventProxy)
setEventProxy
eventProxy - a EventProxy object.
public void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.public File getRrdDirectory()
getRrdDirectory
getRrdDirectory in interface ResourceServiceFile object.public List<OnmsResource> findDomainResources()
findDomainResources
findDomainResources in interface ResourceServiceList object.public List<OnmsResource> findNodeResources()
findNodeResources
findNodeResources in interface ResourceServiceList object.public List<OnmsResource> findTopLevelResources()
findTopLevelResources
findTopLevelResources in interface ResourceServiceList object.public List<OnmsResource> findNodeChildResources(int nodeId)
findNodeChildResources
findNodeChildResources in interface ResourceServicenodeId - a int.
List object.public List<OnmsResource> findDomainChildResources(String domain)
findDomainChildResources
findDomainChildResources in interface ResourceServicedomain - a String object.
List object.
public List<OnmsResource> findChildResources(OnmsResource resource,
String... resourceTypeMatches)
findChildResources
findChildResources in interface ResourceServiceresource - a OnmsResource object.resourceTypeMatches - a String object.
List object.public OnmsResource getResourceById(String id)
getResourceById
getResourceById in interface ResourceServiceid - a String object.
OnmsResource object.public List<OnmsResource> getResourceListById(String resourceId)
getResourceListById
getResourceListById in interface ResourceServiceresourceId - a String object.
List object.public PrefabGraph[] findPrefabGraphsForResource(OnmsResource resource)
findPrefabGraphsForResource
findPrefabGraphsForResource in interface ResourceServiceresource - a OnmsResource object.
PrefabGraph objects.public void promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource
promoteGraphAttributesForResource in interface ResourceServiceresource - a OnmsResource object.public void promoteGraphAttributesForResource(String resourceId)
promoteGraphAttributesForResource
promoteGraphAttributesForResource in interface ResourceServiceresourceId - a String object.
public PrefabGraph[] findPrefabGraphsForChildResources(OnmsResource resource,
String... resourceTypeMatches)
findPrefabGraphsForChildResources
findPrefabGraphsForChildResources in interface ResourceServiceresource - a OnmsResource object.resourceTypeMatches - a String object.
PrefabGraph objects.public PrefabGraph getPrefabGraph(String name)
getPrefabGraph
getPrefabGraph in interface ResourceServicename - a String object.
PrefabGraph object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||