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

All Known Implementing Classes:
DefaultSaxEntitiesExporter

public interface EntitiesExporter


Method Summary
 long exportEntities(java.io.OutputStream outputStream, java.util.SortedSet<java.lang.String> entityNames, EntityXmlWriter entityWriter, com.opensymphony.user.User exportingUser)
          Exports the entities in the TreeSet to the outputStream.
 

Method Detail

exportEntities

long exportEntities(java.io.OutputStream outputStream,
                    java.util.SortedSet<java.lang.String> entityNames,
                    EntityXmlWriter entityWriter,
                    com.opensymphony.user.User exportingUser)
                    throws java.io.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:
java.io.IOException
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2010 Atlassian. All Rights Reserved.