Class RegistrationApprovedAutomatedWorkflowTemplateJob
- java.lang.Object
-
- de.hybris.platform.secureportaladdon.workflows.actions.AbstractAutomatedWorkflowTemplateJob
-
- de.hybris.platform.secureportaladdon.workflows.actions.RegistrationApprovedAutomatedWorkflowTemplateJob
-
- All Implemented Interfaces:
AutomatedWorkflowTemplateJob
public class RegistrationApprovedAutomatedWorkflowTemplateJob extends AbstractAutomatedWorkflowTemplateJob
Action called when a registration request has been approved
-
-
Constructor Summary
Constructors Constructor Description RegistrationApprovedAutomatedWorkflowTemplateJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected B2BCustomerModelcreateB2BCustomerModel(CustomerModel customer, B2BRegistrationModel registration)Creates an instance ofB2BCustomerModelout ofCustomerModel.WorkflowDecisionModelperform(WorkflowActionModel workflowAction)execution method for the automated workflow job-
Methods inherited from class de.hybris.platform.secureportaladdon.workflows.actions.AbstractAutomatedWorkflowTemplateJob
defaultDecision, getBusinessProcessService, getCustomer, getModelOfType, getModelService, getRegistrationAttachment, getUserService, getWorkflowAttachmentService, setBusinessProcessService, setModelService, setUserService, setWorkflowAttachmentService
-
-
-
-
Method Detail
-
perform
public WorkflowDecisionModel perform(WorkflowActionModel workflowAction)
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
-
-