public class ProjektImportUtil extends AProjektUtil
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)
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, handleBedingung, importProjektRessources, updatePreviewImage, writeJSONtoFile
public 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
public Projekt doImport(Projekt newProjekt, String curBenutzer, InputStream is, boolean disableAllActions) throws Exception
newProjekt
- curBenutzer
- is
- disableAllActions
- Flag, das festlegt, ob alle Aktionen im kopierten Objekt deaktiviert werden sollenIOException
Exception
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.