Package de.xima.fc.gui.bean.project
Class ProjectImportBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ProjectImportBean extends FCContextBean
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC
-
-
Constructor Summary
Constructors Constructor Description ProjectImportBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
getViewBean
public ViewBean getViewBean()
-
setViewBean
public void setViewBean(ViewBean viewBean)
-
getProjectCreationBean
public ProjectCreationBean getProjectCreationBean()
-
setProjectCreationBean
public void setProjectCreationBean(ProjectCreationBean projectCreationBean)
-
getProjectFilterBean
public ProjectFilterBean getProjectFilterBean()
-
setProjectFilterBean
public void setProjectFilterBean(ProjectFilterBean projectFilterBean)
-
getFileName
public String getFileName()
-
setUpdateId
public void setUpdateId(Long updateId)
-
getProjectConfig
public ImportConfigWrapper getProjectConfig()
-
getFormVersionConfig
public ImportConfigWrapper getFormVersionConfig()
-
getStateMapping
public List<StateMapperModel> getStateMapping()
-
getConfigurableStateMapping
public List<StateMapperModel> getConfigurableStateMapping()
-
getReferenceConfigs
public List<ImportConfigWrapper> getReferenceConfigs()
-
getExisitingInboxes
public List<NameProvidingDescriptor> getExisitingInboxes()
-
getExisitingUserGroups
public List<NameProvidingDescriptor> getExisitingUserGroups()
-
getExisitingClientResources
public List<NameProvidingDescriptor> getExisitingClientResources()
-
getExisitingCssTemplates
public List<TemplateDescriptor> getExisitingCssTemplates()
-
getExisitingXslTemplates
public List<TemplateDescriptor> getExisitingXslTemplates()
-
getExisitingHtmlTemplates
public List<TemplateDescriptor> getExisitingHtmlTemplates()
-
getExisitingUrlTemplates
public List<TemplateDescriptor> getExisitingUrlTemplates()
-
getExisitingCsvDataSources
public List<DataSourceDescriptor> getExisitingCsvDataSources()
-
getExisitingXmlDataSources
public List<DataSourceDescriptor> getExisitingXmlDataSources()
-
getExisitingJsonDataSources
public List<DataSourceDescriptor> getExisitingJsonDataSources()
-
getExisitingDbDataSources
public List<DataSourceDescriptor> getExisitingDbDataSources()
-
getExisitingAppointmentTemplates
public List<NameProvidingDescriptor> getExisitingAppointmentTemplates()
-
getExisitingClientCounters
public List<NameProvidingDescriptor> getExisitingClientCounters()
-
getImportStates
public List<?> getImportStates()
-
getImportWorkflowStates
public List<WorkflowState> getImportWorkflowStates()
-
hasAvailableClientResourcesOfType
public boolean hasAvailableClientResourcesOfType(ImportConfigWrapper configWrapper)
-
isSameFileCategory
public boolean isSameFileCategory(ImportConfigWrapper configWrapper, String resName)
-
getImportStep
public EProjectImportStep getImportStep()
-
getVersionWarning
public String getVersionWarning()
-
getProjectEditAccess
public EProjectAccessConfig getProjectEditAccess()
-
setProjectEditAccess
public void setProjectEditAccess(EProjectAccessConfig projectEditAccess)
-
getProjectViewAccess
public EProjectAccessConfig getProjectViewAccess()
-
setProjectViewAccess
public void setProjectViewAccess(EProjectAccessConfig projectViewAccess)
-
getImportType
public EProjectImportType getImportType()
-
isUserCanEditProject
public boolean isUserCanEditProject()
-
isUserCanViewProject
public boolean isUserCanViewProject()
-
getProjectEditGroups
public List<BenutzerGruppe> getProjectEditGroups()
-
getProjectViewGroups
public List<BenutzerGruppe> getProjectViewGroups()
-
isCanUserEditExisitingProject
public boolean isCanUserEditExisitingProject()
-
isCanUserEditUserGroups
public boolean isCanUserEditUserGroups()
-
getTotalFormRecordCount
public int getTotalFormRecordCount()
-
getUpdateFormRecordCount
public int getUpdateFormRecordCount()
-
getActiveVersionFormRecordCount
public int getActiveVersionFormRecordCount()
-
isShowOldNewWorfklowMismatch
public boolean isShowOldNewWorfklowMismatch()
-
getOldNewWorfklowMismatchMessage
public String getOldNewWorfklowMismatchMessage()
-
getUpdateFormRecordMsg
public String getUpdateFormRecordMsg()
-
getJoinEditorGroupMsg
public String getJoinEditorGroupMsg()
-
getJoinVisibleGroupMsg
public String getJoinVisibleGroupMsg()
-
getHelpId
public String getHelpId()
- Returns:
- The help ID for the import or update dialog that links to the corresponding FORMCYCLE help page.
-
getDialogHeader
public String getDialogHeader()
-
canUserModify
public boolean canUserModify(ImportConfigWrapper configWrapper)
-
startUpdate
public void startUpdate(org.primefaces.event.FileUploadEvent evt)
-
startUpdateWithFile
public void startUpdateWithFile(File file)
-
importProjectFromTemplate
public void importProjectFromTemplate(IProjectTemplate template, String projectScope)
-
startImport
public void startImport(org.primefaces.event.FileUploadEvent evt)
-
continueWithImport
public void continueWithImport()
-
clearProjectEditorSettings
public void clearProjectEditorSettings()
-
keepProjectEditorSettings
public void keepProjectEditorSettings()
-
addEditorGroupToCurrentUser
public void addEditorGroupToCurrentUser(BenutzerGruppe userGroup)
-
clearProjectVisibilitySettings
public void clearProjectVisibilitySettings()
-
keepProjectVisibilitySettings
public void keepProjectVisibilitySettings()
-
addVisibilityGroupToCurrentUser
public void addVisibilityGroupToCurrentUser(BenutzerGruppe userGroup)
-
continueWithStateMapping
public void continueWithStateMapping(StateMapperModel stateMapper, Object state)
-
getOldStateHeader
public String getOldStateHeader(StateMapperModel stateMapper)
-
getOldStateDescription
public String getOldStateDescription(StateMapperModel stateMapper)
-
importProject
public void importProject()
-
overrideActiveVersions
public void overrideActiveVersions(boolean override)
-
importFormVersion
@Deprecated public void importFormVersion(EEntityConflictResolveAction action)
Deprecated.
-
useAlternativeAsDependency
public void useAlternativeAsDependency(ImportConfigWrapper configWrapper, Long alternativeId)
-
resolveConflict
public void resolveConflict(ImportConfigWrapper configWrapper, EEntityConflictResolveAction action)
-
cleanUp
@PreDestroy public void cleanUp()
-
getImportFormName
public String getImportFormName()
-
setImportFormName
public void setImportFormName(String importFormName)
-
getImportFormDesc
public String getImportFormDesc()
-
setImportFormDesc
public void setImportFormDesc(String importFormDesc)
-
isImportFormActive
public boolean isImportFormActive()
-
setImportFormActive
public void setImportFormActive(boolean importFormActive)
-
getImportFormGroup
public String getImportFormGroup()
-
setImportFormGroup
public void setImportFormGroup(String importFormGroup)
-
-