Package de.xima.fc.gui.bean.settings
Class ClientBean
-
- All Implemented Interfaces:
ISupportChangeEventBean
,Serializable
@Named @ViewScoped public class ClientBean extends FCContextBean implements ISupportChangeEventBean
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ClientBean.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 ClientBean()
-
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
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
getBackendBean
public BackendBean getBackendBean()
- Returns:
- the backendBean
-
setBackendBean
public void setBackendBean(BackendBean backendBean)
- Parameters:
backendBean
- the backendBean to set
-
getApplicationEventBusBean
public ApplicationEventBusBean getApplicationEventBusBean()
-
setApplicationEventBusBean
public void setApplicationEventBusBean(ApplicationEventBusBean applicationEventBusBean)
-
getLicenseModel
public LicenseModel getLicenseModel()
Gets the licenseModel- Returns:
- the licenseModel
-
setLicenseModel
public void setLicenseModel(LicenseModel licenseModel)
Sets the licenseModel- Parameters:
licenseModel
- the licenseModel to set
-
getLicensedataSnapshot
public LicenseDataSnapshot getLicensedataSnapshot()
Gets the licensedataSnapshot- Returns:
- the licensedataSnapshot
-
setLicensedataSnapshot
public void setLicensedataSnapshot(LicenseDataSnapshot licensedataSnapshot)
Sets the licensedataSnapshot- Parameters:
licensedataSnapshot
- the licensedataSnapshot to set
-
getNewPassword
public String getNewPassword()
- Returns:
- the newPassword
-
setNewPassword
public void setNewPassword(String newPassword)
- Parameters:
newPassword
- the newPassword to set
-
getNewPasswordRepeat
public String getNewPasswordRepeat()
- Returns:
- the newPasswordRepeat
-
setNewPasswordRepeat
public void setNewPasswordRepeat(String newPasswordRepeat)
- Parameters:
newPasswordRepeat
- the newPasswordRepeat to set
-
getDeleteConfirmation
public String getDeleteConfirmation()
- Returns:
- A list of clients to be deleted, separated by commas. The user needs to enter the names to confirm that they want to delete those client.
-
setDeleteConfirmation
public void setDeleteConfirmation(String deleteConfirmation)
- Parameters:
deleteConfirmation
- A list of clients to be deleted, separated by commas. The user needs to enter the names to confirm that they want to delete those client.
-
getClientToDelete
public Mandant getClientToDelete()
- Returns:
- The client that is to be deleted, saved for the delete confirmation dialog.
-
setClientToDelete
public void setClientToDelete(Mandant clientToDelete)
- Parameters:
clientToDelete
- The client that is to be deleted, saved for the delete confirmation dialog.
-
getMandantAdmin
public Benutzer getMandantAdmin()
-
setMandantAdmin
public void setMandantAdmin(Benutzer mandantAdmin)
-
getLdapData
public MandantLdapData getLdapData()
- Returns:
- the mandantLdapData
-
setLdapData
public void setLdapData(MandantLdapData ldapData)
- Parameters:
ldapData
- the mandantLdapData to set
-
getMailData
public MandantMailData getMailData()
- Returns:
- the mailData
-
setMailData
public void setMailData(MandantMailData mailData)
- Parameters:
mailData
- the mailData to set
-
getTestmailReceiver
public String getTestmailReceiver()
- Returns:
- the testmailReceiver
-
setTestmailReceiver
public void setTestmailReceiver(String testmailReceiver)
- Parameters:
testmailReceiver
- the testmailReceiver to set
-
getModel
public IEntityListModelSelectByView<Mandant> getModel()
- Returns:
- the model
-
setModel
public void setModel(IEntityListModelSelectByView<Mandant> model)
- Parameters:
model
- the model to set
-
updateModel
public void updateModel()
-
getUsedDiskSapce
public long getUsedDiskSapce()
-
setUsedDiskSapce
public void setUsedDiskSapce(long usedDiskSapce)
-
checkPasswordStrength
public void checkPasswordStrength()
Checks the strength of a password phrase. Triggered from an ajax event
-
getMinPwdLength
public int getMinPwdLength()
Determined the configured minimum password phrase length.- Returns:
- the min. length of passwords
-
handleChangeEvent
public void handleChangeEvent()
- Specified by:
handleChangeEvent
in interfaceISupportChangeEventBean
-
getConfiguredPwdRules
public String getConfiguredPwdRules()
-
validateDeleteConfirmationMulti
public void validateDeleteConfirmationMulti(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value) throws javax.faces.validator.ValidatorException
- Throws:
javax.faces.validator.ValidatorException
-
validateDeleteConfirmationSingle
public void validateDeleteConfirmationSingle(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value) throws javax.faces.validator.ValidatorException
- Throws:
javax.faces.validator.ValidatorException
-
onOpenDeleteConfirmationDialog
public void onOpenDeleteConfirmationDialog()
-
onOpenDeleteConfirmationDialog
public void onOpenDeleteConfirmationDialog(Mandant client)
-
isClientSpecificSupportAdressAllowed
public boolean isClientSpecificSupportAdressAllowed()
-
testMailserver
public void testMailserver()
-
checkConnection
public void checkConnection()
-
isCurrentClientSelected
public boolean isCurrentClientSelected()
-
isCurrentClientMarked
public boolean isCurrentClientMarked()
-
isCurrentLDAP
public boolean isCurrentLDAP()
-
deleteSelected
public void deleteSelected()
-
getContractData
public String getContractData()
- Returns:
- A JSON array with client relevant data for contract view. Used by the contract view of the client.
-
getLicenseDataAsJson
public com.alibaba.fastjson.JSONObject getLicenseDataAsJson(LicenseModel license)
-
isInviteLicensed
@Deprecated public boolean isInviteLicensed()
Deprecated.
-
isAppointmentsLicensed
@Deprecated public boolean isAppointmentsLicensed()
Deprecated.
-
getMaxFormRecordsDefault
@Deprecated public String getMaxFormRecordsDefault()
Deprecated.
-
getMaxInvitesDefault
@Deprecated public String getMaxInvitesDefault()
Deprecated.
-
-