org.jboss.dashboard.ui.panel.dataSourceManagement
Class DataSourceManagementHandler
java.lang.Object
org.jboss.dashboard.factory.BasicFactoryElement
org.jboss.dashboard.ui.components.HandlerFactoryElement
org.jboss.dashboard.ui.panel.dataSourceManagement.DataSourceManagementHandler
- All Implemented Interfaces:
- Serializable, org.jboss.dashboard.factory.FactoryLifecycle
public class DataSourceManagementHandler
- extends org.jboss.dashboard.ui.components.HandlerFactoryElement
- See Also:
- Serialized Form
| Methods inherited from class org.jboss.dashboard.ui.components.HandlerFactoryElement |
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isScopeAdequateForDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start |
| Methods inherited from class org.jboss.dashboard.factory.BasicFactoryElement |
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_DS_NAME
public static final String PARAM_DS_NAME
- See Also:
- Constant Field Values
RESULT_OK
public static final String RESULT_OK
- See Also:
- Constant Field Values
JNDI_TYPE
public static final String JNDI_TYPE
- See Also:
- Constant Field Values
CUSTOM_TYPE
public static final String CUSTOM_TYPE
- See Also:
- Constant Field Values
DataSourceManagementHandler
public DataSourceManagementHandler()
isCreating
public boolean isCreating()
setCreating
public void setCreating(boolean creating)
getDataSourceManager
public org.jboss.dashboard.database.DataSourceManager getDataSourceManager()
getTEST_MODE
public boolean getTEST_MODE()
setTEST_MODE
public void setTEST_MODE(boolean TEST_MODE)
getTEST_RESULT
public String getTEST_RESULT()
setTEST_RESULT
public void setTEST_RESULT(String TEST_RESULT)
getDS_EDIT
public String getDS_EDIT()
setDS_EDIT
public void setDS_EDIT(String DS_EDIT)
isEDIT_MODE
public boolean isEDIT_MODE()
setEDIT_MODE
public void setEDIT_MODE(boolean EDIT_MODE)
getEDIT_MODE
public boolean getEDIT_MODE()
setINTROSPECT_RESULT
public void setINTROSPECT_RESULT(String result)
getINTROSPECT_RESULT
public String getINTROSPECT_RESULT()
setINTROSPECT_MODE
public void setINTROSPECT_MODE(boolean mode)
getINTROSPECT_MODE
public boolean getINTROSPECT_MODE()
getType
public String getType()
setType
public void setType(String type)
getName
public String getName()
setName
public void setName(String name)
getJndiPath
public String getJndiPath()
setJndiPath
public void setJndiPath(String jndiPath)
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getDriverClass
public String getDriverClass()
setDriverClass
public void setDriverClass(String driverClass)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getSelectedTables
public String getSelectedTables()
setSelectedTables
public void setSelectedTables(String selectedTables)
getTestQuery
public String getTestQuery()
setTestQuery
public void setTestQuery(String testQuery)
getIntrospectedTables
public List getIntrospectedTables(String datasource)
throws Exception
- Get all tables of the datasource selected.
- Throws:
Exception
getConnection
public Connection getConnection()
throws Exception
- Throws:
Exception
actionCreateNewDatasource
public void actionCreateNewDatasource(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionCreateDatasource
public void actionCreateDatasource(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionDeleteDataSource
public void actionDeleteDataSource(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionEditDataSource
public void actionEditDataSource(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionIntrospect
public void actionIntrospect(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionSaveChanges
public void actionSaveChanges(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionCancelEdit
public void actionCancelEdit(org.jboss.dashboard.ui.controller.CommandRequest request)
throws Exception
- Throws:
Exception
actionCheckDataSource
public void actionCheckDataSource(org.jboss.dashboard.ui.controller.CommandRequest request)
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.