Interface EntitiesExporter

All Known Implementing Classes:
DefaultSaxEntitiesExporter

public interface EntitiesExporter
  • Method Details

    • exportEntities

      long exportEntities(OutputStream outputStream, SortedSet<String> entityNames, EntityXmlWriter entityWriter, ApplicationUser 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