@Service public class VcfImporterService extends Object implements ImportService
| Constructor and Description |
|---|
VcfImporterService(FileRepositoryCollectionFactory fileRepositoryCollectionFactory,
DataService dataService,
PermissionSystemService permissionSystemService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canImport(File file,
RepositoryCollection source) |
EntityImportReport |
doImport(RepositoryCollection source,
DatabaseAction databaseAction,
String defaultPackage) |
boolean |
getMustChangeEntityName() |
int |
getOrder() |
List<DatabaseAction> |
getSupportedDatabaseActions() |
Set<String> |
getSupportedFileExtensions() |
void |
importVcf(File vcfFile) |
EntitiesValidationReport |
validateImport(File file,
RepositoryCollection source) |
@Autowired public VcfImporterService(FileRepositoryCollectionFactory fileRepositoryCollectionFactory, DataService dataService, PermissionSystemService permissionSystemService)
public EntityImportReport doImport(RepositoryCollection source, DatabaseAction databaseAction, String defaultPackage)
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 int getOrder()
getOrder in interface org.springframework.core.Orderedpublic List<DatabaseAction> getSupportedDatabaseActions()
getSupportedDatabaseActions in interface ImportServicepublic boolean getMustChangeEntityName()
getMustChangeEntityName in interface ImportServicepublic Set<String> getSupportedFileExtensions()
getSupportedFileExtensions in interface ImportServiceCopyright © 2015. All Rights Reserved.