Class CustomerServiceUncollectedConsignmentStrategy
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.order.strategies.impl.CustomerServiceUncollectedConsignmentStrategy
-
- All Implemented Interfaces:
UncollectedConsignmentsStrategy
public class CustomerServiceUncollectedConsignmentStrategy extends java.lang.Object implements UncollectedConsignmentsStrategy
Moves given consignment to the customer service to perform further actions.
-
-
Constructor Summary
Constructors Constructor Description CustomerServiceUncollectedConsignmentStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BusinessProcessServicegetBusinessProcessService()protected ModelServicegetModelService()java.lang.IntegergetTimeThreshold()booleanprocessConsignment(ConsignmentModel consignmentModel)Process consignment under some conditions.voidsetBusinessProcessService(BusinessProcessService businessProcessService)voidsetModelService(ModelService modelService)voidsetTimeThreshold(java.lang.Integer timeThreshold)
-
-
-
Method Detail
-
processConsignment
public boolean processConsignment(ConsignmentModel consignmentModel)
Description copied from interface:UncollectedConsignmentsStrategyProcess consignment under some conditions.- Specified by:
processConsignmentin interfaceUncollectedConsignmentsStrategy- Parameters:
consignmentModel- to process- Returns:
- true if any action has been performed
-
getTimeThreshold
public java.lang.Integer getTimeThreshold()
- Specified by:
getTimeThresholdin interfaceUncollectedConsignmentsStrategy- Returns:
- order time threshold in hours
-
setTimeThreshold
public void setTimeThreshold(java.lang.Integer timeThreshold)
-
getBusinessProcessService
protected BusinessProcessService getBusinessProcessService()
-
setBusinessProcessService
public void setBusinessProcessService(BusinessProcessService businessProcessService)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
-