def METHOD_NAME(self, importer):
    """Processes the bulk data using the importer and returns a list of
    status dictionaries for each line of the import.
    """
    data = self.get_raw_data()
    lines = data.split('\n')
    processed = []
    for line_num, objects in importer:
        if isinstance(objects, BulkParseError):
            processed.append(
                {
                    'status': (
                        isinstance(objects, BulkImportError) and 'other' or 'syntax'
                    ),
                    'line_number': line_num,
                    'input': lines[line_num - 1],
                    'message': objects,
                }
            )
        else:
            processed.append(
                {
                    'status': 'ok',
                    'line_number': line_num,
                    'input': lines[line_num - 1],
                    'message': '',
                }
            )
    return processed