Uses of Class
org.opennms.netmgt.model.OnmsResource
-
-
Uses of OnmsResource in org.opennms.features.vaadin.dashboard.dashlets
Methods in org.opennms.features.vaadin.dashboard.dashlets that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.Map<OnmsResourceType,java.util.List<OnmsResource>>
RrdGraphHelper. getResourceTypeMapForNodeId(int nodeId)
Returns a map of resources for a given resourceType.java.util.Map<OnmsResourceType,java.util.List<OnmsResource>>
RrdGraphHelper. getResourceTypeMapForNodeId(java.lang.String nodeId)
Returns a map of resources for a given resourceType. -
Uses of OnmsResource in org.opennms.features.vaadin.surveillanceviews.service
Methods in org.opennms.features.vaadin.surveillanceviews.service that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.Map<OnmsResourceType,java.util.List<OnmsResource>>
DefaultSurveillanceViewService. getResourceTypeMapForNodeId(int nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.java.util.Map<OnmsResourceType,java.util.List<OnmsResource>>
DefaultSurveillanceViewService. getResourceTypeMapForNodeId(java.lang.String nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.java.util.Map<OnmsResourceType,java.util.List<OnmsResource>>
SurveillanceViewService. getResourceTypeMapForNodeId(int nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id.java.util.Map<OnmsResourceType,java.util.List<OnmsResource>>
SurveillanceViewService. getResourceTypeMapForNodeId(java.lang.String nodeId)
Returns a map of OpenNMS resource type/resource mappings for a given node id. -
Uses of OnmsResource in org.opennms.netmgt.dao.api
Methods in org.opennms.netmgt.dao.api that return OnmsResource Modifier and Type Method Description OnmsResource
ResourceDao. getResourceById(ResourceId id)
getResourceByIdOnmsResource
ResourceDao. getResourceForNode(OnmsNode node)
getResourceForNodeMethods in org.opennms.netmgt.dao.api that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
ResourceDao. findTopLevelResources()
findTopLevelResourcesMethods in org.opennms.netmgt.dao.api with parameters of type OnmsResource Modifier and Type Method Description PrefabGraph[]
GraphDao. getPrefabGraphsForResource(OnmsResource resource)
getPrefabGraphsForResource -
Uses of OnmsResource in org.opennms.netmgt.dao.mock
Methods in org.opennms.netmgt.dao.mock that return OnmsResource Modifier and Type Method Description OnmsResource
MockResourceDao. getResourceById(ResourceId id)
OnmsResource
MockResourceDao. getResourceForNode(OnmsNode node)
Methods in org.opennms.netmgt.dao.mock that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
MockResourceDao. findTopLevelResources()
-
Uses of OnmsResource in org.opennms.netmgt.dao.support
Methods in org.opennms.netmgt.dao.support that return OnmsResource Modifier and Type Method Description protected OnmsResource
NodeResourceType. createResourceForNode(OnmsNode node)
OnmsResource
AbstractTopLevelResourceType. getChildByName(OnmsResource parent, java.lang.String name)
OnmsResource
GenericIndexResourceType. getChildByName(OnmsResource parent, java.lang.String index)
Retrieves a child resource with the given name from the parent.OnmsResource
InterfaceSnmpByIfIndexResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
InterfaceSnmpResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
NodeSnmpResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
PerspectiveResponseTimeResourceType. getChildByName(OnmsResource parent, java.lang.String ipWithPerspective)
OnmsResource
ResponseTimeResourceType. getChildByName(OnmsResource parent, java.lang.String ipAddress)
protected OnmsResource
DefaultResourceDao. getChildResource(OnmsResource parentResource, java.lang.String resourceType, java.lang.String resource)
getChildResourceOnmsResource
DefaultResourceDao. getResourceById(ResourceId id)
Fetch a specific resource by string ID.abstract OnmsResource
AbstractTopLevelResourceType. getResourceByName(java.lang.String name)
OnmsResource
DomainResourceType. getResourceByName(java.lang.String domain)
OnmsResource
NodeResourceType. getResourceByName(java.lang.String nodeLookupCriteria)
OnmsResource
GenericIndexResourceType. getResourceByPath(ResourcePath path, OnmsResource parent)
OnmsResource
DefaultResourceDao. getResourceForNode(OnmsNode node)
Creates a resource for the given node using the most appropriate type.Methods in org.opennms.netmgt.dao.support that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
DefaultResourceDao. findTopLevelResources()
findTopLevelResourcesjava.util.List<OnmsResource>
AbstractTopLevelResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
GenericIndexResourceType. getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given parent.java.util.List<OnmsResource>
InterfaceSnmpByIfIndexResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
InterfaceSnmpResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
NodeSnmpResourceType. getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given parent.java.util.List<OnmsResource>
PerspectiveResponseTimeResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
ResponseTimeResourceType. getResourcesForParent(OnmsResource parent)
abstract java.util.List<OnmsResource>
AbstractTopLevelResourceType. getTopLevelResources()
java.util.List<OnmsResource>
DomainResourceType. getTopLevelResources()
java.util.List<OnmsResource>
NodeResourceType. getTopLevelResources()
java.util.List<OnmsResource>
LazyChildResourceLoader. load()
Methods in org.opennms.netmgt.dao.support with parameters of type OnmsResource Modifier and Type Method Description boolean
DefaultResourceDao. deleteResource(OnmsResource resource, boolean recursive)
OnmsResource
AbstractTopLevelResourceType. getChildByName(OnmsResource parent, java.lang.String name)
OnmsResource
GenericIndexResourceType. getChildByName(OnmsResource parent, java.lang.String index)
Retrieves a child resource with the given name from the parent.OnmsResource
InterfaceSnmpByIfIndexResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
InterfaceSnmpResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
NodeSnmpResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
PerspectiveResponseTimeResourceType. getChildByName(OnmsResource parent, java.lang.String ipWithPerspective)
OnmsResource
ResponseTimeResourceType. getChildByName(OnmsResource parent, java.lang.String ipAddress)
protected OnmsResource
DefaultResourceDao. getChildResource(OnmsResource parentResource, java.lang.String resourceType, java.lang.String resource)
getChildResourcejava.lang.String
DomainResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcejava.lang.String
GenericIndexResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcejava.lang.String
InterfaceSnmpByIfIndexResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcejava.lang.String
InterfaceSnmpResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcejava.lang.String
NodeResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcejava.lang.String
NodeSnmpResourceType. getLinkForResource(OnmsResource resource)
java.lang.String
PerspectiveResponseTimeResourceType. getLinkForResource(OnmsResource resource)
java.lang.String
ResponseTimeResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcePrefabGraph[]
PropertiesGraphDao. getPrefabGraphsForResource(OnmsResource resource)
getPrefabGraphsForResourceprotected java.util.Set<java.lang.String>
InterfaceSnmpResourceType. getQueryableInterfaces(OnmsResource parent)
OnmsResource
GenericIndexResourceType. getResourceByPath(ResourcePath path, OnmsResource parent)
java.util.List<OnmsResource>
AbstractTopLevelResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
GenericIndexResourceType. getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given parent.java.util.List<OnmsResource>
InterfaceSnmpByIfIndexResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
InterfaceSnmpResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
NodeSnmpResourceType. getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given parent.java.util.List<OnmsResource>
PerspectiveResponseTimeResourceType. getResourcesForParent(OnmsResource parent)
java.util.List<OnmsResource>
ResponseTimeResourceType. getResourcesForParent(OnmsResource parent)
protected boolean
DefaultResourceDao. hasAnyChildResources(OnmsResource resource)
Used to determine whether or not the given (parent) resource has any child resources.static boolean
DomainResourceType. isDomain(OnmsResource resource)
static boolean
NodeResourceType. isNode(OnmsResource resource)
Convenience method.boolean
AbstractTopLevelResourceType. isResourceTypeOnParent(OnmsResource parent)
boolean
GenericIndexResourceType. isResourceTypeOnParent(OnmsResource parent)
Returns true if one on more instances of the resource type are present on the parent resource.boolean
InterfaceSnmpByIfIndexResourceType. isResourceTypeOnParent(OnmsResource parent)
boolean
InterfaceSnmpResourceType. isResourceTypeOnParent(OnmsResource parent)
boolean
NodeSnmpResourceType. isResourceTypeOnParent(OnmsResource parent)
Returns true if one on more instances of the resource type are present on the parent resource.boolean
PerspectiveResponseTimeResourceType. isResourceTypeOnParent(OnmsResource parent)
boolean
ResponseTimeResourceType. isResourceTypeOnParent(OnmsResource parent)
void
LazyChildResourceLoader. setParent(OnmsResource parent)
void
AttributeMatchingResourceVisitor. visit(OnmsResource resource)
visitvoid
ResourceAttributeFilteringResourceVisitor. visit(OnmsResource resource)
visitvoid
ResourceTypeFilteringResourceVisitor. visit(OnmsResource resource)
visitMethod parameters in org.opennms.netmgt.dao.support with type arguments of type OnmsResource Modifier and Type Method Description void
ResourceTreeWalker. walk(java.util.Collection<OnmsResource> resources)
walk -
Uses of OnmsResource in org.opennms.netmgt.mock
Methods in org.opennms.netmgt.mock that return OnmsResource Modifier and Type Method Description OnmsResource
MockResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Methods in org.opennms.netmgt.mock that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
MockResourceType. getResourcesForParent(OnmsResource parent)
Methods in org.opennms.netmgt.mock with parameters of type OnmsResource Modifier and Type Method Description OnmsResource
MockResourceType. getChildByName(OnmsResource parent, java.lang.String name)
java.lang.String
MockResourceType. getLinkForResource(OnmsResource resource)
java.util.List<OnmsResource>
MockResourceType. getResourcesForParent(OnmsResource parent)
boolean
MockResourceType. isResourceTypeOnParent(OnmsResource parent)
-
Uses of OnmsResource in org.opennms.netmgt.model
Methods in org.opennms.netmgt.model that return OnmsResource Modifier and Type Method Description OnmsResource
OnmsResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.OnmsResource
OnmsResource. getParent()
getParentOnmsResource
ExternalValueAttribute. getResource()
getResourceOnmsResource
OnmsAttribute. getResource()
getResourceOnmsResource
RrdGraphAttribute. getResource()
Retrieve the resource for this attribute.OnmsResource
StringPropertyAttribute. getResource()
getResourceMethods in org.opennms.netmgt.model that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
OnmsResource. getChildResources()
getChildResourcesjava.util.List<OnmsResource>
OnmsResourceType. getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given parent.static java.util.List<OnmsResource>
OnmsResource. sortIntoResourceList(java.util.List<OnmsResource> resources)
Sorts the List of Resources and returns a new List of the generic type Resource.Methods in org.opennms.netmgt.model with parameters of type OnmsResource Modifier and Type Method Description int
OnmsResource. compareTo(OnmsResource o)
compareToOnmsResource
OnmsResourceType. getChildByName(OnmsResource parent, java.lang.String name)
Retrieves a child resource with the given name from the parent.java.lang.String
OnmsResourceType. getLinkForResource(OnmsResource resource)
getLinkForResourcestatic OnmsNode
ResourceTypeUtils. getNodeFromResource(OnmsResource resource)
Convenience method for retrieving the OnmsNode entity from an abstract resource.static OnmsNode
ResourceTypeUtils. getNodeFromResourceRoot(OnmsResource resource)
Convenience method for retrieving the OnmsNode entity from an abstract resource's ancestor.java.util.List<OnmsResource>
OnmsResourceType. getResourcesForParent(OnmsResource parent)
Returns the set of resources that are available on the given parent.boolean
OnmsResourceType. isResourceTypeOnParent(OnmsResource parent)
Returns true if one on more instances of the resource type are present on the parent resource.void
OnmsResource. setParent(OnmsResource parent)
setParentvoid
ExternalValueAttribute. setResource(OnmsResource resource)
setResourcevoid
OnmsAttribute. setResource(OnmsResource resource)
setResourcevoid
RrdGraphAttribute. setResource(OnmsResource resource)
setResourcevoid
StringPropertyAttribute. setResource(OnmsResource resource)
setResourcevoid
ResourceVisitor. visit(OnmsResource resource)
visitMethod parameters in org.opennms.netmgt.model with type arguments of type OnmsResource Modifier and Type Method Description static java.util.List<OnmsResource>
OnmsResource. sortIntoResourceList(java.util.List<OnmsResource> resources)
Sorts the List of Resources and returns a new List of the generic type Resource.Constructor parameters in org.opennms.netmgt.model with type arguments of type OnmsResource Constructor Description OnmsResource(java.lang.String name, java.lang.String label, OnmsResourceType resourceType, java.util.Set<OnmsAttribute> attributes, java.util.List<OnmsResource> resources, ResourcePath path)
Constructor for OnmsResource. -
Uses of OnmsResource in org.opennms.netmgt.model.resource
Methods in org.opennms.netmgt.model.resource that return OnmsResource Modifier and Type Method Description OnmsResource
ResourceDTO. getResource()
Methods in org.opennms.netmgt.model.resource with parameters of type OnmsResource Modifier and Type Method Description static ResourceDTO
ResourceDTO. fromResource(OnmsResource resource, int depth)
void
ResourceDTO. setResource(OnmsResource resource)
-
Uses of OnmsResource in org.opennms.nrtg.web.internal
Methods in org.opennms.nrtg.web.internal with parameters of type OnmsResource Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
NrtController. getRequiredExternalPropertyAttributes(OnmsResource reportResource, PrefabGraph prefabGraph)
java.util.Set<RrdGraphAttribute>
NrtController. getRequiredRrdGraphAttributes(OnmsResource reportResource, PrefabGraph prefabGraph)
java.util.Map<java.lang.String,java.lang.String>
NrtController. getRequiredStringPropertyAttributes(OnmsResource reportResource, PrefabGraph prefabGraph)
-
Uses of OnmsResource in org.opennms.web.graph
Methods in org.opennms.web.graph that return OnmsResource Modifier and Type Method Description OnmsResource
KscResultSet. getResource()
getResourceConstructors in org.opennms.web.graph with parameters of type OnmsResource Constructor Description KscResultSet(java.lang.String title, java.util.Date start, java.util.Date end, OnmsResource resource, PrefabGraph prefabGraph)
Constructor for KscResultSet. -
Uses of OnmsResource in org.opennms.web.svclayer.api
Methods in org.opennms.web.svclayer.api that return OnmsResource Modifier and Type Method Description OnmsResource
ResourceService. getResourceById(ResourceId id)
getResourceByIdOnmsResource
KscReportService. getResourceFromGraph(Graph graph)
getResourceFromGraphMethods in org.opennms.web.svclayer.api that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
ResourceService. findChildResources(OnmsResource resource, java.lang.String... resourceTypeMatches)
findChildResourcesjava.util.List<OnmsResource>
ResourceService. findDomainChildResources(java.lang.String domain)
findDomainChildResourcesjava.util.List<OnmsResource>
ResourceService. findNodeChildResources(int nodeId)
findNodeChildResourcesjava.util.List<OnmsResource>
ResourceService. findNodeChildResources(OnmsNode node)
findNodeChildResourcesjava.util.List<OnmsResource>
ResourceService. findNodeSourceChildResources(java.lang.String nodeSource)
findNodeSourceChildResourcesjava.util.List<OnmsResource>
ResourceService. findTopLevelResources()
findTopLevelResourcesMethods in org.opennms.web.svclayer.api with parameters of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
ResourceService. findChildResources(OnmsResource resource, java.lang.String... resourceTypeMatches)
findChildResourcesPrefabGraph[]
ResourceService. findPrefabGraphsForChildResources(OnmsResource resource, java.lang.String... resourceTypeMatches)
findPrefabGraphsForChildResourcesPrefabGraph[]
ResourceService. findPrefabGraphsForResource(OnmsResource resource)
findPrefabGraphsForResourcevoid
ResourceService. promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource -
Uses of OnmsResource in org.opennms.web.svclayer.model
Subclasses of OnmsResource in org.opennms.web.svclayer.model Modifier and Type Class Description static class
StatisticsReportModel.PrettyOnmsResource
This class extends OnmsResource and overrides the toString() method, providing a more human-readable description of the resource.Methods in org.opennms.web.svclayer.model that return OnmsResource Modifier and Type Method Description OnmsResource
StatisticsReportModel.Datum. getPrettyResource()
OnmsResource
Graph. getResource()
getResourceOnmsResource
GraphResults.GraphResultSet. getResource()
OnmsResource
StatisticsReportModel.Datum. getResource()
Methods in org.opennms.web.svclayer.model that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
StatisticsReportModel.Datum. getPrettyResourceParentsReversed()
java.util.List<OnmsResource>
StatisticsReportModel.Datum. getResourceParentsReversed()
Methods in org.opennms.web.svclayer.model with parameters of type OnmsResource Modifier and Type Method Description void
GraphResults.GraphResultSet. setResource(OnmsResource resource)
void
StatisticsReportModel.Datum. setResource(OnmsResource resource)
Constructors in org.opennms.web.svclayer.model with parameters of type OnmsResource Constructor Description Graph(PrefabGraph graph, OnmsResource resource, java.util.Date start, java.util.Date end)
Constructor for Graph.PrettyOnmsResource(OnmsResource rs)
Constructor for PrettyOnmsResource. -
Uses of OnmsResource in org.opennms.web.svclayer.support
Methods in org.opennms.web.svclayer.support that return OnmsResource Modifier and Type Method Description OnmsResource
DefaultResourceService. getResourceById(ResourceId id)
getResourceByIdOnmsResource
DefaultKscReportService. getResourceFromGraph(Graph graph)
getResourceFromGraphMethods in org.opennms.web.svclayer.support that return types with arguments of type OnmsResource Modifier and Type Method Description java.util.List<OnmsResource>
DefaultResourceService. findChildResources(OnmsResource resource, java.lang.String... resourceTypeMatches)
findChildResourcesjava.util.List<OnmsResource>
DefaultResourceService. findDomainChildResources(java.lang.String domain)
findDomainChildResourcesjava.util.List<OnmsResource>
DefaultResourceService. findNodeChildResources(int nodeId)
findNodeChildResourcesjava.util.List<OnmsResource>
DefaultResourceService. findNodeChildResources(OnmsNode node)
findNodeChildResourcesjava.util.List<OnmsResource>
DefaultResourceService. findNodeSourceChildResources(java.lang.String nodeSource)
findNodeSourceChildResourcesjava.util.List<OnmsResource>
DefaultResourceService. findTopLevelResources()
findTopLevelResourcesMethods in org.opennms.web.svclayer.support with parameters of type OnmsResource Modifier and Type Method Description protected java.lang.String
DefaultRrdGraphService. createAdHocCommand(AdhocGraphType adhocType, OnmsResource resource, long start, long end, java.lang.String graphtitle, java.lang.String[] dsNames, java.lang.String[] dsAggregFxns, java.lang.String[] colors, java.lang.String[] dsTitles, java.lang.String[] dsStyles)
createAdHocCommandjava.util.List<OnmsResource>
DefaultResourceService. findChildResources(OnmsResource resource, java.lang.String... resourceTypeMatches)
findChildResourcesPrefabGraph[]
DefaultResourceService. findPrefabGraphsForChildResources(OnmsResource resource, java.lang.String... resourceTypeMatches)
findPrefabGraphsForChildResourcesPrefabGraph[]
DefaultResourceService. findPrefabGraphsForResource(OnmsResource resource)
findPrefabGraphsForResourcevoid
DefaultResourceService. promoteGraphAttributesForResource(OnmsResource resource)
promoteGraphAttributesForResource
-