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
@Deprecated public abstract class AEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends Object implements IEntityExporter<T>
Deprecated.Abstract base class for entity exporters- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_EXPORT_FILE_EXTENSIONDeprecated.protected static StringDEFAULT_EXPORT_PROJECT_EXTENSIONDeprecated.protected Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean>dependenciesDeprecated.protected TentityDeprecated.static StringEXPORT_PROCESSING_VERSIONDeprecated.static StringFC_EXPORT_METADATADeprecated.protected static org.slf4j.LoggerLOGDeprecated.protected static StringLOG_PREFIXDeprecated.protected IUseruserDeprecated.
-
Constructor Summary
Constructors Constructor Description AEntityExporter(IEntityContext ec, T entity)Deprecated.AEntityExporter(IEntityContext ec, T... entities)Deprecated.AEntityExporter(IEntityContext ec, T entity, boolean withoutDependencies)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<DeserializedEntity>doExport(IEntityContext ec)Deprecated.FiledoExport(IEntityContext ec, File outDir, Benutzer user)Deprecated.FiledoExport(IEntityContext ec, File outDir, IUser user)Deprecated.Exports the set entities to the given directoryFiledoExport(IEntityContext ec, File outDir, String outName, Benutzer user)Deprecated.FiledoExport(IEntityContext ec, File outDir, String outName, IUser user)Deprecated.Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean>getDependencies()Deprecated.List<T>getEntities()Deprecated.TgetEntity()Deprecated.protected Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>>getTypeClass(ProjectExportDependency.Type type)Deprecated.protected voidinitDependencies(IEntityContext ec)Deprecated.protected voidinitInternalDependenciesOnly(IEntityContext ec)Deprecated.IEntityExporter<T>withCompatitbiltyMode(boolean compatitbiltyMode)Deprecated.
-
-
-
Field Detail
-
EXPORT_PROCESSING_VERSION
public static final String EXPORT_PROCESSING_VERSION
Deprecated.- See Also:
- Constant Field Values
-
FC_EXPORT_METADATA
public static final String FC_EXPORT_METADATA
Deprecated.- See Also:
- Constant Field Values
-
LOG
protected static final org.slf4j.Logger LOG
Deprecated.
-
LOG_PREFIX
protected static final String LOG_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_EXPORT_FILE_EXTENSION
protected static final String DEFAULT_EXPORT_FILE_EXTENSION
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_EXPORT_PROJECT_EXTENSION
protected static final String DEFAULT_EXPORT_PROJECT_EXTENSION
Deprecated.- See Also:
- Constant Field Values
-
dependencies
protected Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean> dependencies
Deprecated.
-
user
@Deprecated protected IUser user
Deprecated.
-
-
Constructor Detail
-
AEntityExporter
public AEntityExporter(IEntityContext ec, T entity)
Deprecated.
-
AEntityExporter
public AEntityExporter(IEntityContext ec, T entity, boolean withoutDependencies)
Deprecated.
-
AEntityExporter
@Deprecated public AEntityExporter(IEntityContext ec, T... entities)
Deprecated.useAEntityExporter(IEntityContext, IEntity)instead
-
-
Method Detail
-
doExport
@Deprecated public List<DeserializedEntity> doExport(IEntityContext ec) throws Exception
Deprecated.- Throws:
Exception
-
doExport
@Deprecated public File doExport(IEntityContext ec, File outDir, Benutzer user) throws Exception
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
public File doExport(IEntityContext ec, File outDir, IUser user) throws Exception
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
@Deprecated public File doExport(IEntityContext ec, File outDir, String outName, Benutzer user) throws Exception
Deprecated.- Throws:
Exception
-
doExport
public File doExport(IEntityContext ec, File outDir, String outName, IUser user) throws Exception
Deprecated.- Throws:
Exception
-
getDependencies
public Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean> getDependencies()
Deprecated.
-
getEntities
@Deprecated public List<T> getEntities()
Deprecated.- Specified by:
getEntitiesin interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
getEntity
@Deprecated public T getEntity()
Deprecated.- Specified by:
getEntityin interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
withCompatitbiltyMode
@Deprecated public IEntityExporter<T> withCompatitbiltyMode(boolean compatitbiltyMode)
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
-
getTypeClass
protected Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> getTypeClass(ProjectExportDependency.Type type)
Deprecated.
-
initDependencies
protected void initDependencies(IEntityContext ec)
Deprecated.
-
initInternalDependenciesOnly
protected void initInternalDependenciesOnly(IEntityContext ec)
Deprecated.
-
-