Package org.apache.unomi.sfdc.actions
Class UpdateProfileFromLeadAction
- java.lang.Object
-
- org.apache.unomi.sfdc.actions.UpdateProfileFromLeadAction
-
- All Implemented Interfaces:
ActionExecutor
public class UpdateProfileFromLeadAction extends Object implements ActionExecutor
Update an Apache Unomi profile from a corresponding Salesforce Lead with the same common identifier (usually the email address)
-
-
Constructor Summary
Constructors Constructor Description UpdateProfileFromLeadAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(Action action, Event event)
void
setSfdcService(SFDCService sfdcService)
-
-
-
Method Detail
-
setSfdcService
public void setSfdcService(SFDCService sfdcService)
-
execute
public int execute(Action action, Event event)
Description copied from interface:ActionExecutor
- Specified by:
execute
in interfaceActionExecutor
- Parameters:
action
- theAction
to executeevent
- theEvent
that triggered the action- Returns:
- an integer status corresponding to what happened as defined by public constants of
EventService
-
-