public class ProjektImportUtil extends 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 and Description | 
|---|
ProjektImportUtil(Mandant man,
                 IEntityContext ec)  | 
| Modifier and Type | Method and Description | 
|---|---|
Projekt | 
doImport(IProjectTemplate template,
        String currentUser,
        Locale locale)
Creates a new project from the given templates. 
 | 
Projekt | 
doImport(Projekt newProjekt,
        String curBenutzer,
        InputStream is,
        boolean disableAllActions)
Deprecated. 
 
use  
doImport(Projekt, String, InputStream, boolean, Locale) Importiert ein Projekt | 
Projekt | 
doImport(Projekt newProjekt,
        String curBenutzer,
        InputStream is,
        boolean disableAllActions,
        Locale locale)
Importiert ein Projekt 
 | 
addErrorMessage, addErrorMessage, addInfoMessage, addInfoMessage, addWarnMessage, addWarnMessage, checkClientResourceExists, checkProjectAliasExist, checkProjectNameExist, 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, writeJSONtoFilepublic ProjektImportUtil(Mandant man, IEntityContext ec)
public Projekt doImport(IProjectTemplate template, String currentUser, Locale locale) throws Exception
template - Template for the new project.currentUser - Name of the current user. Used to log who created the project.locale - Current locale for localization.Exception - on errors during import@Deprecated public Projekt doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions) throws Exception
doImport(Projekt, String, InputStream, boolean, Locale) Importiert ein ProjektnewProjekt - the template for new ProjektcurBenutzer - the current Benutzeris - the InputStream to import fromdisableAllActions - flag if all actions of the importat project should be disabledException - on errors during importpublic Projekt doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions, Locale locale) throws Exception
newProjekt - the template for new ProjektcurBenutzer - the current Benutzeris - the InputStream to import fromdisableAllActions - flag if all actions of the importat project should be disabledlocale - the locale to use for the importException - on errors during importCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.