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 MidpointConfiguration
configuration
protected static String
DOT_CLASS
protected ModelService
model
protected static String
OPERATION_IMPORT_OBJECT
protected static String
OPERATION_INITIAL_OBJECTS_IMPORT
protected PrismContext
prismContext
protected com.evolveum.midpoint.task.api.TaskManager
taskManager
-
Constructor Summary
Constructors Constructor Description DataImport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
init()
protected <O extends ObjectType>
voidpreImportUpdate(PrismObject<O> object)
protected org.springframework.security.core.context.SecurityContext
provideFakeSecurityContext()
void
setConfiguration(MidpointConfiguration configuration)
void
setModel(ModelService model)
void
setPrismContext(PrismContext prismContext)
void
setTaskManager(com.evolveum.midpoint.task.api.TaskManager taskManager)
protected void
sortFiles(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 com.evolveum.midpoint.task.api.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(com.evolveum.midpoint.task.api.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)
-
-