Metadata - SFDO-Community-Sprints/Interactions-for-Student-Recruitment GitHub Wiki
Apex Classes
INT_InteractionMappingService
Copies data from Interactions to specified Objects based on Interaction Mappings
INT_InteractionMappingService_TEST
Test class for the INT_InteractionMapping Service
INT_InteractionProcessor
Main class for handling Interaction logic, processes Interaction data into related Objects:
- Insert/Convert Leads
- Upsert Opportunities
- Update Contacts
- Upsert Affiliations
- Upsert Campaign Members
INT_InteractionProcessor_TEST
Test class for the INT_InteractionProcessor
INT_OpportunityContactRoleHandler
Creates a Contact Role when an Opportunity is created with a value in the custom Contact lookup field. This allows standard Opportunity report types and Campaign Influence reports to work properly when an Opportunity is associated to an individual (Contact) rather than an organization (Account).
INT_OpportunityContactRoleHandler_TEST
Test class for the INT_OpportunityContactRoleHandler
INT_TestDataFactory
Creates test data for Apex Unit Tests
Apex Triggers
INT_Interaction.trigger
Calls the INT_InteractionProcessor class on “after insert” and “after update” actions for Interaction records with a status of “New”
INT_InteractionMapping.trigger
Ensures Interaction Mapping records created are valid, e.g. ensuring First_Name__c is a valid field on the target Object to copy Interaction data to
Custom Objects
- Interaction__c
- Interaction_Mapping__c
- Plan__c