|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.element.ElementUtil
public class ElementUtil
| Field Summary | |
|---|---|
static int |
DEFAULT_TRUNCATE_THRESHOLD
|
| Method Summary | |
|---|---|
static Interface |
getInterfaceByParams(HttpServletRequest request)
|
static Interface |
getInterfaceByParams(HttpServletRequest request,
String ipInterfaceIdParam,
String nodeIdParam,
String ipAddrParam,
String ifIndexParam)
|
protected static Map<Character,String> |
getInterfaceStatusMap()
Returns the interface status map, initializing a new one if necessary. |
static String |
getInterfaceStatusString(char c)
Return the human-readable name for a interface status character, may be null. |
static String |
getInterfaceStatusString(Interface intf)
Return the human-readable name for a interface's status, may be null. |
static Node |
getNodeByParams(HttpServletRequest request)
|
static Node |
getNodeByParams(HttpServletRequest request,
String nodeIdParam)
|
protected static Map<Character,String> |
getNodeStatusMap()
Returns the interface status map, initializing a new one if necessary. |
static String |
getNodeStatusString(char c)
Return the human-readable name for a interface status character, may be null. |
static String |
getNodeStatusString(Node node)
Return the human-readable name for a node's status, may be null. |
static Service |
getServiceByParams(HttpServletRequest request)
|
static Service |
getServiceByParams(HttpServletRequest request,
String ifServiceIdParam,
String nodeIdParam,
String ipAddrParam,
String serviceIdParam)
|
static Service[] |
getServicesOnNodeByParams(HttpServletRequest request,
int serviceId)
|
protected static Map<Character,String> |
getServiceStatusMap()
Returns the service status map, initializing a new one if necessary. |
static String |
getServiceStatusString(char c)
Return the human-readable name for a service status character, may be null. |
static String |
getServiceStatusString(Service svc)
Return the human-readable name for a service's status, may be null. |
static boolean |
hasLocallyMonitoredServices(Service[] svcs)
|
static boolean |
isRouteInfoNodeByParams(HttpServletRequest request)
|
static String |
truncateLabel(String label)
|
static String |
truncateLabel(String label,
int truncateThreshold)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_TRUNCATE_THRESHOLD
| Method Detail |
|---|
protected static Map<Character,String> getNodeStatusMap()
public static String getNodeStatusString(Node node)
public static String getNodeStatusString(char c)
protected static Map<Character,String> getInterfaceStatusMap()
public static String getInterfaceStatusString(Interface intf)
public static String getInterfaceStatusString(char c)
protected static Map<Character,String> getServiceStatusMap()
public static String getServiceStatusString(Service svc)
public static String getServiceStatusString(char c)
public static boolean hasLocallyMonitoredServices(Service[] svcs)
public static String truncateLabel(String label)
public static String truncateLabel(String label,
int truncateThreshold)
public static Node getNodeByParams(HttpServletRequest request)
throws ServletException,
SQLException
ServletException
SQLException
public static Node getNodeByParams(HttpServletRequest request,
String nodeIdParam)
throws ServletException,
SQLException
ServletException
SQLException
public static Interface getInterfaceByParams(HttpServletRequest request)
throws ServletException,
SQLException
ServletException
SQLException
public static Interface getInterfaceByParams(HttpServletRequest request,
String ipInterfaceIdParam,
String nodeIdParam,
String ipAddrParam,
String ifIndexParam)
throws ServletException,
SQLException
ServletException
SQLException
public static Service getServiceByParams(HttpServletRequest request)
throws ServletException,
SQLException
ServletException
SQLException
public static Service getServiceByParams(HttpServletRequest request,
String ifServiceIdParam,
String nodeIdParam,
String ipAddrParam,
String serviceIdParam)
throws ServletException,
SQLException
ServletException
SQLException
public static Service[] getServicesOnNodeByParams(HttpServletRequest request,
int serviceId)
throws SQLException
SQLException
public static boolean isRouteInfoNodeByParams(HttpServletRequest request)
throws SQLException
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||