Class S4CMConsignmentPreFulfillmentStrategy
java.lang.Object
de.hybris.platform.ysapcpis4cmomsfulfillment.strategy.S4CMConsignmentPreFulfillmentStrategy
- All Implemented Interfaces:
de.hybris.platform.warehousing.externalfulfillment.strategy.ConsignmentPreFulfillmentStrategy
public class S4CMConsignmentPreFulfillmentStrategy
extends Object
implements de.hybris.platform.warehousing.externalfulfillment.strategy.ConsignmentPreFulfillmentStrategy
Implementation for Service Order Pre-fulfillment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRelatedConsignments(ConsignmentModel parentConsignment, List<ConsignmentModel> parentRelatedConsignments) booleancanProceedAfterPerform(ConsignmentModel consignment) protected booleancheckCustomer(AbstractOrderModel order) protected booleancheckIfAllRelatedConsignmentsAreShipped(ConsignmentModel consignment) protected booleande.hybris.platform.servicelayer.model.ModelServiceprotected List<ConsignmentModel>getRelatedConsignments(ConsignmentModel consignment, List<ProductModel> relatedProducts) protected List<ProductModel>getRelatedProducts(ConsignmentModel consignment) protected booleanisB2BCase(AbstractOrderModel orderModel) protected booleanisGuestUser(CustomerModel customerModel) voidperform(ConsignmentModel consignment) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) protected voidsetRequestedServiceStartDateInOrder(ConsignmentModel consignment, Date requestServiceStartDate) voidsetSapGlobalConfigurationService(SAPGlobalConfigurationService sapGlobalConfigurationService) voidsetSapProductReferenceService(SapProductReferenceService sapProductReferenceService)
-
Constructor Details
-
S4CMConsignmentPreFulfillmentStrategy
public S4CMConsignmentPreFulfillmentStrategy()
-
-
Method Details
-
perform
- Specified by:
performin interfacede.hybris.platform.warehousing.externalfulfillment.strategy.ConsignmentPreFulfillmentStrategy
-
canProceedAfterPerform
- Specified by:
canProceedAfterPerformin interfacede.hybris.platform.warehousing.externalfulfillment.strategy.ConsignmentPreFulfillmentStrategy
-
checkOrderForRelatedSalesOrderConsignments
-
getRelatedConsignments
protected List<ConsignmentModel> getRelatedConsignments(ConsignmentModel consignment, List<ProductModel> relatedProducts) -
addRelatedConsignments
protected void addRelatedConsignments(ConsignmentModel parentConsignment, List<ConsignmentModel> parentRelatedConsignments) -
getRelatedProducts
-
checkIfAllRelatedConsignmentsAreShipped
-
setRequestedServiceStartDateInOrder
protected void setRequestedServiceStartDateInOrder(ConsignmentModel consignment, Date requestServiceStartDate) -
checkCustomer
-
isB2BCase
-
isGuestUser
-
getSapGlobalConfigurationService
-
setSapGlobalConfigurationService
public void setSapGlobalConfigurationService(SAPGlobalConfigurationService sapGlobalConfigurationService) -
getModelService
public de.hybris.platform.servicelayer.model.ModelService getModelService()- Returns:
- the modelService
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) - Parameters:
modelService- the modelService to set
-
getSapProductReferenceService
-
setSapProductReferenceService
-