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 void
protected void
withCompatitbiltyMode
(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:
withCompatitbiltyMode
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Parameters:
compatitbiltyMode
-Boolean
whether or not entities should be exportedt in compatibility mode- Returns:
IEntityExporter
the exporter
-
doExport
Deprecated.- Throws:
Exception
-
doExport
Deprecated.Description copied from interface:IEntityExporter
Exports the set entities to the given directory- Specified by:
doExport
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Parameters:
ec
- Entity context for accessing the database.outDir
-File
to export files touser
-Benutzer
to export the entities for- Returns:
File
export file- Throws:
Exception
- When the export could not be created.
-
doExport
Description copied from interface:IEntityExporter
Exports the set entities to the given directory- Specified by:
doExport
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- Parameters:
ec
- Entity context for accessing the database.outDir
-File
to export files touser
-Benutzer
to export the entities for- Returns:
File
export 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:
getEntity
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
getEntities
Deprecated.- Specified by:
getEntities
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-