fferpcore.WithoutSharingDataSourceAdapterglobal with sharing class WithoutSharingDataSourceAdapter extends DataSource Decorate a fferpcore.DataSource via a Without Sharing class, to cause the DataSource's operations to be performed without sharing restrictions. This class extends fferpcore.DataSource Methods
WithoutSharingDataSourceAdapterglobal WithoutSharingDataSourceAdapter(fferpcore.DataSource targetDataSource) Input Parameters
Sample Code
requireFieldglobal override void requireField(SObjectField field) Ask that this data source to query the given field. This method will be called by the Declarative Publish framework or by custom message Nodes during the preparation phase of declarative message building. Input Parameters
Sample Code
requireLookupFieldglobal override fferpcore.DataSource requireLookupField(SObjectField field) Ask that this data source to query the given lookup. This method will be called by the Declarative Publish framework or by custom message Nodes during the preparation phase of declarative message building. Input Parameters
Return ValueA DataSource representing the target of the look up. Sample Code
requireOneToManyFieldglobal override fferpcore.DataSource requireOneToManyField(BackReference backReference) Ask that this data source to query the given Master/Detail relationship. This method will be called by the Declarative Publish framework or by custom message Nodes during the preparation phase of declarative message building. Input Parameters
Return ValueA DataSource representing the target of the lookup. Sample Code
runQueryglobal override Iterator<Row> runQuery() Load the data ignoring sharing restrictions. This must only be performed on the top level DataSource, not any of the DataSources returned by the requireLookupField or requireOneToManyField methods. This method will be called by the Declarative Publish framework. Return ValueAn iterator of fferpcore.DataSource.Row objects containing the required data. Sample Code
|