Class DefaultTimedBanDeclineStrategy
- java.lang.Object
-
- de.hybris.platform.warehousing.allocation.decline.action.impl.DefaultTimedBanDeclineStrategy
-
- All Implemented Interfaces:
DeclineActionStrategy
public class DefaultTimedBanDeclineStrategy extends java.lang.Object implements DeclineActionStrategy
Strategy to apply when the decline reason for a consignment entry isDeclineReason.TOOBUSY. Or for eachDeclineReason, when declining the consignment allocated from the externalWarehouseModel
-
-
Constructor Summary
Constructors Constructor Description DefaultTimedBanDeclineStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(DeclineEntry declineEntry)Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReasonvoidexecute(java.util.Collection<DeclineEntry> declineEntries)Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReasonprotected SourcingBanServicegetSourcingBanService()voidsetSourcingBanService(SourcingBanService sourcingBanService)
-
-
-
Method Detail
-
execute
public void execute(DeclineEntry declineEntry)
Description copied from interface:DeclineActionStrategyAction to be performed based on the givenDeclineEntry, based on the selectedDeclineReason- Specified by:
executein interfaceDeclineActionStrategy- Parameters:
declineEntry- theDeclineEntryto be declined
-
execute
public void execute(java.util.Collection<DeclineEntry> declineEntries)
Description copied from interface:DeclineActionStrategyAction to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason- Specified by:
executein interfaceDeclineActionStrategy- Parameters:
declineEntries- the collection ofDeclineEntryto be declined
-
getSourcingBanService
protected SourcingBanService getSourcingBanService()
-
setSourcingBanService
public void setSourcingBanService(SourcingBanService sourcingBanService)
-
-