|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.dao.support.DistributedStatusResourceType
public class DistributedStatusResourceType
DistributedStatusResourceType class.
| Nested Class Summary | |
|---|---|
class |
DistributedStatusResourceType.AttributeLoader
|
| Field Summary | |
|---|---|
static String |
DISTRIBUTED_DIRECTORY
Constant DISTRIBUTED_DIRECTORY="distributed" |
| Constructor Summary | |
|---|---|
DistributedStatusResourceType(ResourceDao resourceDao,
LocationMonitorDao locationMonitorDao)
Constructor for DistributedStatusResourceType. |
|
| Method Summary | |
|---|---|
File |
getInterfaceDirectory(int id,
String ipAddr)
getInterfaceDirectory |
String |
getLabel()
getLabel |
String |
getLinkForResource(OnmsResource resource)
getLinkForResource |
String |
getName()
getName |
String |
getRelativeInterfacePath(int id,
String ipAddr)
getRelativeInterfacePath |
List<OnmsResource> |
getResourcesForDomain(String domain)
Gets a list of resources on a specific domain. |
List<OnmsResource> |
getResourcesForLocationMonitor(int locationMonitorId)
getResourcesForLocationMonitor |
List<OnmsResource> |
getResourcesForNode(int nodeId)
Gets a list of resources on a specific node. |
boolean |
isResourceTypeOnDomain(String domain)
Checks whether this resource type is on a specific domain. |
boolean |
isResourceTypeOnNode(int nodeId)
Checks whether this resource type is on a specific node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DISTRIBUTED_DIRECTORY
DISTRIBUTED_DIRECTORY="distributed"
| Constructor Detail |
|---|
public DistributedStatusResourceType(ResourceDao resourceDao,
LocationMonitorDao locationMonitorDao)
Constructor for DistributedStatusResourceType.
resourceDao - a ResourceDao object.locationMonitorDao - a LocationMonitorDao object.| Method Detail |
|---|
public String getLabel()
getLabel
getLabel in interface OnmsResourceTypeString object.public String getName()
getName
getName in interface OnmsResourceTypeString object.public List<OnmsResource> getResourcesForDomain(String domain)
getResourcesForDomain in interface OnmsResourceTypedomain - domain for which to get resources
public List<OnmsResource> getResourcesForNode(int nodeId)
getResourcesForNode in interface OnmsResourceTypenodeId - node ID for which to get resources
public List<OnmsResource> getResourcesForLocationMonitor(int locationMonitorId)
getResourcesForLocationMonitor
locationMonitorId - a int.
List object.public boolean isResourceTypeOnDomain(String domain)
isResourceTypeOnDomain in interface OnmsResourceTypedomain - domain to check
public boolean isResourceTypeOnNode(int nodeId)
isResourceTypeOnNode in interface OnmsResourceTypenodeId - node ID to check
public File getInterfaceDirectory(int id,
String ipAddr)
getInterfaceDirectory
id - a int.ipAddr - a String object.
File object.
public String getRelativeInterfacePath(int id,
String ipAddr)
getRelativeInterfacePath
id - a int.ipAddr - a String object.
String object.public String getLinkForResource(OnmsResource resource)
getLinkForResource
getLinkForResource in interface OnmsResourceTyperesource - a OnmsResource object.
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||