'@todo: docstring?'

def commit_items(self, upload_id, items):

    self._commit_import_job(upload_id, items)
    result = self._update_upload_job(upload_id)
    if self.ajax:
        return result
    self._display_completed_job(result)
    redirect(URL(r=self.request, f=self.function, args=['import']))
