Class TmaSubscriptionBaseController
- java.lang.Object
-
- de.hybris.platform.b2ctelcowebservices.v1.controller.BaseController
-
- de.hybris.platform.b2ctelcowebservices.v1.controller.TmaSubscriptionBaseController
-
@Controller @Secured("ROLE_TRUSTED_CLIENT") @RequestMapping("/subscriptionBases") public class TmaSubscriptionBaseController extends BaseControllerController exposing operations related to theTmaSubscriptionBaseData.- Since:
- 6.6
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.b2ctelcowebservices.v1.controller.BaseController
DEFAULT_FIELD_SET, FULL_FIELD_SET
-
-
Constructor Summary
Constructors Constructor Description TmaSubscriptionBaseController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TmaSubscriptionBaseWsDtocreateSubscriptionBase(TmaSubscriptionBaseWsDto subscriptionBaseWsDto, java.lang.String fields)Creates a new subscription base with the details received in the request.voiddeleteSubscriptionBase(java.lang.String billingSystemId, java.lang.String subscriberIdentity)Deletes the subscription base found with the given subscriber identity.protected TmaSubscriptionBaseFacadegetTmaSubscriptionBaseFacade()protected de.hybris.platform.webservicescommons.validators.CompositeValidatorgetTmaSubscriptionBaseWsDtoValidator()voidinitBinder(org.springframework.web.bind.WebDataBinder binder)voidsetTmaSubscriptionBaseFacade(TmaSubscriptionBaseFacade tmaSubscriptionBaseFacade)voidsetTmaSubscriptionBaseWsDtoValidator(de.hybris.platform.webservicescommons.validators.CompositeValidator tmaSubscriptionBaseWsDtoValidator)-
Methods inherited from class de.hybris.platform.b2ctelcowebservices.v1.controller.BaseController
getDataMapper, handleErrorInternal, handleModelNotFoundException, sanitize, setDataMapper, validate
-
-
-
-
Method Detail
-
createSubscriptionBase
@ResponseBody @RequestMapping(method=POST, consumes={"application/json","application/xml"}) @ResponseStatus(CREATED) public TmaSubscriptionBaseWsDto createSubscriptionBase(@RequestBody TmaSubscriptionBaseWsDto subscriptionBaseWsDto, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)Creates a new subscription base with the details received in the request.- Parameters:
subscriptionBaseWsDto- theTmaSubscriptionBaseWsDtoobject with the details based on which the subscription base will be created.fields- response configuration (list of fields, to be returned in response)- Returns:
TmaSubscriptionBaseWsDtothe newly created Subscription Base
-
deleteSubscriptionBase
@RequestMapping(value="/{billingSystemId}/{subscriberIdentity}", method=DELETE) @ResponseStatus(NO_CONTENT) public void deleteSubscriptionBase(@PathVariable("billingSystemId") java.lang.String billingSystemId, @PathVariable("subscriberIdentity") java.lang.String subscriberIdentity)Deletes the subscription base found with the given subscriber identity.- Parameters:
subscriberIdentity- unique identifier of the subscription base
-
getTmaSubscriptionBaseFacade
protected TmaSubscriptionBaseFacade getTmaSubscriptionBaseFacade()
-
setTmaSubscriptionBaseFacade
public void setTmaSubscriptionBaseFacade(TmaSubscriptionBaseFacade tmaSubscriptionBaseFacade)
-
getTmaSubscriptionBaseWsDtoValidator
protected de.hybris.platform.webservicescommons.validators.CompositeValidator getTmaSubscriptionBaseWsDtoValidator()
-
setTmaSubscriptionBaseWsDtoValidator
public void setTmaSubscriptionBaseWsDtoValidator(de.hybris.platform.webservicescommons.validators.CompositeValidator tmaSubscriptionBaseWsDtoValidator)
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
-
-