Package de.hybris.platform.b2b.services
Interface B2BEscalationService
- All Known Implementing Classes:
DefaultB2BEscalationService
public interface B2BEscalationService
The Interface B2BEscalationService. A service for escalating orders that need approval to the next eligible
approvers.
- Spring Bean ID:
- b2bEscalationService
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanEscalate(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.booleanDeprecated, for removal: This API element is subject to removal in a future version.Since 4.4.voidscheduleEscalationTask(OrderModel order) Schedule escalation task based on configuration property 'escalationtask.executiontime.milliseconds'
-
Method Details
-
escalate
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, for removal: This API element is subject to removal in a future version.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
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
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)
-