Class PrintPackLabelAction
- java.lang.Object
-
- de.hybris.platform.warehousingbackoffice.actions.printpacklabel.PrintPackLabelAction
-
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<ConsignmentModel,ConsignmentModel>
public class PrintPackLabelAction extends java.lang.Object implements com.hybris.cockpitng.actions.CockpitAction<ConsignmentModel,ConsignmentModel>
Action responsible to generate a packing label
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCAPTURE_PAYMENT_ON_CONSIGNMENTprotected static java.lang.StringPACK_CONSIGNMENT_CHOICEprotected static java.lang.StringPACKING_TEMPLATE_CODE
-
Constructor Summary
Constructors Constructor Description PrintPackLabelAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPerform(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)protected ConfigurationServicegetConfigurationService()java.lang.StringgetConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)protected ConsignmentPrintDocumentStrategygetConsignmentPrintPackSlipStrategy()protected WarehousingConsignmentWorkflowServicegetWarehousingConsignmentWorkflowService()booleanneedsConfirmation(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)com.hybris.cockpitng.actions.ActionResult<ConsignmentModel>perform(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)
-
-
-
Field Detail
-
PACK_CONSIGNMENT_CHOICE
protected static final java.lang.String PACK_CONSIGNMENT_CHOICE
- See Also:
- Constant Field Values
-
PACKING_TEMPLATE_CODE
protected static final java.lang.String PACKING_TEMPLATE_CODE
- See Also:
- Constant Field Values
-
CAPTURE_PAYMENT_ON_CONSIGNMENT
protected static final java.lang.String CAPTURE_PAYMENT_ON_CONSIGNMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
public com.hybris.cockpitng.actions.ActionResult<ConsignmentModel> perform(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)
- Specified by:
performin interfacecom.hybris.cockpitng.actions.CockpitAction<ConsignmentModel,ConsignmentModel>
-
canPerform
public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)
- Specified by:
canPerformin interfacecom.hybris.cockpitng.actions.CockpitAction<ConsignmentModel,ConsignmentModel>
-
needsConfirmation
public boolean needsConfirmation(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)
- Specified by:
needsConfirmationin interfacecom.hybris.cockpitng.actions.CockpitAction<ConsignmentModel,ConsignmentModel>
-
getConfirmationMessage
public java.lang.String getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<ConsignmentModel> consignmentModelActionContext)
- Specified by:
getConfirmationMessagein interfacecom.hybris.cockpitng.actions.CockpitAction<ConsignmentModel,ConsignmentModel>
-
getConsignmentPrintPackSlipStrategy
protected ConsignmentPrintDocumentStrategy getConsignmentPrintPackSlipStrategy()
-
getWarehousingConsignmentWorkflowService
protected WarehousingConsignmentWorkflowService getWarehousingConsignmentWorkflowService()
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
-