@Controller @RequestMapping(value="/shopadmin") public class SpLmngDataBindingController extends BaseController
COMPOUND_SP, COMPOUND_SPS, DEEPLINK_TO_SURFMARKET_ALLOWED, FACET_CONNECTION_VISIBLE, IS_GOD, localeResolver, SELECTED_IDP, SERVICE_CONNECTION_VISIBLE, TOKEN_CHECK| Constructor and Description |
|---|
SpLmngDataBindingController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
get(String entityId) |
String |
screenshot(Long screenshotId) |
Screenshot |
screenshot(org.springframework.web.multipart.MultipartFile file,
Long compoundServiceProviderId,
javax.servlet.http.HttpServletResponse response) |
String |
updateImageField(Long fieldId,
Field.Source source) |
String |
updateStringField(Long fieldId,
String value,
Field.Source source,
String useThis) |
String |
upload(org.springframework.web.multipart.MultipartFile file,
Field.Source source,
Long fieldId,
String useThis) |
getLocale, getMyInstitutionIdps, getSelectedIdp@RequestMapping(value="/compoundSp-detail")
public org.springframework.web.servlet.ModelAndView get(@RequestParam(value="spEntityId")
String entityId)
@RequestMapping(value="/compoundSp-update",
method=POST,
params="usethis=usethis-image")
@ResponseBody
public String updateImageField(@RequestParam(value="fieldId")
Long fieldId,
@RequestParam(value="source")
Field.Source source)
@RequestMapping(value="/compoundSp-update",
method=POST)
@ResponseBody
public String updateStringField(@RequestParam(value="fieldId")
Long fieldId,
@RequestParam(value="value",required=false)
String value,
@RequestParam(value="source")
Field.Source source,
@RequestParam(value="usethis",required=false)
String useThis)
@RequestMapping(value="/upload",
method=POST)
@ResponseBody
public String upload(@RequestParam(value="file",required=false)
org.springframework.web.multipart.MultipartFile file,
@RequestParam(value="source")
Field.Source source,
@RequestParam(value="fieldId")
Long fieldId,
@RequestParam(value="usethis",required=false)
String useThis)
throws IOException
IOException@RequestMapping(value="/upload-screenshot",
method=POST,
produces="application/json")
@ResponseBody
public Screenshot screenshot(@RequestParam(value="file",required=true)
org.springframework.web.multipart.MultipartFile file,
@RequestParam(value="compoundServiceProviderId")
Long compoundServiceProviderId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/remove-screenshot/{screenshotId}",
method=DELETE)
@ResponseBody
public String screenshot(@PathVariable(value="screenshotId")
Long screenshotId)
throws IOException
IOExceptionCopyright © 2012–2016 Pivotal Software, Inc.. All rights reserved.