Class MiscsController
- java.lang.Object
-
- de.hybris.platform.ycommercewebservices.v2.controller.BaseController
-
- de.hybris.platform.ycommercewebservices.v2.controller.MiscsController
-
@Controller public class MiscsController extends BaseController
Misc Controller
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT, INVALID_REQUEST_BODY_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description MiscsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CardTypeListWsDTOgetCardTypes(java.lang.String fields)CurrencyListWsDTOgetCurrencies(java.lang.String fields)CountryListWsDTOgetDeliveryCountries(java.lang.String fields)Deprecated, for removal: This API element is subject to removal in a future version.since 1808.LanguageListWsDTOgetLanguages(java.lang.String fields)TitleListWsDTOgetTitles(java.lang.String fields)-
Methods inherited from class de.hybris.platform.ycommercewebservices.v2.controller.BaseController
addPaginationField, getDataMapper, handleDuplicateUidException, handleErrorInternal, handleHttpMessageNotReadableException, handleModelNotFoundException, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validate
-
-
-
-
Method Detail
-
getLanguages
@RequestMapping(value="/{baseSiteId}/languages", method=GET) @Cacheable(value="miscsCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getLanguages\',#fields)") @ResponseBody public LanguageListWsDTO getLanguages(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getCurrencies
@RequestMapping(value="/{baseSiteId}/currencies", method=GET) @Cacheable(value="miscsCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getCurrencies\',#fields)") @ResponseBody public CurrencyListWsDTO getCurrencies(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getDeliveryCountries
@Deprecated(since="1808", forRemoval=true) @RequestMapping(value="/{baseSiteId}/deliverycountries", method=GET) @Cacheable(value="miscsCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getDeliveryCountries\',#fields)") @ResponseBody public CountryListWsDTO getDeliveryCountries(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)Deprecated, for removal: This API element is subject to removal in a future version.since 1808. Please useCountriesController.getCountries(String, String)instead.
-
getTitles
@RequestMapping(value="/{baseSiteId}/titles", method=GET) @Cacheable(value="miscsCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getTitles\',#fields)") @ResponseBody public TitleListWsDTO getTitles(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getCardTypes
@RequestMapping(value="/{baseSiteId}/cardtypes", method=GET) @Cacheable(value="miscsCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getCardTypes\',#fields)") @ResponseBody public CardTypeListWsDTO getCardTypes(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
-