org.opennms.web.map
Class ResponseAssembler

java.lang.Object
  extended by org.opennms.web.map.ResponseAssembler

public class ResponseAssembler
extends Object


Constructor Summary
ResponseAssembler()
           
 
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 getLoadInfosResponse(String action, Map<String,String> infos)
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseAssembler

public ResponseAssembler()
Method Detail

getRefreshResponse

protected static String getRefreshResponse(String action,
                                           VMap map)

getLoadInfosResponse

protected static String getLoadInfosResponse(String action,
                                             Map<String,String> infos)

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)

getActionOKMapResponse

protected static String getActionOKMapResponse(String action)

getMapErrorResponse

protected static String getMapErrorResponse(String action)


Copyright ? 2007. All Rights Reserved.