Private EventProtected AfterProtected AfterProtected AfterProtected ArrayProtected ArrayOptional contextUser: UserInfoProtected BeforeProtected BeforeProtected BeforeProtected CheckProtected CreateProtected DeleteProtected EmitProtected FilterFilters encrypted field values before sending to the API client.
For each encrypted field in the entity:
Name of the entity
The data object containing field values
User context for encryption operations
The filtered data object
Protected GetProtected GetProtected ListenProtected MapMaps field names to their GraphQL-safe CodeNames and handles encryption for API responses.
For encrypted fields coming from raw SQL queries (not entity objects):
The entity name
The data object with field values
Optional contextUser: UserInfoOptional user context for decryption (required for encrypted fields)
The processed data object
Protected RunOptimized RunViewGenericInternal implementation with:
Protected RunOptimized implementation that:
RunViewsWithCacheCheck - Smart cache validation for batch RunViews. For each view, if cacheStatus is provided, the server checks if the cache is current. If current, returns status='current' with no data. If stale, returns status='stale' with fresh data.
Protected TestThis routine compares the OldValues property in the input object to the values in the DB that we just loaded. If there are differences, we need to check to see if the client is trying to update any of those fields (e.g. overlap). If there is overlap, we throw an error. If there is no overlap, we can proceed with the update even if the DB Values and the ClientOldValues are not 100% the same, so long as there is no overlap in the specific FIELDS that are different.
ASSUMES: input object has an OldValues___ property that is an array of Key/Value pairs that represent the old values of the record that the client is trying to update.
Protected UpdateProtected createProtected createProtected findProtected getProtected packageSPParamProtected processProtected safe
Filters encrypted fields for an array of data objects