@Controller @RequestMapping(value="/maps") public class MapsController extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
MapsController() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
String latitude,
String longitude) |
Object |
get(org.springframework.ui.Model uiModel,
String id) |
Object |
get(String id)
Deprecated.
|
String |
getAngularTemplates(String key,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
Object |
getBuildings(String groupId)
Deprecated.
|
ConfigParamService |
getConfigParamService() |
Object |
getForm(org.springframework.ui.Model uiModel) |
protected String |
getFoursquareData(String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
protected String |
getFoursquareData(String latitude,
String longitude,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
String |
getHome(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
String city,
String postalCode,
String state,
String street1,
String street2) |
String |
getJavaScript(String key,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
Properties |
getKmeProperties() |
MapsService |
getMapsService() |
String |
searchBuildings(javax.servlet.http.HttpServletRequest request,
MapsFormSearch mapsFormSearch,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.Model uiModel) |
String |
searchBuildings(org.springframework.ui.Model uiModel,
String criteria,
String groupCode) |
String |
searchBuildingsAutocomplete(org.springframework.ui.Model uiModel,
String criteria,
String groupCode) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setConfigParamService(ConfigParamService configParamService) |
void |
setKmeProperties(Properties kmeProperties) |
void |
setMapsService(MapsService mapsService) |
public MapsController()
@RequestMapping(method=GET) public String getHome(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request, @RequestParam(required=false) String city, @RequestParam(required=false) String postalCode, @RequestParam(required=false) String state, @RequestParam(required=false) String street1, @RequestParam(required=false) String street2)
@RequestMapping(value="/templates/{key}")
public String getAngularTemplates(@PathVariable(value="key")
String key,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel)
@RequestMapping(value="/js/{key}.js")
public String getJavaScript(@PathVariable(value="key")
String key,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/location",
method=GET)
public Object get(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
@RequestParam(required=false)
String latitude,
@RequestParam(required=false)
String longitude)
@RequestMapping(value="/form",
method=GET)
public Object getForm(org.springframework.ui.Model uiModel)
@Deprecated @RequestMapping(value="/group/{groupCode}", method=GET, headers="Accept=application/json") @ResponseBody public Object getBuildings(@PathVariable(value="groupCode") String groupId)
@Deprecated @RequestMapping(value="/building/{id}", method=GET, headers="Accept=application/json") @ResponseBody public Object get(@PathVariable(value="id") String id)
@RequestMapping(value="/building/{id}",
method=GET)
public Object get(org.springframework.ui.Model uiModel,
@PathVariable(value="id")
String id)
@RequestMapping(value="/building/search",
method=GET)
public String searchBuildings(org.springframework.ui.Model uiModel,
@RequestParam(required=true)
String criteria,
@RequestParam(required=true)
String groupCode)
@RequestMapping(value="/building/searchassist",
method=GET)
public String searchBuildingsAutocomplete(org.springframework.ui.Model uiModel,
@RequestParam(required=true)
String criteria,
@RequestParam(required=true)
String groupCode)
@RequestMapping(value="/building/search",
method=POST)
public String searchBuildings(javax.servlet.http.HttpServletRequest request,
@ModelAttribute(value="mapsearchform")
MapsFormSearch mapsFormSearch,
org.springframework.validation.BindingResult bindingResult,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.Model uiModel)
@Deprecated @RequestMapping(value="/foursquare", method=GET) @ResponseBody protected String getFoursquareData(@RequestParam(value="lat") String latitude, @RequestParam(value="lng") String longitude, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@Deprecated @RequestMapping(value="/foursquare/{id}", method=GET) @ResponseBody protected String getFoursquareData(@PathVariable(value="id") String id, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the applicationContext to setpublic Properties getKmeProperties()
public void setKmeProperties(Properties kmeProperties)
public MapsService getMapsService()
public void setMapsService(MapsService mapsService)
public ConfigParamService getConfigParamService()
public void setConfigParamService(ConfigParamService configParamService)
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.