public class KimImporterAndExporter extends Object implements org.kuali.rice.core.framework.impex.xml.XmlLoader, org.kuali.rice.krad.bo.Exporter
TODO: Do we need to restrict XML additions or updates based on which user is performing the ingestion?
TODO: It may be best to make this class into a "service" instead.
| Constructor and Description |
|---|
KimImporterAndExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(Class<?> dataObjectClass,
List<? extends Object> dataObjects,
String exportFormat,
OutputStream outputStream) |
List<String> |
getSupportedFormats(Class<?> dataObjectClass) |
void |
loadXml(InputStream inputStream,
String principalId) |
public KimImporterAndExporter()
public void loadXml(InputStream inputStream, String principalId)
loadXml in interface org.kuali.rice.core.framework.impex.xml.XmlLoaderXmlLoader.loadXml(java.io.InputStream, java.lang.String)public void export(Class<?> dataObjectClass, List<? extends Object> dataObjects, String exportFormat, OutputStream outputStream) throws IOException, org.kuali.rice.krad.exception.ExportNotSupportedException
export in interface org.kuali.rice.krad.bo.ExporterIOExceptionorg.kuali.rice.krad.exception.ExportNotSupportedExceptionExporter.export(java.lang.Class, java.util.List, java.lang.String, java.io.OutputStream)public List<String> getSupportedFormats(Class<?> dataObjectClass)
getSupportedFormats in interface org.kuali.rice.krad.bo.ExporterExporter.getSupportedFormats(java.lang.Class)Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.