public abstract class ResponseAssembler extends Object
Constructor and Description |
---|
ResponseAssembler() |
Modifier and Type | Method and Description |
---|---|
protected static String |
getActionOKMapResponse(String action)
getActionOKMapResponse
|
protected static String |
getAddElementResponse(List<Integer> mapsWithLoopInfo,
Collection<VElement> elems,
Collection<VLink> links)
getAddElementResponse
|
protected static String |
getDeleteElementsResponse(List<String> velemsids)
getDeleteElementsResponse
|
protected static String |
getLoadDefaultMapResponse(VMapInfo vmapinfo)
getLoadDefaultMapResponse
|
protected static String |
getLoadLabelMapResponse(Map<String,Set<Integer>> labelMap)
getLoadLabelMapResponse
|
protected static String |
getLoadMapsResponse(List<VMapInfo> vmapinfos)
getLoadMapsResponse
|
protected static String |
getLoadNodesResponse(List<VElementInfo> elemInfos)
getLoadNodesResponse
|
protected static String |
getMapErrorResponse(String action)
getMapErrorResponse
|
protected static String |
getMapResponse(VMap map)
getMapResponse
|
protected static String |
getRefreshResponse(VMap map)
getRefreshResponse
|
protected static String |
getSaveMapResponse(VMap map)
getSaveMapResponse
|
protected static String |
getStartupResponse(VProperties initObj)
getStartupResponse
|
protected static String getAddElementResponse(List<Integer> mapsWithLoopInfo, Collection<VElement> elems, Collection<VLink> links)
getAddElementResponse
mapsWithLoopInfo
- a List
object.elems
- a Collection
object.links
- a Collection
object.String
object.protected static String getDeleteElementsResponse(List<String> velemsids)
getDeleteElementsResponse
protected static String getLoadNodesResponse(List<VElementInfo> elemInfos)
getLoadNodesResponse
protected static String getLoadMapsResponse(List<VMapInfo> vmapinfos)
getLoadMapsResponse
protected static String getLoadDefaultMapResponse(VMapInfo vmapinfo)
getLoadDefaultMapResponse
protected static String getStartupResponse(VProperties initObj) throws Exception
getStartupResponse
initObj
- a VProperties
object.String
object.Exception
- if any.protected static String getLoadLabelMapResponse(Map<String,Set<Integer>> labelMap)
getLoadLabelMapResponse
protected static String getActionOKMapResponse(String action)
getActionOKMapResponse
Copyright © 2015. All rights reserved.