Package de.xima.fc.gui.bean.data
Class DbConnectionBean
- 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.bean.data.DbConnectionBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class DbConnectionBean extends AMessaging
Bean für die Verwaltung von Verbindungen- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDbConnectionBean.EntityListModelImpl
-
Constructor Summary
Constructors Constructor Description DbConnectionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidchangeJdbcUrl(javax.faces.event.AjaxBehaviorEvent evt)Methode zum Ändern der JDBC-Url-Strings Achtung: Dieser wird nur geändert, wenn noch kein Wert gesetzt ist.voidcheckConnection()voiddetermineDriverClass()Deprecated.List<DatenbankZugriff>getDatenbankzugriffe()IEntityListModelSelectByView<DatenbankZugriff>getModel()SessionBeangetSessionBean()Deprecated.voidhandleDriverUpload(org.primefaces.event.FileUploadEvent event)booleanisDbDriverAvailable()booleanisHasValidLookingJdbcUrl()booleanisUserCanUploadDriver()voidsetModel(IEntityListModelSelectByView<DatenbankZugriff> model)voidsetSessionBean(SessionBean sessionBean)Deprecated.voidupdateModel()-
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
-
changeJdbcUrl
public void changeJdbcUrl(javax.faces.event.AjaxBehaviorEvent evt)
Methode zum Ändern der JDBC-Url-Strings Achtung: Dieser wird nur geändert, wenn noch kein Wert gesetzt ist.Grund: Nutzer könnte bereits etwas hineinkopiert haben...
- Parameters:
evt- the ajax event
-
checkConnection
public void checkConnection()
-
determineDriverClass
@Deprecated public void determineDriverClass()
Deprecated.
-
getDatenbankzugriffe
public List<DatenbankZugriff> getDatenbankzugriffe()
-
getModel
public IEntityListModelSelectByView<DatenbankZugriff> getModel()
-
setModel
public void setModel(IEntityListModelSelectByView<DatenbankZugriff> model)
-
getSessionBean
@Deprecated public SessionBean getSessionBean()
Deprecated.
-
setSessionBean
@Deprecated public void setSessionBean(SessionBean sessionBean)
Deprecated.
-
handleDriverUpload
public void handleDriverUpload(org.primefaces.event.FileUploadEvent event)
-
isDbDriverAvailable
public boolean isDbDriverAvailable()
-
isHasValidLookingJdbcUrl
public boolean isHasValidLookingJdbcUrl()
-
isUserCanUploadDriver
public boolean isUserCanUploadDriver()
-
updateModel
public void updateModel()
-
-