@Component public class EntityImportService extends Object
| Constructor and Description |
|---|
EntityImportService() |
| Modifier and Type | Method and Description |
|---|---|
int |
importEntity(String entityName,
Repository source,
DatabaseAction dbAction) |
void |
setDataService(DataService dataService) |
void |
update(Repository repo,
List<? extends Entity> entities,
DatabaseAction dbAction,
String... keyNames) |
@Autowired public void setDataService(DataService dataService)
@Transactional public int importEntity(String entityName, Repository source, DatabaseAction dbAction)
public void update(Repository repo, List<? extends Entity> entities, DatabaseAction dbAction, String... keyNames)
Copyright © 2016. All Rights Reserved.