Centralized Salesforce Development Framework

Scott Covert (scott.b.covert@gmail.com)
Home
AccountAfterDeleteTriggerHandler
AccountAfterInsertTriggerHandler
AccountAfterUnDeleteTriggerHandler
AccountAfterUpdateTriggerHandler
AccountBeforeDeleteTriggerHandler
AccountBeforeInsertTriggerHandler
AccountBeforeUpdateTriggerHandler
AccountHelper
AccountTriggerDispatcher
AccountsTest
CalloutHandler
ConfigService
CustomException
DMLManager
DataFactoryService
DataFactoryServiceTest
DateService
DateServiceTest
DiagnosticsInstrumentation
HttpCalloutMockService
ITriggerDispatcher
ITriggerHandler
QueueableDispatcher
QueueableHandler
QueueableHandlerTest
RepeatingBatch
RepeatingFuture
SObjectService
SObjectServiceTest
ScheduleHandler
ScheduledDispatcher
TestVerificationService
Test_DMLManager
TriggerDispatcherBase
TriggerFactory
TriggerHandlerBase
TriggerParameters

TriggerParameters

public class TriggerParameters
DescriptionThis class holds the trigger parameters.
AuthorScott Covert
Date11/9/2014

  Properties

isExecuting
public Boolean isExecuting
Stores execution state of trigger
newList
public List<SObject> newList
Stores Trigger.new
newMap
public Map<Id, SObject> newMap
Stores Trigger.newMap
oldList
public List<SObject> oldList
Stores Trigger.old
oldMap
public Map<Id, SObject> oldMap
Stores Trigger.oldMap
tEvent
public TriggerEvent tEvent
Current trigger event
TriggerEvent
public Enum TriggerEvent
An enum that represents the trigger event
triggerObject
public String triggerObject
SObject for currently executing trigger

Methods

  TriggerParameters

public TriggerParameters(List<SObject> olist, List<SObject> nlist, Map<Id, SObject> omap, Map<Id, SObject> nmap, Boolean ib, Boolean ia, Boolean id, Boolean ii, Boolean iu, Boolean iud, Boolean ie)
DescriptionConstructs the TriggerParameter object.
AuthorScott Covert
Date11/9/2014
Parameters
ListA list of records with the state of 'before' event.
ListA list of records with the state of 'after' event.
MapA map of records with the state of 'before' event.
MapA map of records with the state of 'after' event.
BooleanA flag to indicate 'isBefore' event.
BooleanA flag to indicate 'isAfter' event.
BooleanA flag to indicate 'isDelete' event.
BooleanA flag to indicate 'isInsert' event.
BooleanA flag to indicate 'isUpdate' event.
BooleanA flag to indicate 'isUnDelete' event.
BooleanA flag to indicate 'isExecuting'.