Class WarehousingWarehousesController
- java.lang.Object
-
- de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
-
- de.hybris.platform.warehousingwebservices.controllers.warehouse.WarehousingWarehousesController
-
@Controller @RequestMapping("/warehouses") public class WarehousingWarehousesController extends WarehousingBaseControllerWebResource exposingWarehousingWarehouseFacadehttp://host:port/warehousingwebservices/warehouses
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
dataMapper, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, DEFAULT_SORT, WAREHOUSE_ADMINISTRATOR_GROUP, WAREHOUSE_AGENT_GROUP, WAREHOUSE_MANAGER_GROUP
-
-
Constructor Summary
Constructors Constructor Description WarehousingWarehousesController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WarehouseWsDtogetWarehouseForCode(java.lang.String code, java.lang.String fields)Request to get aWarehouseModelfor the code-
Methods inherited from class de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
createPageable, validate
-
-
-
-
Method Detail
-
getWarehouseForCode
@Secured({"ROLE_WAREHOUSEAGENTGROUP","ROLE_WAREHOUSEMANAGERGROUP","ROLE_WAREHOUSEADMINISTRATORGROUP"}) @RequestMapping(value="/{code}", method=GET) @ResponseBody public WarehouseWsDto getWarehouseForCode(@PathVariable java.lang.String code, @RequestParam(required=false,defaultValue="DEFAULT") java.lang.String fields)Request to get aWarehouseModelfor the code- Parameters:
code- the name of the requestedWarehouseModelfields- defaulted to DEFAULT but can be FULL or BASIC- Returns:
- the
WarehouseModel
-
-