Interface ReferenceGenerator
-
- All Known Implementing Classes:
Counter
public interface ReferenceGenerator
SObject tree Composite API interface forreferenceId
generation. For each object given to thenextReferenceFor(Object)
method, the implementation should generate reference identifiers. Reference identifiers need to be unique within one SObject tree request and should start with alphanumeric character. For example you can provide yourReferenceGenerator
implementation that uses identities within your own system as references, i.e. primary keys of records in your database.- See Also:
Counter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
nextReferenceFor(Object object)
Generates unique, within a request, reference identifier for the given object.
-