Package de.hybris.platform.b2b.services
Interface B2BEscalationService
-
- All Known Implementing Classes:
DefaultB2BEscalationService
public interface B2BEscalationServiceThe Interface B2BEscalationService. A service for escalating orders that need approval to the next eligible approvers.- Spring Bean ID:
- b2bEscalationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancanEscalate(OrderModel order)Checks if the order can be escalated to a different approver(s)booleanescalate(OrderModel order)Escalate the order's current approver to the next eligible approver.booleanhandleEscalationFailure(OrderModel order)Deprecated.Since 4.4.voidscheduleEscalationTask(OrderModel order)Schedule escalation task based on configuration property 'escalationtask.executiontime.milliseconds'
-
-
-
Method Detail
-
escalate
boolean escalate(OrderModel order)
Escalate the order's current approver to the next eligible approver.- Parameters:
order- the order in which the approver will be escalated to the next higher eligible approver- Returns:
- true, if successful
-
handleEscalationFailure
@Deprecated(since="4.4") boolean handleEscalationFailure(OrderModel order)
Deprecated.Since 4.4.Escalate to a member of b2badmingroup assigned to a parent unit of a user who created the order.- Parameters:
order- the order- Returns:
- true, if the assignment was successful
-
scheduleEscalationTask
void scheduleEscalationTask(OrderModel order)
Schedule escalation task based on configuration property 'escalationtask.executiontime.milliseconds'- Parameters:
order- the order in which the approver will be escalated to the next higher eligible approver
-
canEscalate
boolean canEscalate(OrderModel order)
Checks if the order can be escalated to a different approver(s)- Parameters:
order- An order placed in a b2b store- Returns:
- True if an order can be escalated to different approver(s)
-
-