fferpcore.ihcc_IDatabaseResultglobal interface ihcc_IDatabaseResult Representation of a database result that can be passed between namespaces. Allows ihcc to pass results back to the integration implementations. This is the same as fflib_DatabaseResult but global Methods
getRecordIdId getRecordId() Get the SObject record id that corresponds to the save or delete result Return ValueRecord id which this result corresponds to getRecordSObject getRecord() Get the SObject record that corresponds to the save or delete result Return ValueRecord which this result corresponds to isCreatedBoolean isCreated() Will be applicable only for upsert operations Return ValueA boolean value that is set to true if the record was created, false if the record was updated by an upsert operation. Null will be returned for operations other than upsert. getErrorsSizeInteger getErrorsSize() Return the size of the list of Database.Error on the save or delete result Return ValueThe number of errors getErrorMessageString getErrorMessage(Integer errorIndex) Get the error message at the specified index Input Parameters
Return ValueThe error message at the specified index getErrorFieldsList<String> getErrorFields(Integer errorIndex) Get the SObject fields related to the error at the specified index Input Parameters
Return ValueThe list of fields related to the error at the specified index getErrorStatusCodeStatusCode getErrorStatusCode(Integer errorIndex) Get the status code for the error at the specified index Input Parameters
Return ValueThe status code value of the error at the specified index isLimitReachedBoolean isLimitReached() Return ValueTrue if the process limits were reached preventing execution |