@Deprecated public class ProjectImportStager extends Object
Modifier and Type | Field and Description |
---|---|
protected T |
entity
Deprecated.
|
protected static org.slf4j.Logger |
LOG
Deprecated.
|
protected static String |
LOG_PREFIX
Deprecated.
|
protected boolean |
override
Deprecated.
|
protected T |
persisted
Deprecated.
|
Constructor and Description |
---|
ProjectImportStager(IEntityContext ec,
IEntityImportConfig config,
Mandant client)
Deprecated.
|
ProjectImportStager(IEntityContext ec,
Projekt entity,
Mandant client)
Deprecated.
|
Modifier and Type | Method and 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.
|
IEntityImportStager |
setPersisted(de.xima.cmn.dao.interfaces.IEntity<Long> persisted)
Deprecated.
|
void |
stage(IEntityContext ec)
Deprecated.
Stages the import for execution based on the given configuration
|
IEntityImportStager |
withAlias(String alias)
Deprecated.
|
IEntityImportStager |
withImportAsTemplate(boolean importAsTemplate)
Deprecated.
|
IEntityImportStager |
withScope(String scope)
Deprecated.
|
IEntityImportStager |
withTitle(String title)
Deprecated.
|
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 ProjectImportStager(IEntityContext ec, IEntityImportConfig config, Mandant client)
@Deprecated public ProjectImportStager(IEntityContext ec, Projekt entity, Mandant client)
public IEntityImportStager withTitle(String title)
public IEntityImportStager withAlias(String alias)
public IEntityImportStager withScope(String scope)
public IEntityImportStager withImportAsTemplate(boolean importAsTemplate)
protected boolean isUuidExisting(IEntityContext ec)
protected void makeEntityUnique(IEntityContext ec) throws Exception
Exception
protected void preCreate(IEntityContext ec)
protected void preUpdate(IEntityContext ec)
@Deprecated public IEntityImportStager setPersisted(de.xima.cmn.dao.interfaces.IEntity<Long> persisted)
persisted
- IEntity
that will be overridden if the importer is set to override. This method can be use
to set the entity that should be overridden to a different one than the one that is select by UUID.public 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()
@Deprecated public IEntityImportStager override(boolean override)
IEntityImportStager
override
in interface IEntityImportStager
override
- Boolean
override entityIEntityImportStager
for fluent builder use of importerCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.