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  org.openmdx.application.dataprovider.cci.RequestCollection reader
           
protected static org.openmdx.base.naming.Path REALM_PATTERN
           
protected  org.openmdx.application.dataprovider.cci.RequestCollection target
           
 
Constructor Summary
Importer(Backend backend, org.openmdx.application.dataprovider.cci.RequestCollection reader)
           
Importer(Backend backend, org.openmdx.application.dataprovider.cci.RequestCollection target, org.openmdx.application.dataprovider.cci.RequestCollection reader)
           
 
Method Summary
 BasicObject importItem(byte[] item, short locale, String targetSegment, List<String> errors, List<String> report)
           
 void removeForeignAndDerivedAttributes(org.openmdx.application.dataprovider.cci.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 org.openmdx.base.naming.Path REALM_PATTERN

backend

protected final Backend backend

target

protected final org.openmdx.application.dataprovider.cci.RequestCollection target

reader

protected final org.openmdx.application.dataprovider.cci.RequestCollection reader
Constructor Detail

Importer

public Importer(Backend backend,
                org.openmdx.application.dataprovider.cci.RequestCollection target,
                org.openmdx.application.dataprovider.cci.RequestCollection reader)

Importer

public Importer(Backend backend,
                org.openmdx.application.dataprovider.cci.RequestCollection reader)
Method Detail

removeForeignAndDerivedAttributes

public void removeForeignAndDerivedAttributes(org.openmdx.application.dataprovider.cci.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-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.