@Controller @RequestMapping(value="/shopadmin/*") public class SpLmngDataBindingController extends BaseController
ALL_IDPS, COMPOUND_SP, COMPOUND_SPS, DEEPLINK_TO_SURFMARKET_ALLOWED, FACET_CONNECTION_VISIBLE, FILTER_APP_GRID_ALLOWED, GROUPS_WITH_MEMBERS, IS_ADMIN_USER, IS_GOD, localeResolver, RAW_ARP_ATTRIBUTES_VISIBLE, SELECTED_IDP, SERVICE_APPLY_ALLOWED, SERVICE_CONNECTION_VISIBLE, SERVICE_QUESTION_ALLOWED, 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,
String value,
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, handleAjaxResponseException, switchIdp@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="value",required=false)
String value,
@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 © 2013 SURFnet bv, The Netherlands. All rights reserved.