nl.surfnet.coin.csa.control.shopadmin
Class TaxonomyController

java.lang.Object
  extended by nl.surfnet.coin.csa.control.BaseController
      extended by nl.surfnet.coin.csa.control.shopadmin.TaxonomyController

@Controller
@RequestMapping(value="/shopadmin/*")
public class TaxonomyController
extends BaseController


Field Summary
 
Fields inherited from class nl.surfnet.coin.csa.control.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 Summary
TaxonomyController()
           
 
Method Summary
 Long addFacetValueTranslation(Long multilingualStringId, LocalizedString newLocalizedString)
           
 Long createFacet(Facet newFacet)
           
 Long createFacetValue(Long facetId, FacetValue newFacetValue)
           
 String deleteFacet(Long facetId)
           
 String deleteFacetValue(Long facetValueId)
           
 String facetConfiguraton(String entityId, org.springframework.ui.ModelMap modelMap)
           
 List<InUseFacetValue> facetUsed(Long facetId)
           
 List<InUseFacetValue> facetValueUsed(Long facetValueId)
           
 String getAllFacets(org.springframework.ui.ModelMap model)
           
 String getFacetTranslations(org.springframework.ui.ModelMap model)
           
 String getServicesFacetsOverview(org.springframework.ui.ModelMap model)
           
 String linkFacetValueCompoundServiceProvider(Long facetValueId, Long compoundServiceProviderId, IsLinkRequest isLinkRequest)
           
 String updateFacet(javax.servlet.http.HttpServletRequest request, Facet facet, Long facetId)
           
 String updateFacetValue(Long facetValueId, FacetValue facetValue)
           
 String updateFacetValueTranslation(Long localizedStringId, LocalizedString update)
           
 
Methods inherited from class nl.surfnet.coin.csa.control.BaseController
getLocale, getMyInstitutionIdps, getSelectedIdp, handleAjaxResponseException, switchIdp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonomyController

public TaxonomyController()
Method Detail

getAllFacets

@RequestMapping(value="taxonomy-overview.shtml")
public String getAllFacets(org.springframework.ui.ModelMap model)

getFacetTranslations

@RequestMapping(value="taxonomy-translations.shtml")
public String getFacetTranslations(org.springframework.ui.ModelMap model)

getServicesFacetsOverview

@RequestMapping(value="taxonomy-services-overview.shtml")
public String getServicesFacetsOverview(org.springframework.ui.ModelMap model)

updateFacet

@RequestMapping(value="/facet/{facetId}",
                method=PUT)
@ResponseBody
public String updateFacet(javax.servlet.http.HttpServletRequest request,
                                                      @RequestBody
                                                      Facet facet,
                                                      @PathVariable(value="facetId")
                                                      Long facetId)

createFacet

@RequestMapping(value="/facet",
                method=POST)
@ResponseBody
public Long createFacet(@RequestBody
                                                    Facet newFacet)

deleteFacet

@RequestMapping(value="/facet/{facetId}",
                method=DELETE)
@ResponseBody
public String deleteFacet(@PathVariable(value="facetId")
                                                      Long facetId)

updateFacetValue

@RequestMapping(value="/facet-value/{facetValueId}",
                method=PUT)
@ResponseBody
public String updateFacetValue(@PathVariable(value="facetValueId")
                                                           Long facetValueId,
                                                           @RequestBody
                                                           FacetValue facetValue)

createFacetValue

@RequestMapping(value="{facetId}/facet-value",
                method=POST)
@ResponseBody
public Long createFacetValue(@PathVariable(value="facetId")
                                                         Long facetId,
                                                         @RequestBody
                                                         FacetValue newFacetValue)

deleteFacetValue

@RequestMapping(value="/facet-value/{facetValueId}",
                method=DELETE)
@ResponseBody
public String deleteFacetValue(@PathVariable(value="facetValueId")
                                                           Long facetValueId)

facetConfiguraton

@RequestMapping(value="/service-taxonomy-configuration",
                method=GET)
public String facetConfiguraton(@RequestParam(value="spEntityId")
                                               String entityId,
                                               org.springframework.ui.ModelMap modelMap)

linkFacetValueCompoundServiceProvider

@RequestMapping(value="/facet-value-csp/{facetValueId}/{compoundServiceProviderId}",
                method=POST)
@ResponseBody
public String linkFacetValueCompoundServiceProvider(@PathVariable(value="facetValueId")
                                                                                Long facetValueId,
                                                                                @PathVariable(value="compoundServiceProviderId")
                                                                                Long compoundServiceProviderId,
                                                                                @ModelAttribute
                                                                                IsLinkRequest isLinkRequest)

facetValueUsed

@RequestMapping(value="/facet-value-used/{facetValueId}",
                method=GET)
@ResponseBody
public List<InUseFacetValue> facetValueUsed(@PathVariable(value="facetValueId")
                                                                        Long facetValueId)

facetUsed

@RequestMapping(value="/facet-used/{facetId}",
                method=GET)
@ResponseBody
public List<InUseFacetValue> facetUsed(@PathVariable(value="facetId")
                                                                   Long facetId)

addFacetValueTranslation

@RequestMapping(value="/taxonomy-translation/{multilingualStringId}",
                method=POST)
@ResponseBody
public Long addFacetValueTranslation(@PathVariable(value="multilingualStringId")
                                                                 Long multilingualStringId,
                                                                 @RequestBody
                                                                 LocalizedString newLocalizedString)

updateFacetValueTranslation

@RequestMapping(value="/taxonomy-translation/{localizedStringId}",
                method=PUT)
@ResponseBody
public String updateFacetValueTranslation(@PathVariable(value="localizedStringId")
                                                                      Long localizedStringId,
                                                                      @RequestBody
                                                                      LocalizedString update)


Copyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.