Class TreeNodeExporter
java.lang.Object
net.datenwerke.eximport.ex.ExporterImpl<TreeNodeExportItemConfig>
net.datenwerke.treedb.ext.service.eximport.TreeNodeExporter
- All Implemented Interfaces:
Exporter
- Direct Known Subclasses:
DashboardManagerExporter,DatasinkManagerExporter,DatasourceManagerExporter,FileServerExporter,RemoteServerManagerExporter,ReportManagerExporter,TransportManagerExporter,TsDiskExporter,UserManagerExporter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanconsumes(ExportItemConfig<?> config) Tells the exportservice whether this exporter can handle the given config item.generateExportConfig(Object object) Asks the exporter to generate an export config for the given object.Returns the set of reference types that are allowed to be exported when encountered during the export of this tree.getConfigFor(Object value) voidsetEntityExporter(EntityObjectExporterFactory entityExporterFactory) Methods inherited from class net.datenwerke.eximport.ex.ExporterImpl
addEnclosed, addEnclosed, addReferences, addReferences, configure, consumesEnclosedObject, export, exportEnclosed, getDisplayNameFor, hasConfigFor, setReflectionServicesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.datenwerke.eximport.ex.Exporter
getExporterId
-
Field Details
-
ACL_FIELD_NAME
- See Also:
-
OWNER_FIELD_NAME
- See Also:
-
-
Constructor Details
-
TreeNodeExporter
public TreeNodeExporter()
-
-
Method Details
-
setEntityExporter
-
consumes
Description copied from interface:ExporterTells the exportservice whether this exporter can handle the given config item.- Specified by:
consumesin interfaceExporter- Overrides:
consumesin classExporterImpl<TreeNodeExportItemConfig>- Parameters:
config-
-
consumes
-
generateExportConfig
Description copied from interface:ExporterAsks the exporter to generate an export config for the given object.If the exporter does not know the item, it should return null
- Parameters:
object-
-
getConfigFor
- Specified by:
getConfigForin interfaceExporter- Overrides:
getConfigForin classExporterImpl<TreeNodeExportItemConfig>
-
getAllowedReferenceTypes
Returns the set of reference types that are allowed to be exported when encountered during the export of this tree.The returned classes define which referenced objects may be included in the export graph. When the export services encounter a reference to another object, the object will only be considered exportable if its type is compatible with one of the classes returned by this method.
- Returns:
- the set of allowed reference types for this exporter
-