Package de.xima.fc.importer.stager
Class TemplateImportStager
- java.lang.Object
-
- de.xima.fc.importer.stager.TemplateImportStager
-
- All Implemented Interfaces:
IEntityImportStager
@Deprecated public class TemplateImportStager extends Object
Deprecated.Class for importingTextbaustein
s- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description TemplateImportStager(IEntityContext ec, Textbaustein entity, Mandant client)
Deprecated.TemplateImportStager(IEntityContext ec, IEntityImportConfig config, Mandant client)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description de.xima.cmn.dao.interfaces.IEntity<Long>
getEntity()
Deprecated.boolean
isEntityExists()
Deprecated.protected boolean
isUuidExisting(IEntityContext ec)
Deprecated.protected void
makeEntityUnique(IEntityContext ec)
Deprecated.IEntityImportStager
override(boolean override)
Deprecated.protected void
postImport()
Deprecated.protected void
preCreate(IEntityContext ec)
Deprecated.protected void
preUpdate(IEntityContext ec)
Deprecated.void
stage(IEntityContext ec)
Deprecated.Stages the import for execution based on the given configurationIEntityImportStager
withCategory(ETextbausteinKategorie category)
Deprecated.IEntityImportStager
withDescription(String desc)
Deprecated.IEntityImportStager
withIsSystem(boolean isSystem)
Deprecated.IEntityImportStager
withName(String name)
Deprecated.IEntityImportStager
withTextValue(String textValue)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.importer.interfaces.IEntityImportStager
setPersisted
-
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
Deprecated.
-
LOG_PREFIX
protected static final String LOG_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
entity
protected T extends de.xima.cmn.dao.interfaces.IEntity<Long> entity
Deprecated.
-
persisted
protected T extends de.xima.cmn.dao.interfaces.IEntity<Long> persisted
Deprecated.
-
override
protected boolean override
Deprecated.
-
-
Constructor Detail
-
TemplateImportStager
public TemplateImportStager(IEntityContext ec, IEntityImportConfig config, Mandant client)
Deprecated.
-
TemplateImportStager
@Deprecated public TemplateImportStager(IEntityContext ec, Textbaustein entity, Mandant client)
Deprecated.
-
-
Method Detail
-
withName
public IEntityImportStager withName(String name)
Deprecated.
-
withDescription
public IEntityImportStager withDescription(String desc)
Deprecated.
-
withTextValue
public IEntityImportStager withTextValue(String textValue)
Deprecated.
-
withIsSystem
public IEntityImportStager withIsSystem(boolean isSystem)
Deprecated.
-
withCategory
public IEntityImportStager withCategory(ETextbausteinKategorie category)
Deprecated.
-
isUuidExisting
protected boolean isUuidExisting(IEntityContext ec)
Deprecated.
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec)
Deprecated.
-
preCreate
protected void preCreate(IEntityContext ec)
Deprecated.
-
stage
public void stage(IEntityContext ec) throws Exception
Deprecated.Description copied from interface:IEntityImportStager
Stages the import for execution based on the given configuration- Specified by:
stage
in interfaceIEntityImportStager
- Parameters:
ec
-IEntityContext
to be used- Throws:
Exception
-
getEntity
public de.xima.cmn.dao.interfaces.IEntity<Long> getEntity()
Deprecated.- Specified by:
getEntity
in interfaceIEntityImportStager
- Returns:
IEntity
that shall be imported
-
isEntityExists
public boolean isEntityExists()
Deprecated.- Specified by:
isEntityExists
in interfaceIEntityImportStager
- Returns:
- whether or not the entity exists in the system
-
preUpdate
protected void preUpdate(IEntityContext ec)
Deprecated.
-
postImport
protected void postImport()
Deprecated.
-
override
@Deprecated public IEntityImportStager override(boolean override)
Deprecated.Description copied from interface:IEntityImportStager
Sets whether or not already existing entities should be overridden- Specified by:
override
in interfaceIEntityImportStager
- Parameters:
override
-Boolean
override entity- Returns:
IEntityImportStager
for fluent builder use of importer
-
-