org.opennms.netmgt.dao.support
Class DistributedStatusResourceType
java.lang.Object
org.opennms.netmgt.dao.support.DistributedStatusResourceType
- All Implemented Interfaces:
- org.opennms.netmgt.model.OnmsResourceType
public class DistributedStatusResourceType
- extends java.lang.Object
- implements org.opennms.netmgt.model.OnmsResourceType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISTRIBUTED_DIRECTORY
public static final java.lang.String DISTRIBUTED_DIRECTORY
- See Also:
- Constant Field Values
DistributedStatusResourceType
public DistributedStatusResourceType(ResourceDao resourceDao,
LocationMonitorDao locationMonitorDao)
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel in interface org.opennms.netmgt.model.OnmsResourceType
getName
public java.lang.String getName()
- Specified by:
getName in interface org.opennms.netmgt.model.OnmsResourceType
getResourcesForDomain
public java.util.List<org.opennms.netmgt.model.OnmsResource> getResourcesForDomain(java.lang.String domain)
- Specified by:
getResourcesForDomain in interface org.opennms.netmgt.model.OnmsResourceType
getResourcesForNode
public java.util.List<org.opennms.netmgt.model.OnmsResource> getResourcesForNode(int nodeId)
- Specified by:
getResourcesForNode in interface org.opennms.netmgt.model.OnmsResourceType
getResourcesForLocationMonitor
public java.util.List<org.opennms.netmgt.model.OnmsResource> getResourcesForLocationMonitor(int locationMonitorId)
isResourceTypeOnDomain
public boolean isResourceTypeOnDomain(java.lang.String domain)
- Specified by:
isResourceTypeOnDomain in interface org.opennms.netmgt.model.OnmsResourceType
isResourceTypeOnNode
public boolean isResourceTypeOnNode(int nodeId)
- Specified by:
isResourceTypeOnNode in interface org.opennms.netmgt.model.OnmsResourceType
getInterfaceDirectory
public java.io.File getInterfaceDirectory(int id,
java.lang.String ipAddr)
getRelativeInterfacePath
public java.lang.String getRelativeInterfacePath(int id,
java.lang.String ipAddr)
getLinkForResource
public java.lang.String getLinkForResource(org.opennms.netmgt.model.OnmsResource resource)
- Specified by:
getLinkForResource in interface org.opennms.netmgt.model.OnmsResourceType
Copyright © 2007. All Rights Reserved.