Constructor and Description |
---|
ProjectImporter(IEntityContext ec,
InputStream is,
Mandant client) |
Modifier and Type | Method and Description |
---|---|
EntityImportResult |
doImport(Benutzer user) |
void |
finishImport(IEntityContext ec) |
List<IEntityImportConfig> |
getAllConfigs() |
IEntityImportConfig |
getFormVersionConfig() |
IEntityImportConfig |
getProjectConfig() |
List<IEntityImportConfig> |
getReferenceConfigs() |
IEntityImportConfig |
removeProjectDependency(UUID uuid,
Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz) |
void |
updateDependencies(IEntityContext ec,
de.xima.cmn.dao.interfaces.IEntity<Long> oldEntity,
de.xima.cmn.dao.interfaces.IEntity<Long> newEntity) |
ProjectImporter |
withProjectScope(String projectScope) |
ProjectImporter |
withStateMapping(List<StateMapperModel> stateMapping) |
public ProjectImporter(IEntityContext ec, InputStream is, Mandant client) throws Exception
Exception
public IEntityImportConfig getProjectConfig()
public IEntityImportConfig getFormVersionConfig()
public List<IEntityImportConfig> getReferenceConfigs()
public List<IEntityImportConfig> getAllConfigs()
public ProjectImporter withStateMapping(List<StateMapperModel> stateMapping)
public ProjectImporter withProjectScope(String projectScope)
public void updateDependencies(IEntityContext ec, de.xima.cmn.dao.interfaces.IEntity<Long> oldEntity, de.xima.cmn.dao.interfaces.IEntity<Long> newEntity) throws Exception
Exception
public IEntityImportConfig removeProjectDependency(UUID uuid, Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz)
public EntityImportResult doImport(Benutzer user) throws Exception
Exception
public void finishImport(IEntityContext ec) throws Exception
Exception
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.