/** {@inheritDoc} */ @Override protected void saveModel( ImportJobEditViewModel viewModel, ImportJobEditBusinessModel businessModel) { ImportJob importJob = viewModel.getImportJob(); ImportJobMsg result = businessModel.save(importJob); viewModel.setImportJob(result.getImportJob()); }
@Override protected ImportJobMsg resolveImportJob(ImportJobMsg msg) throws ResolveException { ImportJobMsg result = new ImportJobMsg(); result.setImportJob( ImportElementResolver.resolve(getPersistenceManager(), msg.getImportJob())[0]); return result; }