java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.controllers.PrBaseController
Direct Known Subclasses:
PrPartyRoleController

@Deprecated(since="2208") public class PrBaseController extends Object
Deprecated.
2208
Abstract Base Controller defining common methods and fields to be used by other API controllers.
Since:
2108
  • Constructor Details

    • PrBaseController

      public PrBaseController()
      Deprecated.
  • Method Details

    • init

      @PostConstruct public void init()
      Deprecated.
    • handleModelNotFoundException

      @ResponseStatus(NOT_FOUND) @ResponseBody @ExceptionHandler(de.hybris.platform.servicelayer.exceptions.ModelNotFoundException.class) public Error handleModelNotFoundException(Exception ex)
      Deprecated.
    • getUnsuccessfulResponse

      protected org.springframework.http.ResponseEntity getUnsuccessfulResponse(String errorMessage, Exception e, org.springframework.http.HttpStatus httpStatus)
      Deprecated.
    • getUnsuccessfulResponse

      protected org.springframework.http.ResponseEntity getUnsuccessfulResponse(String message, org.springframework.http.HttpStatus httpStatus)
      Deprecated.
    • getQueryStringWithoutOffsetAndLimit

      protected String getQueryStringWithoutOffsetAndLimit(javax.servlet.http.HttpServletRequest request)
      Deprecated.
    • filter

      protected String filter(String value)
      Deprecated.
      Filter the characters and strings that could present a XSS threat
      Parameters:
      value - the string which is being filtered
      Returns:
      the filtered result
    • handleInternalError

      protected Error handleInternalError(String message)
      Deprecated.
    • validate

      protected String validate(Object object, String objectName, org.springframework.validation.Validator validator)
      Deprecated.
    • sanitize

      protected String sanitize(String input)
      Deprecated.
    • getDataMapper

      protected de.hybris.platform.webservicescommons.mapping.DataMapper getDataMapper()
      Deprecated.
    • getObjectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      Deprecated.
    • getMessageSource

      protected org.springframework.context.MessageSource getMessageSource()
      Deprecated.
    • getI18nService

      protected de.hybris.platform.servicelayer.i18n.I18NService getI18nService()
      Deprecated.