Class ReleaseButtonCellRenderer
- java.lang.Object
-
- de.hybris.platform.omsbackoffice.renderers.ReleaseButtonCellRenderer
-
- Direct Known Subclasses:
PaymentCaptureManualReleaseButtonCellRenderer
,TaxCommitManualReleaseButtonCellRenderer
public abstract class ReleaseButtonCellRenderer extends java.lang.Object
Provides 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 boolean
canPerformOperation(ConsignmentModel consignmentModel, ConsignmentStatus consignmentStatus)
Checks if theConsignmentModel
has the givenConsignmentStatus
protected BusinessProcessService
getBusinessProcessService()
void
setBusinessProcessService(BusinessProcessService businessProcessService)
protected void
triggerBusinessProcessEvent(ConsignmentModel consignmentModel, java.lang.String eventName, java.lang.String eventChoice)
Triggers theBusinessProcessService
with the given event and event choice
-
-
-
Method Detail
-
canPerformOperation
protected boolean canPerformOperation(ConsignmentModel consignmentModel, ConsignmentStatus consignmentStatus)
Checks if theConsignmentModel
has the givenConsignmentStatus
- Parameters:
consignmentModel
- theConsignmentModel
to check- Returns:
- boolean indicating whether he
ConsignmentModel
has the givenConsignmentStatus
-
triggerBusinessProcessEvent
protected void triggerBusinessProcessEvent(ConsignmentModel consignmentModel, java.lang.String eventName, java.lang.String eventChoice)
Triggers theBusinessProcessService
with the given event and event choice- Parameters:
consignmentModel
- theConsignmentModel
for 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)
-
-