Package de.xima.fc.importer.stager
Class ProjectImportStager
- java.lang.Object
-
- de.xima.fc.importer.stager.ProjectImportStager
-
- All Implemented Interfaces:
IEntityImportStager
@Deprecated public class ProjectImportStager extends Object
Deprecated.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProjectImportStager(IEntityContext ec, Projekt entity, Mandant client)
Deprecated.ProjectImportStager(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.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 configurationIEntityImportStager
withAlias(String alias)
Deprecated.IEntityImportStager
withImportAsTemplate(boolean importAsTemplate)
Deprecated.IEntityImportStager
withScope(String scope)
Deprecated.IEntityImportStager
withTitle(String title)
Deprecated.
-
-
-
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
-
ProjectImportStager
public ProjectImportStager(IEntityContext ec, IEntityImportConfig config, Mandant client)
Deprecated.
-
ProjectImportStager
@Deprecated public ProjectImportStager(IEntityContext ec, Projekt entity, Mandant client)
Deprecated.
-
-
Method Detail
-
withTitle
public IEntityImportStager withTitle(String title)
Deprecated.
-
withAlias
public IEntityImportStager withAlias(String alias)
Deprecated.
-
withScope
public IEntityImportStager withScope(String scope)
Deprecated.
-
withImportAsTemplate
public IEntityImportStager withImportAsTemplate(boolean importAsTemplate)
Deprecated.
-
isUuidExisting
protected boolean isUuidExisting(IEntityContext ec)
Deprecated.
-
makeEntityUnique
protected void makeEntityUnique(IEntityContext ec) throws Exception
Deprecated.- Throws:
Exception
-
preCreate
protected void preCreate(IEntityContext ec)
Deprecated.
-
preUpdate
protected void preUpdate(IEntityContext ec)
Deprecated.
-
setPersisted
@Deprecated public IEntityImportStager setPersisted(de.xima.cmn.dao.interfaces.IEntity<Long> persisted)
Deprecated.- Parameters:
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.
-
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
-
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
-
-