Constructor and Description |
---|
ProjectImporter(IEntityContext ec,
InputStream is,
Mandant client) |
ProjectImporter(IEntityContext ec,
InputStream is,
Mandant client,
boolean withAlternativeProvider) |
ProjectImporter(IEntityContext ec,
InputStream is,
Projekt override,
boolean withAlternativeProvider) |
ProjectImporter(IEntityContext ec,
List<DeserializedEntity> entities,
Mandant client) |
public ProjectImporter(IEntityContext ec, InputStream is, Mandant client) throws Exception
Exception
public ProjectImporter(IEntityContext ec, InputStream is, Mandant client, boolean withAlternativeProvider) throws Exception
Exception
public ProjectImporter(IEntityContext ec, InputStream is, Projekt override, boolean withAlternativeProvider) throws Exception
Exception
public ProjectImporter(IEntityContext ec, List<DeserializedEntity> entities, Mandant client) throws Exception
Exception
public EntityAlternativeProvider getAlternativeProvider()
public ProjectImportConfig getProjectConfig()
public FormVersionImportConfig getFormVersionConfig()
public List<StateImportConfig> getStateConfigs()
public List<IEntityImportConfig<?>> getReferenceConfigs()
public List<IEntityImportConfig<?>> getAllConfigs()
public List<IEntityImportConfig<?>> getAllConfigsFlat()
public List<StateMapperModel> getStateMapping()
public int getFormRecordsToUpdateCount()
public ProjectImporter withProjectScope(String projectScope)
public IEntityImportConfig<?> removeProjectDependency(UUID uuid, Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz)
public EntityImportResult doImport(IEntityContext ec) throws Exception
ec
- IEntityContext
to be used. The entity context needs to have the user that is importing the
project and its dependenciesEntityImportResult
Exception
- if something goes wrong during import@Deprecated public void updateDependencies(IEntityContext ec, de.xima.cmn.dao.interfaces.IEntity<Long> oldEntity, de.xima.cmn.dao.interfaces.IEntity<Long> newEntity) throws Exception
Exception
@Deprecated public EntityImportResult doImport(Benutzer user) throws Exception
doImport(IEntityContext)
insteadException
@Deprecated public void finishImport(IEntityContext ec) throws Exception
Exception
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.