Package de.xima.fc.gui.bean.mfserver
Class MandantFrontendServerBean
- java.lang.Object
-
- de.xima.fc.gui.common.utils.msg.I18nUtils
-
- de.xima.fc.gui.common.utils.msg.MessageUtils
-
- de.xima.fc.gui.common.utils.msg.AMessaging
-
- de.xima.fc.gui.common.utils.msg.AJSFContext
-
- de.xima.fc.gui.bean.ABackendJSFContext
-
- de.xima.fc.gui.bean.FCContextBean
-
- de.xima.fc.gui.bean.mfserver.MandantFrontendServerBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class MandantFrontendServerBean extends FCContextBean
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MandantFrontendServerBean.EntityListModelImpl
-
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
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description MandantFrontendServerBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
void
connect(MandantFrontendServer mfs)
List<FrontendServer>
getFrontendServerList(MandantFrontendServer mfs)
IEntityListModel<MandantFrontendServer>
getModel()
EConnectionStatus
getStatus(MandantFrontendServer mfs)
boolean
hasReachedLicenseLimit()
Client license is only to limit amount of frontend-servers and not necessary for activationvoid
removeFromAllForms()
For each form: removes this frontend server from the list of allowed frontend servers.void
setModel(IEntityListModel<MandantFrontendServer> model)
boolean
testConnection()
boolean
testConnection(MandantFrontendServer mfs)
boolean
testFSConnection(FrontendServer frontendServer)
void
updateModel()
-
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, 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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
-
-
-
-
Method Detail
-
updateModel
public void updateModel()
-
connect
public void connect()
-
connect
public void connect(MandantFrontendServer mfs)
-
getModel
public IEntityListModel<MandantFrontendServer> getModel()
- Returns:
- the model
-
setModel
public void setModel(IEntityListModel<MandantFrontendServer> model)
- Parameters:
model
- the model to set
-
getFrontendServerList
public List<FrontendServer> getFrontendServerList(MandantFrontendServer mfs)
-
testConnection
public boolean testConnection()
-
testConnection
public boolean testConnection(MandantFrontendServer mfs)
-
testFSConnection
public boolean testFSConnection(FrontendServer frontendServer)
-
getStatus
public EConnectionStatus getStatus(MandantFrontendServer mfs)
-
removeFromAllForms
public void removeFromAllForms()
For each form: removes this frontend server from the list of allowed frontend servers.
-
hasReachedLicenseLimit
public boolean hasReachedLicenseLimit()
Client license is only to limit amount of frontend-servers and not necessary for activation- Returns:
true
if the limit is reached
-
-