org.opennms.netmgt.dao.support
Class DistributedStatusResourceType

java.lang.Object
  extended by org.opennms.netmgt.dao.support.DistributedStatusResourceType
All Implemented Interfaces:
org.opennms.netmgt.model.OnmsResourceType

public class DistributedStatusResourceType
extends Object
implements org.opennms.netmgt.model.OnmsResourceType


Nested Class Summary
 class DistributedStatusResourceType.AttributeLoader
           
 
Field Summary
static String DISTRIBUTED_DIRECTORY
           
 
Constructor Summary
DistributedStatusResourceType(ResourceDao resourceDao, LocationMonitorDao locationMonitorDao)
           
 
Method Summary
 File getInterfaceDirectory(int id, String ipAddr)
           
 String getLabel()
           
 String getLinkForResource(org.opennms.netmgt.model.OnmsResource resource)
           
 String getName()
           
 String getRelativeInterfacePath(int id, String ipAddr)
           
 List<org.opennms.netmgt.model.OnmsResource> getResourcesForDomain(String domain)
           
 List<org.opennms.netmgt.model.OnmsResource> getResourcesForLocationMonitor(int locationMonitorId)
           
 List<org.opennms.netmgt.model.OnmsResource> getResourcesForNode(int nodeId)
           
 boolean isResourceTypeOnDomain(String domain)
           
 boolean isResourceTypeOnNode(int nodeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISTRIBUTED_DIRECTORY

public static final String DISTRIBUTED_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

DistributedStatusResourceType

public DistributedStatusResourceType(ResourceDao resourceDao,
                                     LocationMonitorDao locationMonitorDao)
Method Detail

getLabel

public String getLabel()
Specified by:
getLabel in interface org.opennms.netmgt.model.OnmsResourceType

getName

public String getName()
Specified by:
getName in interface org.opennms.netmgt.model.OnmsResourceType

getResourcesForDomain

public List<org.opennms.netmgt.model.OnmsResource> getResourcesForDomain(String domain)
Specified by:
getResourcesForDomain in interface org.opennms.netmgt.model.OnmsResourceType

getResourcesForNode

public List<org.opennms.netmgt.model.OnmsResource> getResourcesForNode(int nodeId)
Specified by:
getResourcesForNode in interface org.opennms.netmgt.model.OnmsResourceType

getResourcesForLocationMonitor

public List<org.opennms.netmgt.model.OnmsResource> getResourcesForLocationMonitor(int locationMonitorId)

isResourceTypeOnDomain

public boolean isResourceTypeOnDomain(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 File getInterfaceDirectory(int id,
                                  String ipAddr)

getRelativeInterfacePath

public String getRelativeInterfacePath(int id,
                                       String ipAddr)

getLinkForResource

public String getLinkForResource(org.opennms.netmgt.model.OnmsResource resource)
Specified by:
getLinkForResource in interface org.opennms.netmgt.model.OnmsResourceType


Copyright ? 2008. All Rights Reserved.