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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DEFAULT_EXPORT_FILE_EXTENSION
protected static String
DEFAULT_EXPORT_PROJECT_EXTENSION
protected Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean>
dependencies
protected T
entity
static String
EXPORT_PROCESSING_VERSION
static String
FC_EXPORT_METADATA
protected static org.slf4j.Logger
LOG
protected static String
LOG_PREFIX
protected Benutzer
user
Deprecated.
-
Constructor Summary
Constructors Constructor Description AEntityExporter(IEntityContext ec, T entity)
AEntityExporter(IEntityContext ec, T... entities)
Deprecated.AEntityExporter(IEntityContext ec, T entity, boolean withoutDependencies)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<DeserializedEntity>
doExport(IEntityContext ec)
Deprecated.File
doExport(IEntityContext ec, File outDir, Benutzer user)
Exports the set entities to the given directoryFile
doExport(IEntityContext ec, File outDir, String outName, Benutzer user)
Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean>
getDependencies()
List<T>
getEntities()
Deprecated.T
getEntity()
Deprecated.protected void
initDependencies(IEntityContext ec)
protected void
initInternalDependenciesOnly(IEntityContext ec)
IEntityExporter<T>
withCompatitbiltyMode(boolean compatitbiltyMode)
Deprecated.
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
LOG_PREFIX
protected static final String LOG_PREFIX
- See Also:
- Constant Field Values
-
EXPORT_PROCESSING_VERSION
public static final String EXPORT_PROCESSING_VERSION
- See Also:
- Constant Field Values
-
FC_EXPORT_METADATA
public static final String FC_EXPORT_METADATA
- See Also:
- Constant Field Values
-
DEFAULT_EXPORT_FILE_EXTENSION
protected static final String DEFAULT_EXPORT_FILE_EXTENSION
- See Also:
- Constant Field Values
-
DEFAULT_EXPORT_PROJECT_EXTENSION
protected static final String DEFAULT_EXPORT_PROJECT_EXTENSION
- See Also:
- Constant Field Values
-
user
@Deprecated protected Benutzer user
Deprecated.
-
-
Constructor Detail
-
AEntityExporter
public AEntityExporter(IEntityContext ec, T entity)
-
AEntityExporter
public AEntityExporter(IEntityContext ec, T entity, boolean withoutDependencies)
-
AEntityExporter
@Deprecated public AEntityExporter(IEntityContext ec, T... entities)
Deprecated.useAEntityExporter(IEntityContext, IEntity)
instead
-
-
Method Detail
-
withCompatitbiltyMode
@Deprecated public IEntityExporter<T> withCompatitbiltyMode(boolean compatitbiltyMode)
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 public List<DeserializedEntity> doExport(IEntityContext ec) throws Exception
Deprecated.- Throws:
Exception
-
doExport
public File doExport(IEntityContext ec, File outDir, Benutzer user) throws Exception
Description copied from interface:IEntityExporter
Exports the set entities to the given directory
-
doExport
public File doExport(IEntityContext ec, File outDir, String outName, Benutzer user) throws Exception
- Throws:
Exception
-
initInternalDependenciesOnly
protected void initInternalDependenciesOnly(IEntityContext ec)
-
initDependencies
protected void initDependencies(IEntityContext ec)
-
getEntity
@Deprecated public T getEntity()
Deprecated.- Specified by:
getEntity
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
getEntities
@Deprecated public List<T> getEntities()
Deprecated.- Specified by:
getEntities
in interfaceIEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
-