Package de.xima.fc.export
Class ProjektImportUtil
- java.lang.Object
-
- de.xima.fc.export.AProjektUtil
-
- de.xima.fc.export.ProjektImportUtil
-
@Deprecated public class ProjektImportUtil extends AProjektUtil
Deprecated.In a future FORMCYCLE version old project exports (export version < 2.0.0) won't be importablable anymore.ProjectImporter
should be used instead.
-
-
Field Summary
-
Fields inherited from class de.xima.fc.export.AProjektUtil
client, ec, errorMsgList, FC_EXPORT_AKTIONEN, FC_EXPORT_AKTIVE_VERSION, FC_EXPORT_BEDINGUNG, FC_EXPORT_DOI, FC_EXPORT_DOI_DATA, FC_EXPORT_FORM_ELEMENTS, FC_EXPORT_FORM_RESSOURCES, FC_EXPORT_FORMVERSION, FC_EXPORT_FORMVERSION_DATA, FC_EXPORT_METADATA, FC_EXPORT_PROJEKT, FC_EXPORT_PROJEKTHELP, FC_EXPORT_RESOURCE, FC_EXPORT_STATUS, FC_EXPORT_STATUSHELP, FC_EXPORT_VORGAENGE, FC_EXPORT_VORGAENGE_DATA, infoMsgList, m
-
-
Constructor Summary
Constructors Constructor Description ProjektImportUtil(Mandant man, IEntityContext ec)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Projekt
doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions)
Deprecated.usedoImport(Projekt, String, InputStream, boolean, Locale)
Importiert ein ProjektProjekt
doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions, Locale locale)
Deprecated.Importiert ein ProjektProjekt
doImport(IProjectTemplate template, String currentUser, Locale locale)
Deprecated.Creates a new project from the given templates.-
Methods inherited from class de.xima.fc.export.AProjektUtil
addErrorMessage, addErrorMessage, addInfoMessage, addInfoMessage, addWarnMessage, addWarnMessage, checkClientResourceExists, checkProjectAliasExist, checkProjectNameExist, cloneWorkflowVersion, createActiveFormVersion, createAktion, createAktionen, createBedingung, createBedingungenExportData, createFile, createFormElements, createFormVersionFile, createIDsMap, createJAXBContext, createNamedMap, createNewFormVersion, createNewFormVersion, createPreStatus, createProjektRessource, createProjektRessourcenFiles, createProjektRessources, createStatus, deproxyEntity, findUniqueAlias, getAktionsListe, getBenutzergruppen, getBenutzerGruppenListe, getErrorMsgList, getFormElements, getFormVersionBindings, getGsonBuilderWithDefaults, getInfoMsgList, getMandant, getMandantFrontendServer, getNewProjekt, getProjektRessources, getStatusListe, getVorgangsBindings, handleAction, handleBedingungForImport, importProjektRessources, updatePreviewImage, writeJSONtoFile
-
-
-
-
Constructor Detail
-
ProjektImportUtil
public ProjektImportUtil(Mandant man, IEntityContext ec)
Deprecated.
-
-
Method Detail
-
doImport
public Projekt doImport(IProjectTemplate template, String currentUser, Locale locale) throws Exception
Deprecated.Creates a new project from the given templates. Generates a unique alias.- Parameters:
template
- Template for the new project.currentUser
- Name of the current user. Used to log who created the project.locale
- Current locale for localization.- Returns:
- The newly created project.
- Throws:
Exception
- on errors during import
-
doImport
@Deprecated public Projekt doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions) throws Exception
Deprecated.usedoImport(Projekt, String, InputStream, boolean, Locale)
Importiert ein Projekt- Parameters:
newProjekt
- the template for newProjekt
curBenutzer
- the currentBenutzer
is
- theInputStream
to import fromdisableAllActions
- flag if all actions of the importat project should be disabled- Returns:
- the imported project
- Throws:
Exception
- on errors during import
-
doImport
public Projekt doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions, Locale locale) throws Exception
Deprecated.Importiert ein Projekt- Parameters:
newProjekt
- the template for newProjekt
curBenutzer
- the currentBenutzer
is
- theInputStream
to import fromdisableAllActions
- flag if all actions of the importat project should be disabledlocale
- the locale to use for the import- Returns:
- the imported project
- Throws:
Exception
- on errors during import
-
-