|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.co.fujitsu.reffi.client.swing.model.BaseModel
jp.co.fujitsu.reffi.client.swing.model.DatabaseCore
public class DatabaseCore
[概 要]
[詳 細]
[備 考]
[環 境] JDK 6.0 Update 11
Copyright (c) 2008-2009 FUJITSU Japan All rights reserved.
| フィールドの概要 | |
|---|---|
static String |
DB_AUTO_COMMIT
|
static String |
DB_DATASOURCE
|
static String |
DB_DRIVER_FQCN
|
static String |
DB_PASSWORD
|
static String |
DB_URL
|
static String |
DB_USER
|
| コンストラクタの概要 | |
|---|---|
DatabaseCore()
[概 要] [詳 細] [備 考] |
|
| メソッドの概要 | |
|---|---|
void |
addSqlParameter(Object parameter)
[概 要] [詳 細] [備 考] |
protected boolean |
execsql()
[概 要] [詳 細] [備 考] |
protected void |
finalproc()
[概 要] [詳 細] [備 考] |
Connector |
getConnector()
[概 要] [詳 細] [備 考] |
String |
getDatasource()
[概 要] [詳 細] [備 考] |
String |
getDriverFqcn()
[概 要] [詳 細] [備 考] |
String |
getPassword()
[概 要] [詳 細] [備 考] |
protected Map<String,Object> |
getRow(ResultSet rs)
[概 要] [詳 細] [備 考] |
protected List<Map<String,Object>> |
getRows(ResultSet rs)
[概 要] [詳 細] [備 考] |
String |
getSql()
[概 要] [詳 細] [備 考] |
List<Object> |
getSqlParameters()
[概 要] [詳 細] [備 考] |
PreparedStatement |
getStatement()
[概 要] [詳 細] [備 考] |
String |
getUrl()
[概 要] [詳 細] [備 考] |
String |
getUser()
[概 要] [詳 細] [備 考] |
boolean |
isAsList()
[概 要] [詳 細] [備 考] |
boolean |
isAutoCommit()
[概 要] [詳 細] [備 考] |
protected void |
mainproc()
[概 要] [詳 細] [備 考] |
protected void |
postproc()
[概 要] [詳 細] [備 考] |
protected boolean |
preproc()
[概 要] [詳 細] [備 考] |
protected String |
presql()
[概 要] [詳 細] [備 考] |
void |
setAsList(boolean asList)
[概 要] [詳 細] [備 考] |
void |
setAutoCommit(boolean autoCommit)
[概 要] [詳 細] [備 考] |
void |
setConnector(Connector connector)
[概 要] [詳 細] [備 考] |
void |
setDatasource(String datasource)
[概 要] [詳 細] [備 考] |
void |
setDriverFqcn(String driverFqcn)
[概 要] [詳 細] [備 考] |
void |
setPassword(String password)
|
void |
setSql(String sql)
[概 要] [詳 細] [備 考] |
void |
setSqlParameters(List<Object> sqlParameters)
[概 要] [詳 細] [備 考] |
void |
setStatement(PreparedStatement statement)
[概 要] [詳 細] [備 考] |
void |
setUrl(String url)
[概 要] [詳 細] [備 考] |
void |
setUser(String user)
[概 要] [詳 細] [備 考] |
protected void |
sqlparam(Statement stmt)
[概 要] [詳 細] [備 考] |
protected void |
sqlresult()
[概 要] [詳 細] [備 考] |
protected void |
sqlupdate()
[概 要] [詳 細] [備 考] |
| クラス jp.co.fujitsu.reffi.client.swing.model.BaseModel から継承されたメソッド |
|---|
addModelProcessListener, call, done, fireModelFailure, fireModelFinished, fireModelSuccess, getController, getExecuteIndex, getListenerList, getParameterMapping, getResult, getSuccessCount, incrementSuccessCount, init, isAsync, isSkip, removeModelProcessListener, run, setAsync, setController, setExecuteIndex, setListenerList, setParameterMapping, setResult, setSkip, trap |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final String DB_DATASOURCE
public static final String DB_DRIVER_FQCN
public static final String DB_URL
public static final String DB_USER
public static final String DB_PASSWORD
public static final String DB_AUTO_COMMIT
| コンストラクタの詳細 |
|---|
public DatabaseCore()
throws Exception
[概 要]
[詳 細]
[備 考]
Exception| メソッドの詳細 |
|---|
public String getDatasource()
[概 要]
[詳 細]
[備 考]
public void setDatasource(String datasource)
[概 要]
[詳 細]
[備 考]
datasource - public String getDriverFqcn()
[概 要]
[詳 細]
[備 考]
public void setDriverFqcn(String driverFqcn)
[概 要]
[詳 細]
[備 考]
driverFqcn - public String getUrl()
[概 要]
[詳 細]
[備 考]
public void setUrl(String url)
[概 要]
[詳 細]
[備 考]
url - public String getUser()
[概 要]
[詳 細]
[備 考]
public void setUser(String user)
[概 要]
[詳 細]
[備 考]
user - public String getPassword()
[概 要]
[詳 細]
[備 考]
public void setPassword(String password)
password - public boolean isAutoCommit()
[概 要]
[詳 細]
[備 考]
public void setAutoCommit(boolean autoCommit)
[概 要]
[詳 細]
[備 考]
autoCommit - public String getSql()
[概 要]
[詳 細]
[備 考]
public void setSql(String sql)
[概 要]
[詳 細]
[備 考]
sql - public List<Object> getSqlParameters()
[概 要]
[詳 細]
[備 考]
public void setSqlParameters(List<Object> sqlParameters)
[概 要]
[詳 細]
[備 考]
sqlParameters - public void addSqlParameter(Object parameter)
[概 要]
[詳 細]
[備 考]
parameter - public PreparedStatement getStatement()
[概 要]
[詳 細]
[備 考]
public void setStatement(PreparedStatement statement)
[概 要]
[詳 細]
[備 考]
statement - public boolean isAsList()
[概 要]
[詳 細]
[備 考]
public void setAsList(boolean asList)
[概 要]
[詳 細]
[備 考]
asList - public Connector getConnector()
[概 要]
[詳 細]
[備 考]
public void setConnector(Connector connector)
[概 要]
[詳 細]
[備 考]
jdbcconnector -
protected boolean preproc()
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException,
Exception
[概 要]
[詳 細]
[備 考]
BaseModel 内の preprocClassNotFoundException
IllegalAccessException
InstantiationException
Exception
Exception
protected void mainproc()
throws SQLException,
Exception
[概 要]
[詳 細]
[備 考]
BaseModel 内の mainprocSQLException
Exception
protected void postproc()
throws Exception
[概 要]
[詳 細]
[備 考]
BaseModel 内の postprocExceptionprotected void finalproc()
[概 要]
[詳 細]
[備 考]
BaseModel 内の finalprocExceptionprotected String presql()
[概 要]
[詳 細]
[備 考]
protected void sqlparam(Statement stmt)
throws SQLException
[概 要]
[詳 細]
[備 考]
stmt -
SQLException
Exception
protected boolean execsql()
throws SQLException
[概 要]
[詳 細]
[備 考]
SQLException
Exception
protected void sqlresult()
throws Exception
[概 要]
[詳 細]
[備 考]
Exceptionprotected void sqlupdate()
[概 要]
[詳 細]
[備 考]
protected List<Map<String,Object>> getRows(ResultSet rs)
throws Exception
[概 要]
[詳 細]
[備 考]
rs -
Exception
protected Map<String,Object> getRow(ResultSet rs)
throws Exception
[概 要]
[詳 細]
[備 考]
rs -
Exception
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||