Class ReleaseButtonCellRenderer
java.lang.Object
de.hybris.platform.omsbackoffice.renderers.ReleaseButtonCellRenderer
- Direct Known Subclasses:
PaymentCaptureManualReleaseButtonCellRenderer,TaxCommitManualReleaseButtonCellRenderer
Provides common methods for cell renderers to release objects from waiting steps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanPerformOperation(ConsignmentModel consignmentModel, ConsignmentStatus consignmentStatus) Checks if theConsignmentModelhas the givenConsignmentStatusprotected BusinessProcessServicevoidsetBusinessProcessService(BusinessProcessService businessProcessService) protected voidtriggerBusinessProcessEvent(ConsignmentModel consignmentModel, String eventName, String eventChoice) Triggers theBusinessProcessServicewith the given event and event choice
-
Constructor Details
-
ReleaseButtonCellRenderer
public ReleaseButtonCellRenderer()
-
-
Method Details
-
canPerformOperation
protected boolean canPerformOperation(ConsignmentModel consignmentModel, ConsignmentStatus consignmentStatus) Checks if theConsignmentModelhas the givenConsignmentStatus- Parameters:
consignmentModel- theConsignmentModelto check- Returns:
- boolean indicating whether he
ConsignmentModelhas the givenConsignmentStatus
-
triggerBusinessProcessEvent
protected void triggerBusinessProcessEvent(ConsignmentModel consignmentModel, String eventName, String eventChoice) Triggers theBusinessProcessServicewith the given event and event choice- Parameters:
consignmentModel- theConsignmentModelfor which the event is to be triggeredeventName- the event to be triggeredeventChoice- the event choice
-
getBusinessProcessService
-
setBusinessProcessService
-