|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.terasoluna.fw.collector.AbstractCollectorConfig
jp.terasoluna.fw.collector.db.DBCollectorConfig
public class DBCollectorConfig
DBCollector設定項目
| フィールドの概要 | |
|---|---|
protected Object |
bindParams
SQLにバインドする値を格納したオブジェクト |
protected DBCollectorPostprocess |
dbCollectorPostprocess
DBCollector後処理 |
protected DBCollectorPreprocess |
dbCollectorPreprocess
DBCollector前処理 |
protected jp.terasoluna.fw.dao.QueryRowHandleDAO |
queryRowHandleDAO
QueryRowHandleDAO |
protected boolean |
relation1n
1:Nマッピング使用フラグ(使用時はtrue) |
protected String |
sqlID
実行するSQLのID |
| クラス jp.terasoluna.fw.collector.AbstractCollectorConfig から継承されたフィールド |
|---|
exceptionHandler, executeByConstructor, queueSize, validationErrorHandler, validator |
| コンストラクタの概要 | |
|---|---|
DBCollectorConfig(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
String sqlID,
Object bindParams)
コンストラクタ |
|
| メソッドの概要 | |
|---|---|
DBCollectorConfig |
addDBCollectorPostprocess(DBCollectorPostprocess dbCollectorPostprocess)
DBCollector後処理を設定する |
DBCollectorConfig |
addDBCollectorPreprocess(DBCollectorPreprocess dbCollectorPreprocess)
DBCollector前処理を設定する |
DBCollectorConfig |
addExceptionHandler(CollectorExceptionHandler exceptionHandler)
CollectorExceptionHandlerを設定する |
DBCollectorConfig |
addExecuteByConstructor(boolean executeByConstructor)
コンストラクタで処理を実行するフラグを設定する |
DBCollectorConfig |
addQueueSize(int queueSize)
キューサイズを設定する |
DBCollectorConfig |
addRelation1n(boolean relation1n)
1:Nマッピング使用フラグを設定する |
DBCollectorConfig |
addValidationErrorHandler(ValidationErrorHandler validationErrorHandler)
ValidationErrorHandlerを設定する |
DBCollectorConfig |
addValidator(org.springframework.validation.Validator validator)
Validatorを設定する |
Object |
getBindParams()
SQLにバインドする値を格納したオブジェクトを取得する。 |
DBCollectorPostprocess |
getDbCollectorPostprocess()
DBCollector後処理を取得する。 |
DBCollectorPreprocess |
getDbCollectorPreprocess()
DBCollector前処理を取得する。 |
jp.terasoluna.fw.dao.QueryRowHandleDAO |
getQueryRowHandleDAO()
QueryRowHandleDAOを取得する。 |
String |
getSqlID()
実行するSQLのIDを取得する。 |
boolean |
isRelation1n()
1:Nマッピング使用フラグを取得する。 |
void |
setBindParams(Object bindParams)
SQLにバインドする値を格納したオブジェクトを設定する。 |
void |
setDbCollectorPostprocess(DBCollectorPostprocess dbCollectorPostprocess)
DBCollector後処理を設定する。 |
void |
setDbCollectorPreprocess(DBCollectorPreprocess dbCollectorPreprocess)
DBCollector前処理を設定する。 |
void |
setQueryRowHandleDAO(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO)
QueryRowHandleDAOを設定する。 |
void |
setRelation1n(boolean relation1n)
1:Nマッピング使用フラグを設定する。 |
void |
setSqlID(String sqlID)
実行するSQLのIDを設定する。 |
| クラス jp.terasoluna.fw.collector.AbstractCollectorConfig から継承されたメソッド |
|---|
getExceptionHandler, getQueueSize, getValidationErrorHandler, getValidator, isExecuteByConstructor, setExceptionHandler, setExecuteByConstructor, setQueueSize, setValidationErrorHandler, setValidator |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO
protected String sqlID
protected Object bindParams
protected boolean relation1n
protected DBCollectorPreprocess dbCollectorPreprocess
protected DBCollectorPostprocess dbCollectorPostprocess
| コンストラクタの詳細 |
|---|
public DBCollectorConfig(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO,
String sqlID,
Object bindParams)
queryRowHandleDAO - QueryRowHandleDAOインスタンスsqlID - 実行するSQLのIDbindParams - SQLにバインドする値を格納したオブジェクト| メソッドの詳細 |
|---|
public DBCollectorConfig addQueueSize(int queueSize)
queueSize - キューサイズ
public DBCollectorConfig addExceptionHandler(CollectorExceptionHandler exceptionHandler)
exceptionHandler - CollectorExceptionHandler
public DBCollectorConfig addValidator(org.springframework.validation.Validator validator)
validator - Validator
public DBCollectorConfig addValidationErrorHandler(ValidationErrorHandler validationErrorHandler)
validationErrorHandler - ValidationErrorHandler
public DBCollectorConfig addRelation1n(boolean relation1n)
relation1n - 1:Nマッピング使用フラグ
public DBCollectorConfig addDBCollectorPreprocess(DBCollectorPreprocess dbCollectorPreprocess)
dbCollectorPreprocess - DBCollector前処理
public DBCollectorConfig addDBCollectorPostprocess(DBCollectorPostprocess dbCollectorPostprocess)
dbCollectorPostprocess - DBCollector後処理
public DBCollectorConfig addExecuteByConstructor(boolean executeByConstructor)
executeByConstructor - コンストラクタで処理を実行するフラグ
public jp.terasoluna.fw.dao.QueryRowHandleDAO getQueryRowHandleDAO()
public void setQueryRowHandleDAO(jp.terasoluna.fw.dao.QueryRowHandleDAO queryRowHandleDAO)
queryRowHandleDAO - QueryRowHandleDAOpublic String getSqlID()
public void setSqlID(String sqlID)
sqlID - 実行するSQLのIDpublic Object getBindParams()
public void setBindParams(Object bindParams)
bindParams - SQLにバインドする値を格納したオブジェクトpublic boolean isRelation1n()
public void setRelation1n(boolean relation1n)
relation1n - 1:Nマッピング使用フラグpublic DBCollectorPreprocess getDbCollectorPreprocess()
public void setDbCollectorPreprocess(DBCollectorPreprocess dbCollectorPreprocess)
dbCollectorPreprocess - DBCollector前処理public DBCollectorPostprocess getDbCollectorPostprocess()
public void setDbCollectorPostprocess(DBCollectorPostprocess dbCollectorPostprocess)
dbCollectorPostprocess - DBCollector後処理
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||