'This will store the details from an importJob
@todo: parameter descriptions?'

def _store_import_details(self, job_id, key):

    itable = S3ImportJob.define_item_table()
    query = ((itable.job_id == job_id) & (itable.tablename == self.controller_tablename))
    rows = current.db(query).select(itable.data, itable.error)
    items = [dict(data=row.data, error=row.error) for row in rows]
    self.importDetails[key] = items
