public interface Exportable extends EntityProvider
EntityProvider interface| Modifier and Type | Method and Description |
|---|---|
String |
exportData(String reference,
Search search,
OutputStream data,
boolean destructive,
Map<String,Object> params)
Request an export stream of data from an entity provider for all data related to a specific
entity (this will probably not be an entity in this provider), search, and parameters
This is primarily to support the use case archiving and exporting data from a system which related to a user or a site/group |
getEntityPrefixString exportData(String reference, Search search, OutputStream data, boolean destructive, Map<String,Object> params)
reference - a globally unique reference to an entity, this is the entity that the exported data
should be associated with (e.g. a reference to a site object or user)search - (optional) a search which should be used to limit the data which is exported, may be nulldata - a stream to put the export data into which will be saved by the archiver/exporterdestructive - if false then the data being exported is not changed,
if true then the data should be deleted or hidden (depending on the internal operation of the entity)params - (optional) incoming set of parameters which may be used to send data specific to this request, may be nullCopyright © 2023. All rights reserved.