public class StateImportStager 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 |
|---|
StateImportStager(IEntityContext ec,
Status 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, waitsetPersistedprotected 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 StateImportStager(IEntityContext ec, Status entity, Mandant client)
protected void makeEntityUnique(IEntityContext ec)
protected void preCreate(IEntityContext ec)
public IEntityImportStager override(boolean override)
IEntityImportStageroverride in interface IEntityImportStageroverride - Boolean override entityIEntityImportStager for fluent builder use of importerpublic void stage(IEntityContext ec) throws Exception
IEntityImportStagerstage in interface IEntityImportStagerec - IEntityContext to be usedExceptionpublic de.xima.cmn.dao.interfaces.IEntity<Long> getEntity()
getEntity in interface IEntityImportStagerIEntity that shall be importedpublic boolean isEntityExists()
isEntityExists in interface IEntityImportStagerprotected void preUpdate(IEntityContext ec)
protected void postImport()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.