Package de.xima.fc.importer.project
Class ProjectImporter
java.lang.Object
de.xima.fc.importer.project.ProjectImporter
- All Implemented Interfaces:
 Serializable
Importer for XFC 
Projekts- Author:
 - XIMA MEDIA GmbH
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionProjectImporter(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
Modifier and TypeMethodDescriptionDeprecated.Imports the given project and its dependencies.voidDeprecated.intremoveProjectDependency(UUID uuid, Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz) voidupdateDependencies(IEntityContext ec, de.xima.cmn.dao.interfaces.IEntity<Long> oldEntity, de.xima.cmn.dao.interfaces.IEntity<Long> newEntity) Deprecated.withFormActive(boolean active) withFormDesc(String formDesc) withFormGroup(String groupName) withFormName(String formName) withFormTags(List<String> tagStrings) withProjectScope(String projectScope)  
- 
Constructor Details
- 
ProjectImporter
- 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 Details
- 
getAlternativeProvider
 - 
getProjectConfig
 - 
getFormVersionConfig
 - 
getStateConfigs
 - 
getWorkflowStates
 - 
getReferenceConfigs
 - 
getAllConfigs
 - 
getAllConfigsFlat
 - 
getStateMapping
 - 
getFormRecordsToUpdateCount
public int getFormRecordsToUpdateCount() - 
withProjectScope
 - 
withFormGroup
 - 
withFormName
 - 
withFormDesc
 - 
withFormTags
 - 
withFormActive
 - 
removeProjectDependency
public IEntityImportConfig<?> removeProjectDependency(UUID uuid, Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz)  - 
doImport
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.UsedoImport(IEntityContext)instead- Throws:
 Exception
 - 
finishImport
Deprecated.- Throws:
 Exception
 
 -