Package de.xima.fc.gui.bean.settings
Class FrontendServerBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class FrontendServerBean extends FCContextBean
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
FrontendServerBean.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 FrontendServerBean()
-
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, 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
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
-
-
-
Method Detail
-
getFsConfigurableProperties
public FSConfigurableProperties getFsConfigurableProperties()
Gets the configuration for the frontend server. Pulled from the frontend server and can be edited via the backend UI.- Returns:
- The error pages configuration.
-
isInboxSelected
public boolean isInboxSelected()
-
setInboxSelected
public void setInboxSelected(boolean inboxSelected)
-
isRestApiSelected
public boolean isRestApiSelected()
-
setRestApiSelected
public void setRestApiSelected(boolean restApiSelected)
-
isUserPortalsDisabled
public boolean isUserPortalsDisabled()
-
isPublicRestApiLicensed
public boolean isPublicRestApiLicensed()
-
isUserPortalsLicensed
public boolean isUserPortalsLicensed()
-
getUserPortalOptions
public List<UserPortal> getUserPortalOptions()
-
getModel
public IEntityListModelSelectByView<FrontendServer> getModel()
- Returns:
- the model
-
setModel
public void setModel(IEntityListModelSelectByView<FrontendServer> model)
- Parameters:
model
- the model to set
-
init
@PostConstruct public void init()
-
updateModel
public void updateModel()
-
deleteMarked
public void deleteMarked()
-
delete
public void delete(FrontendServer server)
-
checkConnection
public void checkConnection()
-
testSelected
public boolean testSelected()
-
testConnection
public boolean testConnection(FrontendServer fs)
-
connect
public void connect(FrontendServer fs)
-
connectToSelectedFS
public void connectToSelectedFS()
-
cleanupSelectedFS
public void cleanupSelectedFS()
-
cleanup
public void cleanup(FrontendServer fs)
-
disconnect
public void disconnect(FrontendServer fs)
-
disconnectFromSelectedFS
public void disconnectFromSelectedFS()
-
hasReachedLicenseLimit
public boolean hasReachedLicenseLimit()
-
hasFrontendServer
public boolean hasFrontendServer()
-
getStatus
public EConnectionStatus getStatus(FrontendServer fs)
-
-