public class EntryQueryTag extends QueryTag
●形式: <og:entryQuery queryType = "JDBCKeyEntry" command = "{@command}" > { call DYNAMIC_PKG.DYNAMIC_TEST( ?,?,?,? ) } </og:query> queryType : Queryオブジェクトを作成する時のキー(オプション) QueryFactory参照 command : 処理コマンド( NEWのみ )(オプション) skipRowCount : データの読み始めの初期値を指定(オプション) maxRowCount : データの最大読み込み件数を指定(オプション) ●body:あり ●Tag定義: <og:entryQuery queryType ○【TAG】Query を発行する為のクラスIDを指定します(初期値:JDBCKeyEntry)。(必須) command 【TAG】コマンド(NEW,RENEW)をセットします(PlsqlUpdateTag,UpdateTag の場合は、ENTRY) scope 【TAG】キャッシュする場合のスコープ[request/page/session/applicaton]を指定します(初期値:session) maxRowCount 【TAG】(通常は使いません)データの最大読み込み件数を指定します (初期値:DB_MAX_ROW_COUNT[=1000]) skipRowCount 【TAG】(通常は使いません)データの読み始めの初期値を指定します displayMsg 【TAG】検索結果を画面上に表示するメッセージリソースIDを指定します (初期値:VIEW_DISPLAY_MSG[=]) notfoundMsg 【TAG】検索結果がゼロ件の場合に表示するメッセージリソースIDを指定します(初期値:MSG0077[対象データはありませんでした]) names 【TAG】PL/SQLを利用する場合の引数にセットすべき データの名称をCSV形式で複数指定します tableId 【TAG】(通常は使いません)結果のDBTableModelを、sessionに登録するときのキーを指定します dbid 【TAG】(通常は使いません)Queryオブジェクトを作成する時のDB接続IDを指定します debug 【TAG】デバッグ情報を出力するかどうか[true/false]を指定します(初期値:false) > ... Body ... </og:entryQuery> ●使用例 例1) <table><tr><og:input name="PN" value="{@PN}" /></tr> <tr><og:input name="CD" value="{@CD}" /></tr> </table> 例2) <table><tr><og:input name="PN" value="{@PN}" >部品入力フィールド</og:input></tr> <tr><og:input name="CD" value="{@CD}" >コードフィールド</og:input></tr> </table> BODY 部分は、無視されます。コメント等に使用できます。 HTMLファイルには、コメント部分は出力されません。
CMD_NEW, CMD_RENEW, command, displayMsg, dyStart, errCode, errMessage, errMsgId, executeCount, maxRowCount, names, outMessage, quotCheck, skipRowCount, sql, stopError, table, tableId, xssCheck
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
コンストラクタと説明 |
---|
EntryQueryTag() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
execute(Query query)
Query を実行します。
|
protected String[] |
getRequestKeys()
リクエスト情報のキー配列データを取得します。
|
void |
setQueryType(String id)
【TAG】Query を発行する為のクラスIDを指定します(初期値:JDBCKeyEntry)。
|
doAfterBody, doEndTag, doStartTag, getRequest, release2, setCheckNames, setCommand, setDbid, setDisplayMsg, setMainTrans, setMaxRowCount, setModifyType, setNames, setNotfoundMsg, setOutMessage, setOverflowMsg, setQuotCheck, setSkipRowCount, setStopError, setStopZero, setTableId, setTrace, setUseBeforeHtmlTag, setXssCheck, toString
add, add, addEventColumn, addEventColumn, check, check, commitTableObject, debugPrint, doCatch, doFinally, get, getApplicationInfo, getAttributes, getBodyRawString, getBodyString, getContextAttribute, getContextPath, getCookie, getCSVParameter, getDataCondition, getDateFormat, getDBColumn, getDBFunctionName, getDocumentLink, getGUIInfo, getGUIInfoAttri, getLabel, getLabelInterface, getLanguage, getLongLabel, getMsglbl, getObject, getParameterNames, getParameterRows, getRequest, getRequestAttribute, getRequestCacheData, getRequestParameter, getRequestParameterValues, getRequestValue, getRequestValue, getRequestValues, getReservedParameter, getReservedValue, getResource, getSanitizedBodyString, getScope, getSessionAttribute, getTagName, getUser, getUserInfo, isAjaxSubmitRequest, isDebug, isNoTransitionRequest, isNull, jspPrint, removeContextAttribute, removeObject, removeRequestAttribute, removeSessionAttribute, set, setAjaxSubmitRequest, setCaseKey, setCaseVal, setContextAttribute, setCookie, setDebug, setLanguage, setLbl, setNoTransitionRequest, setObject, setObject, setParameterNames, setParameterRows, setRequestAttribute, setRequestCacheData, setScope, setSessionAttribute, setUserInfo, startQueryTransaction, sys, sysBool, sysInt, useMainTrans, useQuotCheck, useTag, useXssCheck
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParent, setPageContext, setParent
protected void execute(Query query)
protected String[] getRequestKeys()
3.1.0.0 (2003/03/20) Vector を使用している箇所で、非同期でも構わない箇所を、ArrayList に置換え。 |
public void setQueryType(String id)
setQueryType
クラス内 QueryTag
id
- Query を発行する為の実クラス IDQueryのサブクラス
,
Query.execute( String[] , String[] )
引数指定のINSERT/UPDATE文を実行する場合の、queryType 属性を使用します。 このタグでは、execute( String[] , String[] )を実行します。 代表的なクラスとして、"JDBCKeyEntry" が標準で用意されています。 タグにより使用できる/出来ないがありますが、これは、org.opengion.hayabusa.db 以下の Query_**** クラスの **** を与えます。 これらは、Query インターフェースを継承したサブクラスです。
3.5.4.2 (2003/12/15) JavaDocコメント用にメソッド追加。 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.