public abstract class AEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends Object implements IEntityExporter<T>
| Modifier and Type | Field and Description | 
|---|---|
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  | 
| Constructor and Description | 
|---|
AEntityExporter(IEntityContext ec,
               T... entities)
Deprecated.  
 | 
AEntityExporter(IEntityContext ec,
               T entity)  | 
AEntityExporter(IEntityContext ec,
               T entity,
               boolean withoutDependencies)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<DeserializedEntity> | 
doExport(IEntityContext ec)  | 
File | 
doExport(IEntityContext ec,
        File outDir,
        Benutzer user)
Exports the set entities to the given directory 
 | 
Map<de.xima.cmn.dao.interfaces.IEntity<Long>,Boolean> | 
getDependencies()  | 
List<T> | 
getEntities()
Deprecated. 
 
Use  
getEntity() isntead. | 
T | 
getEntity()  | 
protected void | 
initDependencies(IEntityContext ec)  | 
protected void | 
initInternalDependenciesOnly(IEntityContext ec)  | 
IEntityExporter<T> | 
withCompatitbiltyMode(boolean compatitbiltyMode)  | 
protected static final org.slf4j.Logger LOG
protected static final String LOG_PREFIX
public static final String EXPORT_PROCESSING_VERSION
public static final String FC_EXPORT_METADATA
protected Benutzer user
public AEntityExporter(IEntityContext ec, T entity)
public AEntityExporter(IEntityContext ec, T entity, boolean withoutDependencies)
@Deprecated public AEntityExporter(IEntityContext ec, T... entities)
AEntityExporter(IEntityContext, IEntity) insteadpublic IEntityExporter<T> withCompatitbiltyMode(boolean compatitbiltyMode)
withCompatitbiltyMode in interface IEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>compatitbiltyMode - Boolean whether or not entities should be exportedt in compatibility modeIEntityExporter the exporterpublic List<DeserializedEntity> doExport(IEntityContext ec) throws Exception
Exceptionpublic File doExport(IEntityContext ec, File outDir, Benutzer user) throws Exception
IEntityExporterpublic T getEntity()
getEntity in interface IEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>@Deprecated public List<T> getEntities()
getEntity() isntead.getEntities in interface IEntityExporter<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>protected void initInternalDependenciesOnly(IEntityContext ec)
protected void initDependencies(IEntityContext ec)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.