Class ReleaseButtonCellRenderer
- java.lang.Object
-
- de.hybris.platform.omsbackoffice.renderers.ReleaseButtonCellRenderer
-
- Direct Known Subclasses:
PaymentCaptureManualReleaseButtonCellRenderer,TaxCommitManualReleaseButtonCellRenderer
public abstract class ReleaseButtonCellRenderer extends java.lang.ObjectProvides common methods for cell renderers to release objects from waiting steps.
-
-
Constructor Summary
Constructors Constructor Description ReleaseButtonCellRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanPerformOperation(ConsignmentModel consignmentModel, ConsignmentStatus consignmentStatus)Checks if theConsignmentModelhas the givenConsignmentStatusprotected BusinessProcessServicegetBusinessProcessService()voidsetBusinessProcessService(BusinessProcessService businessProcessService)protected voidtriggerBusinessProcessEvent(ConsignmentModel consignmentModel, java.lang.String eventName, java.lang.String eventChoice)Triggers theBusinessProcessServicewith the given event and event choice
-
-
-
Method Detail
-
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, java.lang.String eventName, java.lang.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
protected BusinessProcessService getBusinessProcessService()
-
setBusinessProcessService
public void setBusinessProcessService(BusinessProcessService businessProcessService)
-
-