@Service public class OntologyImportService extends Object implements ImportService
| Constructor and Description |
|---|
OntologyImportService(FileRepositoryCollectionFactory fileRepositoryCollectionFactory,
DataService dataService,
SearchService searchService,
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() |
LinkedHashMap<String,Boolean> |
integrationTestMetaData(MetaDataService metaDataService,
RepositoryCollection repositoryCollection,
String defaultPackage) |
EntitiesValidationReport |
validateImport(File file,
RepositoryCollection source) |
@Autowired public OntologyImportService(FileRepositoryCollectionFactory fileRepositoryCollectionFactory, DataService dataService, SearchService searchService, PermissionSystemService permissionSystemService)
@Transactional 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 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 ImportServicepublic LinkedHashMap<String,Boolean> integrationTestMetaData(MetaDataService metaDataService, RepositoryCollection repositoryCollection, String defaultPackage)
integrationTestMetaData in interface ImportServiceCopyright © 2015. All Rights Reserved.