com.evolveum.midpoint.model.importer
Class ObjectImporter

java.lang.Object
  extended by com.evolveum.midpoint.model.importer.ObjectImporter

@Component
public class ObjectImporter
extends java.lang.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(java.io.InputStream input, ImportOptionsType options, Task task, OperationResult parentResult, RepositoryService repository)
           
protected  void resolveReferences(ObjectType object, RepositoryService repository, OperationResult result)
           
protected  PropertyContainer validateWithDynamicSchemas(ObjectType object, org.w3c.dom.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(java.io.InputStream input,
                          ImportOptionsType options,
                          Task task,
                          OperationResult parentResult,
                          RepositoryService repository)

validateWithDynamicSchemas

protected PropertyContainer validateWithDynamicSchemas(ObjectType object,
                                                       org.w3c.dom.Element objectElement,
                                                       RepositoryService repository,
                                                       OperationResult objectResult)

resolveReferences

protected void resolveReferences(ObjectType object,
                                 RepositoryService repository,
                                 OperationResult result)


Copyright © 2011 evolveum. All Rights Reserved.