![]() Human Capital Management Apex API Developer Reference
|
vanahcm.ChangedSObjectFilteringDataSourceglobal class ChangedSObjectFilteringDataSource extends fferpcore.DataSource Wrap a DataSource such that result rows are filtered to only include rows with changes in the requested fields. Filtering is only performed at the immediate object. Relationships are not followed, so a change to a related object's field is not detected. Methods
ChangedSObjectFilteringDataSourceglobal ChangedSObjectFilteringDataSource(fferpcore.DataSource subject, Map<Id, SObject> prior, SObjectField keyField) 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//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some 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//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some sample code requireOneToManyFieldglobal override fferpcore.DataSource requireOneToManyField(BackReference myBackReference) 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//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some sample code runQueryglobal override Iterator<fferpcore.DataSource.Row> runQuery() Load the data. 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//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some sample code |