Package de.xima.fc.exporter
Class AEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
java.lang.Object
de.xima.fc.exporter.AEntityExporter<T>
- All Implemented Interfaces:
IEntityExporter<T>,Serializable
- Direct Known Subclasses:
ProjectExporter,TemplateExporter
public abstract class AEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
extends Object
implements IEntityExporter<T>
Abstract base class for entity exporters
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAEntityExporter(IEntityContext ec, T entity) AEntityExporter(IEntityContext ec, T... entities) Deprecated.AEntityExporter(IEntityContext ec, T entity, boolean withoutDependencies) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.doExport(IEntityContext ec, File outDir, Benutzer user) Deprecated.doExport(IEntityContext ec, File outDir, IUser user) Exports the set entities to the given directorydoExport(IEntityContext ec, File outDir, String outName, Benutzer user) Deprecated.doExport(IEntityContext ec, File outDir, String outName, IUser user) Deprecated.Deprecated.protected voidprotected voidwithCompatitbiltyMode(boolean compatitbiltyMode) Deprecated.
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG -
LOG_PREFIX
- See Also:
-
EXPORT_PROCESSING_VERSION
- See Also:
-
FC_EXPORT_METADATA
- See Also:
-
DEFAULT_EXPORT_FILE_EXTENSION
- See Also:
-
DEFAULT_EXPORT_PROJECT_EXTENSION
- See Also:
-
entity
-
dependencies
-
user
Deprecated.
-
-
Constructor Details
-
AEntityExporter
-
AEntityExporter
-
AEntityExporter
Deprecated.useAEntityExporter(IEntityContext, IEntity)instead
-
-
Method Details
-
withCompatitbiltyMode
Deprecated.Compatibility mode not supported anymore in FC 7- Specified by:
withCompatitbiltyModein interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>- Parameters:
compatitbiltyMode-Booleanwhether or not entities should be exportedt in compatibility mode- Returns:
IEntityExporterthe exporter
-
doExport
Deprecated.- Throws:
Exception
-
doExport
Deprecated.Description copied from interface:IEntityExporterExports the set entities to the given directory- Specified by:
doExportin interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>- Parameters:
ec- Entity context for accessing the database.outDir-Fileto export files touser-Benutzerto export the entities for- Returns:
Fileexport file- Throws:
Exception- When the export could not be created.
-
doExport
Description copied from interface:IEntityExporterExports the set entities to the given directory- Specified by:
doExportin interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>- Parameters:
ec- Entity context for accessing the database.outDir-Fileto export files touser-Benutzerto export the entities for- Returns:
Fileexport file- Throws:
Exception- When the export could not be created.
-
doExport
@Deprecated public File doExport(IEntityContext ec, File outDir, String outName, Benutzer user) throws Exception Deprecated.- Throws:
Exception
-
doExport
- Throws:
Exception
-
getDependencies
-
initInternalDependenciesOnly
-
initDependencies
-
getEntity
Deprecated.- Specified by:
getEntityin interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
getEntities
Deprecated.- Specified by:
getEntitiesin interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-