com.atlassian.jira.action.admin.export
Interface EntitiesExporter

All Known Implementing Classes:
DefaultSaxEntitiesExporter

public interface EntitiesExporter


Method Summary
 long exportEntities(OutputStream outputStream, TreeSet entityNames, EntityXmlWriter entityWriter, User exportingUser)
          Exports the entities in the TreeSet to the outputStream.
 

Method Detail

exportEntities

long exportEntities(OutputStream outputStream,
                    TreeSet entityNames,
                    EntityXmlWriter entityWriter,
                    User exportingUser)
                    throws IOException,
                           org.ofbiz.core.entity.GenericEntityException
Exports the entities in the TreeSet to the outputStream.

Parameters:
outputStream - - the stream to write to
entityNames - - the entities names to write out
entityWriter - - an XML output helper that can write generic values to XML
exportingUser - - the user performing the export operation
Returns:
the number of individual entities written
Throws:
IOException
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2009 Atlassian. All Rights Reserved.