Interface RecordModificationResult


@Immutable public interface RecordModificationResult

Represents the result of a record modification such as a create, delete, or insert.

All implementations must be immutable and therefore thread-safe.

See Also: DataApi.create(Record), DataApi.update(Record), DataApi.delete(String, String), DataApi.commitUnitOfWork(UnitOfWork)

Method Summary 

Modifier and TypeMethodDescription
java.lang.StringgetId()Returns the id of the modified record.

Method Details 

getId 

@Nonnull java.lang.String getId()

Returns the id of the modified record.

Returns: The id of the modified record.

Product Retirement Announcement

Salesforce Functions is no longer available for purchase or renewal. To preserve the capabilities that Salesforce Functions provided to your org, deploy an alternative solution before your existing order term ends. See Salesforce Functions Retirement for more information on migrating your functions. Contact your Salesforce Account Executive for more information on Heroku.