Class B2BCostCentersController


  • @Controller
    public class B2BCostCentersController
    extends java.lang.Object
    • Constructor Detail

      • B2BCostCentersController

        public B2BCostCentersController()
    • 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)