Foundations Apex API Developer Reference

fferpcore.DataTargetWork

global interface DataTargetWork extends Disposable

Work carried out by a DataTargetRoot.

This class extends fferpcore.Disposable

Methods

commitWork

Map<Object, DataTargetWorkResult> commitWork(Boolean allOrNone)

Commit any changes to the DataTargetRoot.

Input Parameters

Name Type Description
allOrNone Boolean Whether to commit the changes as one transaction, reverting in the case of an error.

Return Value

A map of result objects keyed by the target correlation key, each stating whether the commit was successful and any associated errors.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.