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.Deprecated.doImport(IEntityContext ec, IUser user) Imports the given project and its dependencies.voidDeprecated.intgetPromptConnectionImportSpec(PromptObjectIdentifier connectionId) removeProjectDependency(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
-
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 dependenciesuser-IUserperforming the import- Returns:
EntityImportResult- Throws:
Exception- if something goes wrong during import
-
doImport
Deprecated.UsedoImport(IEntityContext, IUser)insteadImports 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
-
doImport
-
finishImport
Deprecated.- Throws:
Exception
-
getAllConfigs
-
getAllConfigsFlat
-
getAlternativeProvider
-
getFormRecordsToUpdateCount
public int getFormRecordsToUpdateCount() -
getFormVersionConfig
-
getProjectConfig
-
getPromptConnectionImportSpec
public PromptConnectionImportSpec getPromptConnectionImportSpec(PromptObjectIdentifier connectionId) -
getReferenceConfigs
-
getStateConfigs
-
getStateMapping
-
getWorkflowStates
-
removeProjectDependency
public IEntityImportConfig<?> removeProjectDependency(UUID uuid, Class<? extends de.xima.cmn.dao.interfaces.IEntity<Long>> clazz) -
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
-
withFormActive
-
withFormDesc
-
withFormGroup
-
withFormName
-
withFormTags
-
withProjectScope
-
getPromptQueryImportSpecs
-
getPromptConnectionImportSpecs
-
doImport(IEntityContext, IUser)instead