this.importRecordCurator.create(record);
}
private ImportUpstreamConsumer createImportUpstreamConsumer(Owner owner,
UpstreamConsumer uc) {
ImportUpstreamConsumer iup = null;
if (uc == null) {
uc = owner.getUpstreamConsumer();
}
if (uc != null) {
iup = new ImportUpstreamConsumer();
iup.setOwnerId(uc.getOwnerId());
iup.setName(uc.getName());
iup.setUuid(uc.getUuid());
iup.setType(uc.getType());
iup.setWebUrl(uc.getWebUrl());
iup.setApiUrl(uc.getApiUrl());
}
return iup;
}