org.opennms.web.map
Class ResponseAssembler
java.lang.Object
org.opennms.web.map.ResponseAssembler
public class ResponseAssembler
- extends Object
|
Method Summary |
protected static String |
getActionOKMapResponse(String action)
|
protected static String |
getAddElementResponse(String action,
List<VElement> velems,
List<VLink> links)
|
protected static String |
getAddMapsResponse(String action,
List<Integer> mapsWithLoopInfo,
List<VElement> velems,
List<VLink> links)
|
protected static String |
getCloseMapResponse(String action)
|
protected static String |
getDeleteElementsResponse(String action,
List<VElement> velems)
|
protected static String |
getLoadNodesResponse(String action,
VElementInfo[] elemInfos)
|
protected static String |
getMapErrorResponse(String action)
|
protected static String |
getMapResponse(String action,
VMap map,
float widthFactor,
float heightFactor,
boolean sendElements)
|
protected static String |
getMapsResponse(String action,
List<VMapInfo> maps)
|
protected static String |
getRefreshResponse(String action,
VMap map)
|
protected static String |
getSaveMapResponse(String action,
VMap map,
String currPacket,
String totalPackets)
|
protected static String |
getStartupResponse(String action,
MapPropertiesFactory mpf,
Manager manager,
boolean isUserAdmin)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseAssembler
public ResponseAssembler()
getRefreshResponse
protected static String getRefreshResponse(String action,
VMap map)
getAddMapsResponse
protected static String getAddMapsResponse(String action,
List<Integer> mapsWithLoopInfo,
List<VElement> velems,
List<VLink> links)
getDeleteElementsResponse
protected static String getDeleteElementsResponse(String action,
List<VElement> velems)
getAddElementResponse
protected static String getAddElementResponse(String action,
List<VElement> velems,
List<VLink> links)
getLoadNodesResponse
protected static String getLoadNodesResponse(String action,
VElementInfo[] elemInfos)
getSaveMapResponse
protected static String getSaveMapResponse(String action,
VMap map,
String currPacket,
String totalPackets)
getMapResponse
protected static String getMapResponse(String action,
VMap map,
float widthFactor,
float heightFactor,
boolean sendElements)
getMapsResponse
protected static String getMapsResponse(String action,
List<VMapInfo> maps)
getCloseMapResponse
protected static String getCloseMapResponse(String action)
getStartupResponse
protected static String getStartupResponse(String action,
MapPropertiesFactory mpf,
Manager manager,
boolean isUserAdmin)
throws Exception
- Throws:
Exception
getActionOKMapResponse
protected static String getActionOKMapResponse(String action)
getMapErrorResponse
protected static String getMapErrorResponse(String action)
Copyright © 2009. All Rights Reserved.