Class DefaultWarehousingPointOfServiceFacade
- java.lang.Object
-
- de.hybris.platform.ordermanagementfacades.OmsBaseFacade
-
- de.hybris.platform.warehousingfacades.pointofservice.impl.DefaultWarehousingPointOfServiceFacade
-
- All Implemented Interfaces:
WarehousingPointOfServiceFacade
public class DefaultWarehousingPointOfServiceFacade extends OmsBaseFacade implements WarehousingPointOfServiceFacade
Default implementation ofWarehousingPointOfServiceFacade
-
-
Constructor Summary
Constructors Constructor Description DefaultWarehousingPointOfServiceFacade()
-
Method Summary
-
Methods inherited from class de.hybris.platform.ordermanagementfacades.OmsBaseFacade
convertSearchPageData, createPaginationData, discardOrderSnapshot, getModelService, getOrderGenericDao, getOrderModelForCode, setModelService, setOrderGenericDao
-
-
-
-
Method Detail
-
getPointOfServiceByName
public PointOfServiceData getPointOfServiceByName(java.lang.String posName)
Description copied from interface:WarehousingPointOfServiceFacadeAPI to get a point of service by posName- Specified by:
getPointOfServiceByNamein interfaceWarehousingPointOfServiceFacade- Parameters:
posName- the point of service's posName- Returns:
- the point of service
-
getWarehousesForPointOfService
public SearchPageData<WarehouseData> getWarehousesForPointOfService(PageableData pageableData, java.lang.String posName)
Description copied from interface:WarehousingPointOfServiceFacadeAPI to get allWarehouseModelin the system, for the givenPointOfServiceModel.NAME- Specified by:
getWarehousesForPointOfServicein interfaceWarehousingPointOfServiceFacade- Parameters:
pageableData- pageable object that contains info on the number or pages and how many items in each page in addition the sorting infoposName- the posName of the PointOfService for which warehouses are being retrieved- Returns:
- the list of warehouses for the given PointOfService
-
updatePointOfServiceWithWarehouses
public PointOfServiceData updatePointOfServiceWithWarehouses(java.lang.String posName, WarehouseCodesDataList warehouseCodes)
Description copied from interface:WarehousingPointOfServiceFacadeAPI to update aPointOfServiceModelwith a list of warehouses- Specified by:
updatePointOfServiceWithWarehousesin interfaceWarehousingPointOfServiceFacade- Parameters:
posName- the posName of the PointOfService for which warehouses will be deletedwarehouseCodes- the object containing the list of warehouse codes to add to the point of service- Returns:
- the updated
PointOfServiceDatawithout the specified warehouses
-
deleteWarehouseFromPointOfService
public PointOfServiceData deleteWarehouseFromPointOfService(java.lang.String posName, java.lang.String warehouseCode)
Description copied from interface:WarehousingPointOfServiceFacadeAPI to delete warehouses fromPointOfServiceModel- Specified by:
deleteWarehouseFromPointOfServicein interfaceWarehousingPointOfServiceFacade- Parameters:
posName- the posName of the PointOfService for which warehouses will be deletedwarehouseCode- the warehouse which has to be removed from the point of service.- Returns:
- the updated
PointOfServiceDatawithout the specified warehouses
-
updatePointOfServiceWithAddress
public PointOfServiceData updatePointOfServiceWithAddress(java.lang.String posName, AddressData addressData)
Description copied from interface:WarehousingPointOfServiceFacadeAPI to update aPointOfServiceModel- Specified by:
updatePointOfServiceWithAddressin interfaceWarehousingPointOfServiceFacade- Parameters:
posName- the posName of POS that we want to updateaddressData- the address which we want to update the pos with- Returns:
- the
PointOfServiceDataupdated with the passed address and converted from the newly updatedPointOfServiceModel
-
getPointOfServiceModelByName
protected PointOfServiceModel getPointOfServiceModelByName(java.lang.String posName)
FindsPointOfServiceModelfor the givenPointOfServiceModel.NAME- Parameters:
posName- the pointOfServiceModel's posName- Returns:
- the requested pointOfService for the given code
-
getWarehouseConverter
protected Converter<WarehouseModel,WarehouseData> getWarehouseConverter()
-
setWarehouseConverter
public void setWarehouseConverter(Converter<WarehouseModel,WarehouseData> warehouseConverter)
-
getPointOfServiceConverter
protected Converter<PointOfServiceModel,PointOfServiceData> getPointOfServiceConverter()
-
setPointOfServiceConverter
public void setPointOfServiceConverter(Converter<PointOfServiceModel,PointOfServiceData> pointOfServiceConverter)
-
getPointOfServiceGenericDao
protected GenericDao<PointOfServiceModel> getPointOfServiceGenericDao()
-
setPointOfServiceGenericDao
public void setPointOfServiceGenericDao(GenericDao<PointOfServiceModel> pointOfServiceGenericDao)
-
getWarehousesByPointOfServicePagedDao
protected PagedGenericDao<WarehouseModel> getWarehousesByPointOfServicePagedDao()
-
setWarehousesByPointOfServicePagedDao
public void setWarehousesByPointOfServicePagedDao(PagedGenericDao<WarehouseModel> warehousesByPointOfServicePagedDao)
-
getWarehouseService
protected WarehouseService getWarehouseService()
-
setWarehouseService
public void setWarehouseService(WarehouseService warehouseService)
-
getAddressReverseConverter
protected Converter<AddressData,AddressModel> getAddressReverseConverter()
-
setAddressReverseConverter
public void setAddressReverseConverter(Converter<AddressData,AddressModel> addressReverseConverter)
-
-