Class RegistrationApprovedAutomatedWorkflowTemplateJob
java.lang.Object
de.hybris.platform.b2bacceleratorservices.workflows.actions.AbstractAutomatedWorkflowTemplateJob
de.hybris.platform.b2bacceleratorservices.workflows.actions.RegistrationApprovedAutomatedWorkflowTemplateJob
- All Implemented Interfaces:
AutomatedWorkflowTemplateJob
public class RegistrationApprovedAutomatedWorkflowTemplateJob
extends AbstractAutomatedWorkflowTemplateJob
Action called when a registration request has been approved
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B2BCustomerModelcreateB2BCustomerModel(CustomerModel customer, B2BRegistrationModel registration) Creates an instance ofB2BCustomerModelout ofCustomerModel.perform(WorkflowActionModel workflowAction) execution method for the automated workflow jobMethods inherited from class de.hybris.platform.b2bacceleratorservices.workflows.actions.AbstractAutomatedWorkflowTemplateJob
defaultDecision, getBusinessProcessService, getCustomer, getModelOfType, getModelService, getRegistrationAttachment, getUserService, getWorkflowAttachmentService, setBusinessProcessService, setModelService, setUserService, setWorkflowAttachmentService
-
Constructor Details
-
RegistrationApprovedAutomatedWorkflowTemplateJob
public RegistrationApprovedAutomatedWorkflowTemplateJob()
-
-
Method Details
-
perform
Description copied from interface:AutomatedWorkflowTemplateJobexecution method for the automated workflow job- Parameters:
workflowAction- the workflow action that activated this method- Returns:
- the decision that should be activated after this action finishes
-
createB2BCustomerModel
protected B2BCustomerModel createB2BCustomerModel(CustomerModel customer, B2BRegistrationModel registration) Creates an instance ofB2BCustomerModelout ofCustomerModel.- Parameters:
customer- CustomerModel data- Returns:
- An instance of
B2BCustomerModel
-