Interface EntitiesExporter
- All Known Implementing Classes:
DefaultSaxEntitiesExporter
public interface EntitiesExporter
-
Method Summary
Modifier and TypeMethodDescriptionlongexportEntities(OutputStream outputStream, SortedSet<String> entityNames, EntityXmlWriter entityWriter, ApplicationUser exportingUser) Exports the entities in the TreeSet to the outputStream.
-
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 toentityNames- - the entities names to write outentityWriter- - an XML output helper that can write generic values to XMLexportingUser- - the user performing the export operation- Returns:
- the number of individual entities written
- Throws:
IOExceptionorg.ofbiz.core.entity.GenericEntityException
-