Class DefaultPrintExportFormStrategy
java.lang.Object
de.hybris.platform.warehousing.labels.strategy.impl.DefaultPrintExportFormStrategy
- All Implemented Interfaces:
PrintExportFormStrategy
Default implementation of
PrintExportFormStrategy. An export form is allowed to be printed if the order is not a
pickup or the ConsignmentModel.SHIPPINGADDRESS is different than the PointOfServiceModel.ADDRESS.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPrintExportForm(ConsignmentModel consignmentModel) Decides whether an export form should be printed for the givenConsignmentModelprotected PosSelectionStrategyvoidsetPosSelectionStrategy(PosSelectionStrategy posSelectionStrategy)
-
Constructor Details
-
DefaultPrintExportFormStrategy
public DefaultPrintExportFormStrategy()
-
-
Method Details
-
canPrintExportForm
Description copied from interface:PrintExportFormStrategyDecides whether an export form should be printed for the givenConsignmentModel- Specified by:
canPrintExportFormin interfacePrintExportFormStrategy- Parameters:
consignmentModel- theConsignmentModelfor which to decide- Returns:
- true if the Export Form should be printed; false otherwise
-
getPosSelectionStrategy
-
setPosSelectionStrategy
-