Package com.evolveum.midpoint.init
Class DataImport
- java.lang.Object
 - 
- com.evolveum.midpoint.init.DataImport
 
 
- 
- Direct Known Subclasses:
 InitialDataImport,PostInitialDataImport
public abstract class DataImport extends Object
- Author:
 - lazyman
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected MidpointConfigurationconfigurationprotected static StringDOT_CLASSprotected ModelServicemodelprotected static StringOPERATION_IMPORT_OBJECTprotected static StringOPERATION_INITIAL_OBJECTS_IMPORTprotected PrismContextprismContextprotected TaskManagertaskManager 
- 
Constructor Summary
Constructors Constructor Description DataImport() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidinit()protected <O extends ObjectType>
voidpreImportUpdate(PrismObject<O> object)protected org.springframework.security.core.context.SecurityContextprovideFakeSecurityContext()voidsetConfiguration(MidpointConfiguration configuration)voidsetModel(ModelService model)voidsetPrismContext(PrismContext prismContext)voidsetTaskManager(TaskManager taskManager)protected voidsortFiles(File[] files) 
 - 
 
- 
- 
Field Detail
- 
DOT_CLASS
protected static final String DOT_CLASS
 
- 
OPERATION_INITIAL_OBJECTS_IMPORT
protected static final String OPERATION_INITIAL_OBJECTS_IMPORT
 
- 
OPERATION_IMPORT_OBJECT
protected static final String OPERATION_IMPORT_OBJECT
 
- 
prismContext
@Autowired protected PrismContext prismContext
 
- 
model
protected ModelService model
 
- 
taskManager
protected TaskManager taskManager
 
- 
configuration
@Autowired protected MidpointConfiguration configuration
 
 - 
 
- 
Method Detail
- 
setModel
public void setModel(ModelService model)
 
- 
setPrismContext
public void setPrismContext(PrismContext prismContext)
 
- 
setTaskManager
public void setTaskManager(TaskManager taskManager)
 
- 
setConfiguration
public void setConfiguration(MidpointConfiguration configuration)
 
- 
init
public abstract void init() throws SchemaException- Throws:
 SchemaException
 
- 
provideFakeSecurityContext
protected org.springframework.security.core.context.SecurityContext provideFakeSecurityContext() throws SchemaException- Throws:
 SchemaException
 
- 
preImportUpdate
protected <O extends ObjectType> void preImportUpdate(PrismObject<O> object)
 
- 
sortFiles
protected void sortFiles(File[] files)
 
 - 
 
 -