com.evolveum.midpoint.model.importer
Class ObjectImporter

java.lang.Object
  extended by 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

Constructor Summary
ObjectImporter()
           
 
Method Summary
 void importObjects(InputStream input, ImportOptionsType options, Task task, OperationResult parentResult, RepositoryService repository)
           
protected
<T extends ObjectType>
void
resolveReferences(PrismObject<T> object, RepositoryService repository, boolean enforceReferentialIntegrity, OperationResult result)
           
protected
<T extends ObjectType>
void
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
 

Constructor Detail

ObjectImporter

public ObjectImporter()
Method Detail

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.