Package de.julielab.concepts.db.core.spi
Interface ConceptInserter
-
- All Superinterfaces:
DatabaseConnected
- All Known Implementing Classes:
FileDatabaseConceptInserter,ServerPluginConceptInserter
public interface ConceptInserter extends DatabaseConnected
Concept inserters require an instance ofImportConceptswhich is delivered by theConceptCreationService. Concept insertion is a bit special within the Concept Manager infsofar that it does not represent a point of extension. Concept creation, facet creation and data export may all be extended by custom classes. This is not necessary for insertion because the input format is always the same: An instance ofImportConcepts. There is a fixed set of service providers for different connection types but no further flexibility is required. This is why the interface does not specify the hasName() method common to the other interfaces - its implementations are only identified with regard to their supported connection, not by their processing logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinsertConcepts(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> importConfiguration, de.julielab.neo4j.plugins.datarepresentation.ImportConcepts concepts)-
Methods inherited from interface de.julielab.concepts.db.core.spi.DatabaseConnected
setConnection
-
-
-
-
Method Detail
-
insertConcepts
void insertConcepts(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> importConfiguration, de.julielab.neo4j.plugins.datarepresentation.ImportConcepts concepts) throws ConceptInsertionException- Throws:
ConceptInsertionException
-
-