if (op == OperationInfo.insert)
numInserts = numSuccesses;
else if (op != null && op != OperationInfo.upsert)
numUpdates = numSuccesses;
else
throw new UnsupportedOperationException(op + " not supported");
return runProcessWithAttachmentListener(argMap, true, null, numInserts, numUpdates, numFailures,
myAttachmentTemplateListener, files);
}