public interface RecordRoleTriggerContext
RecordRoleTrigger
. Includes the contextual information needed to invoke a trigger.Modifier and Type | Method and Description |
---|---|
String |
getObjectName()
Retrieves the name of the object for which the trigger is invoked.
|
List<RecordRoleChange> |
getRecordRoleChanges()
Retrieves the changed record roles which caused the trigger to fire.
|
RecordRoleEvent |
getRecordRoleEvent()
Retrieves the
RecordRoleEvent that occurred which caused this trigger to fire. |
List<RecordRoleChange> getRecordRoleChanges()
The returned List will always have at least one element.
RecordRoleEvent getRecordRoleEvent()
RecordRoleEvent
that occurred which caused this trigger to fire.
Note that this can be important since some RecordRoleTrigger
s are wired up to
multiple Events. In that case, this will distinguish which one of those multiple Events are
occurring when the trigger is actually invoked.
String getObjectName()
Copyright © Veeva Systems 2017–2019. All rights reserved.