Class B2BCostCentersController
- java.lang.Object
-
- de.hybris.platform.b2b.occ.v2.controllers.B2BCostCentersController
-
@Controller public class B2BCostCentersController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description B2BCostCentersController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2BCostCenterWsDTOgetCostCenter(java.lang.String costCenterId, java.lang.String fields)B2BCostCenterListWsDTOgetCostCenters(java.lang.String fields)
-
-
-
Method Detail
-
getCostCenters
@Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/{baseSiteId}/costcenters", method=GET) @ResponseBody public B2BCostCenterListWsDTO getCostCenters(@RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
getCostCenter
@Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/{baseSiteId}/costcenters/{costCenterId}", method=GET) @ResponseBody public B2BCostCenterWsDTO getCostCenter(@PathVariable java.lang.String costCenterId, @RequestParam(defaultValue="DEFAULT") java.lang.String fields)
-
-