public class ActionImportStager extends Object
Modifier and Type | Field and Description |
---|---|
protected T |
entity |
protected static org.slf4j.Logger |
LOG |
protected static String |
LOG_PREFIX |
protected boolean |
override |
protected T |
persisted |
Constructor and Description |
---|
ActionImportStager(IEntityContext ec,
Aktion entity,
Mandant client) |
Modifier and Type | Method and Description |
---|---|
de.xima.cmn.dao.interfaces.IEntity<Long> |
getEntity() |
boolean |
isEntityExists() |
protected void |
makeEntityUnique(IEntityContext ec) |
IEntityImportStager |
override(boolean override)
Sets whether or not already existing entities should be overridden
|
protected void |
postImport() |
protected void |
preCreate(IEntityContext ec) |
protected void |
preUpdate(IEntityContext ec) |
void |
stage(IEntityContext ec)
Stages the import for execution based on the given configuration
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPersisted
protected static final org.slf4j.Logger LOG
protected static final String LOG_PREFIX
protected T extends de.xima.cmn.dao.interfaces.IEntity<Long> entity
protected T extends de.xima.cmn.dao.interfaces.IEntity<Long> persisted
protected boolean override
public ActionImportStager(IEntityContext ec, Aktion entity, Mandant client)
protected void makeEntityUnique(IEntityContext ec)
protected void preCreate(IEntityContext ec)
protected void preUpdate(IEntityContext ec)
public IEntityImportStager override(boolean override)
IEntityImportStager
override
in interface IEntityImportStager
override
- Boolean
override entityIEntityImportStager
for fluent builder use of importerpublic void stage(IEntityContext ec) throws Exception
IEntityImportStager
stage
in interface IEntityImportStager
ec
- IEntityContext
to be usedException
public de.xima.cmn.dao.interfaces.IEntity<Long> getEntity()
getEntity
in interface IEntityImportStager
IEntity
that shall be importedpublic boolean isEntityExists()
isEntityExists
in interface IEntityImportStager
protected void postImport()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.