com.evolveum.midpoint.model.importer
Class ObjectImporter
java.lang.Object
com.evolveum.midpoint.model.importer.ObjectImporter
@Component
public class ObjectImporter
- extends Object
Extension of validator used to import objects to the repository.
In addition to validating the objects the importer also tries to resolve the
references and may also do other repository-related stuff.
- Author:
- Radovan Semancik
Method Summary |
void |
importObjects(InputStream input,
ImportOptionsType options,
Task task,
OperationResult parentResult,
RepositoryService repository)
|
protected
|
resolveReferences(PrismObject<T> object,
RepositoryService repository,
boolean enforceReferentialIntegrity,
OperationResult result)
|
protected
|
validateWithDynamicSchemas(PrismObject<T> object,
Element objectElement,
RepositoryService repository,
OperationResult objectResult)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectImporter
public ObjectImporter()
importObjects
public void importObjects(InputStream input,
ImportOptionsType options,
Task task,
OperationResult parentResult,
RepositoryService repository)
validateWithDynamicSchemas
protected <T extends ObjectType> void validateWithDynamicSchemas(PrismObject<T> object,
Element objectElement,
RepositoryService repository,
OperationResult objectResult)
resolveReferences
protected <T extends ObjectType> void resolveReferences(PrismObject<T> object,
RepositoryService repository,
boolean enforceReferentialIntegrity,
OperationResult result)
Copyright © 2013 evolveum. All Rights Reserved.