@Service public class VcfImporterService extends Object implements ImportService
| Constructor and Description |
|---|
VcfImporterService(FileRepositoryCollectionFactory fileRepositoryCollectionFactory,
DataService dataService,
SearchService searchService,
RepositoryDecoratorFactory repositoryDecoratorFactory,
PermissionSystemService permissionSystemService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canImport(File file,
RepositoryCollection source) |
EntityImportReport |
doImport(RepositoryCollection source,
DatabaseAction databaseAction) |
boolean |
getMustChangeEntityName() |
int |
getOrder() |
List<DatabaseAction> |
getSupportedDatabaseActions() |
void |
importVcf(File vcfFile) |
EntityImportReport |
importVcf(Repository inRepository,
int batchSize,
List<EntityMetaData> addedEntities) |
EntitiesValidationReport |
validateImport(File file,
RepositoryCollection source) |
@Autowired public VcfImporterService(FileRepositoryCollectionFactory fileRepositoryCollectionFactory, DataService dataService, SearchService searchService, RepositoryDecoratorFactory repositoryDecoratorFactory, PermissionSystemService permissionSystemService)
public EntityImportReport doImport(RepositoryCollection source, DatabaseAction databaseAction)
doImport in interface ImportServicepublic EntitiesValidationReport validateImport(File file, RepositoryCollection source)
validateImport in interface ImportServicepublic boolean canImport(File file, RepositoryCollection source)
canImport in interface ImportServicepublic void importVcf(File vcfFile) throws IOException
IOExceptionpublic EntityImportReport importVcf(Repository inRepository, int batchSize, List<EntityMetaData> addedEntities) throws IOException
IOExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic List<DatabaseAction> getSupportedDatabaseActions()
getSupportedDatabaseActions in interface ImportServicepublic boolean getMustChangeEntityName()
getMustChangeEntityName in interface ImportServiceCopyright © 2015. All Rights Reserved.