ImportExportServiceglobal with sharing class ImportExportService This class is the main entry point for the Import/Export service Methods
exportglobal static String export(Set<Id> ids) Creates a JSON string that selects and serializes the record data for the each Id. Input Parameters
Return ValueA JSON string that contains the export data deserializeglobal static ImportDatabaseRequestContainer deserialize(String json) Creates a DatabaseRequestContainer from a valid Import JSON string. Input Parameters
Return ValueA container that contains the new, conflicting and invalid requests based on the data in the JSON data writeRequestsglobal static void writeRequests(ImportDatabaseRequestContainer requestContainer) Goes through all contained ImportDatabaseRequests and acts on them based on the selected option Input Parameters
|