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 classFrontendServerBean.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
-
addPublicRestApiCorsOrigin
public void addPublicRestApiCorsOrigin()
-
checkConnection
public void checkConnection()
-
cleanup
public void cleanup(FrontendServer fs)
-
cleanupSelectedFS
public void cleanupSelectedFS()
-
connect
public void connect(FrontendServer fs)
-
connectToSelectedFS
public void connectToSelectedFS()
-
delete
public void delete(FrontendServer server)
-
deleteMarked
public void deleteMarked()
-
disconnect
public void disconnect(FrontendServer fs)
-
disconnectFromSelectedFS
public void disconnectFromSelectedFS()
-
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.
-
getModel
public IEntityListModelSelectByView<FrontendServer> getModel()
- Returns:
- the model
-
setModel
public void setModel(IEntityListModelSelectByView<FrontendServer> model)
- Parameters:
model- the model to set
-
getPublicRestApiCorsOrigins
public List<RestApiCorsOrigins> getPublicRestApiCorsOrigins()
-
setPublicRestApiCorsOrigins
public void setPublicRestApiCorsOrigins(List<RestApiCorsOrigins> publicRestApiCorsOrigins)
-
getStatus
public EConnectionStatus getStatus(FrontendServer fs)
-
getUserPortalOptions
public List<UserPortal> getUserPortalOptions()
-
hasFrontendServer
public boolean hasFrontendServer()
-
hasReachedLicenseLimit
public boolean hasReachedLicenseLimit()
-
init
@PostConstruct public void init()
-
isInboxSelected
public boolean isInboxSelected()
-
setInboxSelected
public void setInboxSelected(boolean inboxSelected)
-
isRestApiSelected
public boolean isRestApiSelected()
-
setRestApiSelected
public void setRestApiSelected(boolean restApiSelected)
-
isUserPortalsDisabled
public boolean isUserPortalsDisabled()
-
recreateCertificate
public void recreateCertificate(FrontendServer fs)
-
removePublicRestApiCorsOrigin
public void removePublicRestApiCorsOrigin(int idx)
-
testConnection
public boolean testConnection(FrontendServer fs)
-
testSelected
public boolean testSelected()
-
updateModel
public void updateModel()
-
getSessionCookieTimeoutMinutes
public int getSessionCookieTimeoutMinutes()
-
setSessionCookieTimeoutMinutes
public void setSessionCookieTimeoutMinutes(int sessionCookieTimeoutMinutes)
-
-