org.opencrx.kernel.backend
Class Importer

java.lang.Object
  extended by org.opencrx.kernel.backend.Importer

public class Importer
extends Object


Field Summary
protected  Backend backend
           
static String MIME_TYPE
           
protected  RequestCollection reader
           
protected static Path REALM_PATTERN
           
protected  RequestCollection target
           
 
Constructor Summary
Importer(Backend backend, RequestCollection reader)
           
Importer(Backend backend, RequestCollection target, RequestCollection reader)
           
 
Method Summary
 BasicObject importItem(byte[] item, short locale, String targetSegment, List<String> errors, List<String> report)
           
 void removeForeignAndDerivedAttributes(DataproviderObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final String MIME_TYPE
See Also:
Constant Field Values

REALM_PATTERN

protected static final Path REALM_PATTERN

backend

protected final Backend backend

target

protected final RequestCollection target

reader

protected final RequestCollection reader
Constructor Detail

Importer

public Importer(Backend backend,
                RequestCollection target,
                RequestCollection reader)

Importer

public Importer(Backend backend,
                RequestCollection reader)
Method Detail

removeForeignAndDerivedAttributes

public void removeForeignAndDerivedAttributes(DataproviderObject object)
                                       throws ServiceException
Throws:
ServiceException

importItem

public BasicObject importItem(byte[] item,
                              short locale,
                              String targetSegment,
                              List<String> errors,
                              List<String> report)
                       throws ServiceException
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.