AntonyThorpe\Consumer\BulkLoaderResult
Store result information about a BulkLoader import
Synopsis
class BulkLoaderResult
extends BulkLoader_Result
{
- // members
- protected array $skipped = ;
- // methods
- public int SkippedCount()
- public void addSkipped()
- public array getMessageList()
- public string getMessage()
- public string getMessageType()
- public ArrayList getCreated()
- public ArrayList getUpdated()
- public ArrayList getDeleted()
- public ArrayList getData()
- public void addCreated()
- public void addUpdated()
- protected array getChangedFields()
- public void addDeleted()
- protected array createResult()
- protected ArrayList mapToArrayList()
Hierarchy
Extends
- SilverStripe\Dev\BulkLoader_Result
Members
protected
- $skipped
—
array
Keep track of skipped records.
Methods
protected
- createResult() — Create the Result for Deleted and Created items
- getChangedFields() — Modelled on the getChangedFields of DataObject, with the addition of the variable's type
- mapToArrayList()
public
- SkippedCount()
- addCreated()
- addDeleted()
- addSkipped()
- addUpdated()
- getCreated() — Returns all created objects. Each object might contain specific importer feedback in the "_BulkLoaderMessage" property.
- getData() — Prepare the boby for an email or build task
- getDeleted() — Return all deleted objects
- getMessage() — Genenrate a human-readable result message.
- getMessageList() — Get an array of messages describing the result.
- getMessageType() — Provide a useful message type, based on result.
- getUpdated() — Return all updated objects