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:あり(EVAL_BODY_BUFFERED:BODYを評価し、{@XXXX} を解析します)
●Tag定義:
<og:entryQuery
queryType ○【TAG】Query を発行する為のクラスIDを指定します({@og.doc03Link queryType 初期値: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, dispError, displayMsg, dyStart, errCode, errMessage, errMsgId, executeCount, maxRowCount, names, outMessage, quotCheck, skipRowCount, sql, stopError, table, tableId, xssCheckbodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| コンストラクタと説明 |
|---|
EntryQueryTag() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
execute(Query query)
Query を実行します。
|
protected java.lang.String[] |
getRequestKeys()
リクエスト情報のキー配列データを取得します。
|
void |
setQueryType(java.lang.String id)
【TAG】Query を発行する為のクラスIDを指定します(<a href="/gf/jsp/DOC03/index.jsp?command=NEW&GAMENID=DOC03&VERNO=5.9.33.0&VALUENAME=queryType" target="CONTENTS">初期値:JDBCKeyEntry</a>)。
|
doAfterBody, doEndTag, doStartTag, getRequest, release2, setCheckNames, setCommand, setDbid, setDispError, setDisplayMsg, setMainTrans, setMaxRowCount, setModifyType, setNames, setNotfoundMsg, setOutMessage, setOverflowMsg, setQuotCheck, setSkipRowCount, setStopError, setStopZero, setTableId, setTrace, setUseBeforeHtmlTag, setXssCheck, toStringadd, 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, getHostName, getLabel, getLabelInterface, getLanguage, getLASTAttri, getLongLabel, getMsglbl, getNVLAttri, getObject, getParameterNames, getParameterRows, getRequest, getRequestAttribute, getRequestCacheData, getRequestMethod, getRequestParameter, getRequestParameterValues, getRequestValue, getRequestValue, getRequestValues, getReservedParameter, getReservedValue, getResource, getSanitizedBodyString, getScope, getSessionAttribute, getTagName, getUser, getUserEditInfo, getUserInfo, isAjaxSubmitRequest, isDebug, isNoTransitionRequest, isNull, jspPrint, removeContextAttribute, removeObject, removeRequestAttribute, removeSessionAttribute, set, setAjaxSubmitRequest, setCaseKey, setCaseNN, setCaseNull, setCaseVal, setContextAttribute, setCookie, setDebug, setLanguage, setLbl, setNoTransitionRequest, setObject, setObject, setParameterNames, setParameterRows, setRequestAttribute, setRequestCacheData, setScope, setSessionAttribute, setUserInfo, startQueryTransaction, sys, sysBool, sysInt, useMainTrans, useQuotCheck, useTag, useXssCheckdoInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParent, setPageContext, setParentpublic EntryQueryTag()
protected java.lang.String[] getRequestKeys()
| 3.1.0.0 (2003/03/20) Vector を使用している箇所で、非同期でも構わない箇所を、ArrayList に置換え。 |
public void setQueryType(java.lang.String id)
setQueryType クラス内 QueryTagid - Query を発行する為の実クラス IDQueryのサブクラス,
Query.execute( String[] , String[] ) 引数指定のINSERT/UPDATE文を実行する場合の、queryType 属性を使用します。
このタグでは、execute( String[] , String[] )を実行します。
代表的なクラスとして、"JDBCKeyEntry" が標準で用意されています。
タグにより使用できる/出来ないがありますが、これは、org.opengion.hayabusa.db
以下の Query_**** クラスの **** を与えます。
これらは、Query インターフェースを継承したサブクラスです。
{@og.doc03Link queryType Query_**** クラス}| 3.5.4.2 (2003/12/15) JavaDocコメント用にメソッド追加。 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.