This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.spinnerHolder{ | |
position: relative !important; | |
display: inline-block !important; | |
width: 2% !important; | |
} | |
.slds-spinner_container { | |
position: relative !important ; | |
display: inline-block !important; | |
width: 2% !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Name: ExecuteDmlQueuableBatches | |
Description : Utility class that chunks list of sobject records and does DML by chained queuable jobs with | |
the desired batch size | |
Author : Raja Karuppasamy | |
*/ | |
public with sharing class ExecuteDmlQueuableBatches implements Queueable { | |
private Map<Integer, List<Sobject>> records; | |
private String action; //insert or update or upsert or delete | |
private Integer batchSize; | |
private Integer currentBatch; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Name: CrudFlsUtility | |
Description : Utility class that contains methods to help in CRUD & FLS checks | |
Author : Raja Karuppasamy | |
*/ | |
public with sharing class CrudFlsUtility { | |
/* | |
Purpose: Used to check CRUD & FLS access for the logged in user using StripInaccessible feature | |
Input(s): records - List of Sobjects that you either queried already or going to be used in DML | |
accessCheck - AccessType enum - CREATABLE/READBLE/UPDATABLE/UPSERTABLE | |
checkCRUD - Flag to enforce CRUD check |