Package de.xima.fc.importer.project
Class ProjectImporter
- java.lang.Object
 - 
- de.xima.fc.importer.project.ProjectImporter
 
 
- 
- All Implemented Interfaces:
 Serializable
public class ProjectImporter extends Object implements Serializable
Importer for XFCProjekts- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor 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)Deprecated. 
- 
Method Summary
 
 - 
 
- 
- 
Constructor Detail
- 
ProjectImporter
public ProjectImporter(IEntityContext ec, InputStream is, Mandant client) throws Exception
- Throws:
 Exception
 
- 
ProjectImporter
public ProjectImporter(IEntityContext ec, InputStream is, Mandant client, boolean withAlternativeProvider) throws Exception
- Throws:
 Exception
 
- 
ProjectImporter
public ProjectImporter(IEntityContext ec, InputStream is, Projekt override, boolean withAlternativeProvider) throws Exception
- Throws:
 Exception
 
- 
ProjectImporter
@Deprecated public ProjectImporter(IEntityContext ec, List<DeserializedEntity> entities, Mandant client) throws Exception
Deprecated.- Throws:
 Exception
 
 - 
 
- 
Method Detail
- 
getAlternativeProvider
public EntityAlternativeProvider getAlternativeProvider()
 
- 
getProjectConfig
public ProjectImportConfig getProjectConfig()
 
- 
getFormVersionConfig
public FormVersionImportConfig getFormVersionConfig()
 
- 
getStateConfigs
public List<StateImportConfig> getStateConfigs()
 
- 
getWorkflowStates
public List<WorkflowState> getWorkflowStates()
 
- 
getReferenceConfigs
public List<IEntityImportConfig<?>> getReferenceConfigs()
 
- 
getAllConfigs
public List<IEntityImportConfig<?>> getAllConfigs()
 
- 
getAllConfigsFlat
public List<IEntityImportConfig<?>> getAllConfigsFlat()
 
- 
getStateMapping
public List<StateMapperModel> getStateMapping()
 
- 
getFormRecordsToUpdateCount
public int getFormRecordsToUpdateCount()
 
- 
withProjectScope
public ProjectImporter withProjectScope(String projectScope)
 
- 
removeProjectDependency
public IEntityImportConfig<?> removeProjectDependency(UUID uuid, Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz)
 
- 
doImport
public EntityImportResult doImport(IEntityContext ec) throws Exception
Imports the given project and its dependencies.- Parameters:
 ec-IEntityContextto be used. The entity context needs to have the user that is importing the project and its dependencies- Returns:
 EntityImportResult- Throws:
 Exception- if something goes wrong during import
 
- 
updateDependencies
@Deprecated public void updateDependencies(IEntityContext ec, de.xima.cmn.dao.interfaces.IEntity<Long> oldEntity, de.xima.cmn.dao.interfaces.IEntity<Long> newEntity) throws Exception
Deprecated.- Throws:
 Exception
 
- 
doImport
@Deprecated public EntityImportResult doImport(Benutzer user) throws Exception
Deprecated.UsedoImport(IEntityContext)instead- Throws:
 Exception
 
- 
finishImport
@Deprecated public void finishImport(IEntityContext ec) throws Exception
Deprecated.- Throws:
 Exception
 
 - 
 
 -