Package step.core.imports
Class PlanImporter
- java.lang.Object
-
- step.core.imports.GenericDBImporter<Plan,PlanAccessor>
-
- step.core.imports.PlanImporter
-
- All Implemented Interfaces:
Importer<Plan,PlanAccessor>
public class PlanImporter extends GenericDBImporter<Plan,PlanAccessor>
-
-
Field Summary
-
Fields inherited from class step.core.imports.GenericDBImporter
context, entity, tmpCollection
-
-
Constructor Summary
Constructors Constructor Description PlanImporter(GlobalContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.mongodb.BasicDBObject
applyMigrationTasks(ImportConfiguration importConfig, com.mongodb.BasicDBObject p)
protected void
finalizeImport(Version version, ObjectEnricher objectEnricher)
void
importMany(ImportConfiguration importConfig, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Methods inherited from class step.core.imports.GenericDBImporter
getOrInitTmpCollection, getTmpCollection, importOne, init, saveToTmpCollection, saveWithNewId
-
-
-
-
Constructor Detail
-
PlanImporter
public PlanImporter(GlobalContext context)
-
-
Method Detail
-
importMany
public void importMany(ImportConfiguration importConfig, com.fasterxml.jackson.databind.ObjectMapper mapper) throws IOException
- Specified by:
importMany
in interfaceImporter<Plan,PlanAccessor>
- Overrides:
importMany
in classGenericDBImporter<Plan,PlanAccessor>
- Throws:
IOException
-
finalizeImport
protected void finalizeImport(Version version, ObjectEnricher objectEnricher)
-
applyMigrationTasks
protected com.mongodb.BasicDBObject applyMigrationTasks(ImportConfiguration importConfig, com.mongodb.BasicDBObject p)
- Overrides:
applyMigrationTasks
in classGenericDBImporter<Plan,PlanAccessor>
-
-