jp.ne.mki.wedge.rule.compat10.html.net
クラス V10xSessionRule

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.AbstractBusinessRule
        |
        +--jp.ne.mki.wedge.rule.AbstractHtmlGatewayRule
              |
              +--jp.ne.mki.wedge.rule.compat10.html.net.V10xSessionRule
すべての実装インタフェース:
BusinessRuleInterface, RuleEngineInterface

public class V10xSessionRule
extends AbstractHtmlGatewayRule

セッションオブジェクトに対するデータ操作を実行。


セッションオブジェクトにデータをセット。

セッションオブジェクトからデータを取得。
JSDK 2.0 以降に対応。(JSDK 2.0 の API のみを使用)


[I/O RECORD]

InputRecord OutputRecord
セッションオブジェクトにセットするアイテム(複数指定可、省略可) TEXT の場合は、String としてセッションオブジェクトに格納。 COLTEXT の場合は、String[] としてセッションオブジェクトに格納。 セッションオブジェクトから取得するアイテム(複数指定可、省略可) TEXT の場合は、String としてセッションオブジェクトに格納。 COLTEXT の場合は、String[] としてセッションオブジェクトに格納。 OutputRecord に指定されたアイテムのうち、ひとつでも取得できなかった場合、 USER_ERROR を返す。

[RULE PARAMETER]

Parameter

バージョン:
1.0
作成者:
mki

フィールドの概要
(パッケージプライベート)  javax.servlet.http.HttpServletRequest req
          サーブレットが呼び出された時のリクエスト
(パッケージプライベート)  int ret
          実行エンジンに返す戻り値。
(パッケージプライベート)  javax.servlet.http.HttpSession session
          このセッションに関連付けられたセッションオブジェクト
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したフィールド
className, errorMessage, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, TIMING_AFTER, TIMING_BEFORE, TIMING_LOAD, TIMING_ROW_CLICK, TIMING_ROW_WCLICK, TIMING_UN_LOAD
 
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface から継承したフィールド
CANCEL, ERROR, OK, SKIP, USER_ERROR
 
コンストラクタの概要
V10xSessionRule()
           
 
メソッドの概要
 int execute()
          InputRecord, OutputRecord をループ処理
 void exit()
          終了処理
 int getIOParameter()
          I/Oパラメータ初期設定
protected  int loopInRecordSub(DataInterface item, int index)
          InputRecord に渡された値をセッションオブジェクトに格納
protected  int loopOutRecordSub(DataInterface item, int index)
          OutputRecord に渡された値をセッションオブジェクトから取得
 
クラス jp.ne.mki.wedge.rule.AbstractHtmlGatewayRule から継承したメソッド
addResponseByte, clearContentType, clearOutputHtml, clearResponseByte, getContentType, getHtmlManager, getMultipartBinaryData, getMultipartBinaryDataSize, getNoResponseFlag, getOutputHtml, getRequest, getResponse, getResponseByte, getServletConfig, getSkipNumber, setContentType, setNoResponseFlag, setOutputHtml, setResponseByte, setSkipNumber
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したメソッド
createErrorMessage, executeRule, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getClientRuleObject, getCodeBase, getComponent, getComponent, getConfig, getConfImagePath, getConnectionId, getConnectionPoolId, getConstantValue, getContentPane, getCurrentComponent, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getExceptionMessage, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecuteType, getExecutions, getExpectNextComponent, getFrame, getHtmlExecution, getHtmlManagerObject, getId, getImageIcon, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getManager, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleType, getRuleTypeName, getServerControlData, getServerData, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getStepParameter, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isApplet, isApplication, isClientTraceMode, isConpiled, isExecutable, isJWS, isServerTraceMode, isWeb, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopOutRecord, setControlRecord, setControlRecord, setControlRecordVector, setExecuteParameter, setExecuteType, setFocus, setFocus, setFocus, setHtmlExecution, setHtmlManager, setId, setInRecord, setLogicalName, setManager, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerControlData, setServerData, setServerParameter, setStatusBarText, setUserConstant, setWedgeLog, showDocument, showErrorDialog, showErrorDialogAddRuleName, showFrame, showFrame, terminate, writeLog, writeLog, writeTraceLog
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

req

javax.servlet.http.HttpServletRequest req
サーブレットが呼び出された時のリクエスト

session

javax.servlet.http.HttpSession session
このセッションに関連付けられたセッションオブジェクト

ret

int ret
実行エンジンに返す戻り値。 OutputRecord に指定されたアイテムのうち、ひとつでも取得できないデータがあった場合、 USER_ERROR を返す。
コンストラクタの詳細

V10xSessionRule

public V10xSessionRule()
メソッドの詳細

getIOParameter

public int getIOParameter()
I/Oパラメータ初期設定
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface からコピーされたタグ:
戻り値:
int int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)

execute

public int execute()
InputRecord, OutputRecord をループ処理
戻り値:
実行ステータス

loopInRecordSub

protected int loopInRecordSub(DataInterface item,
                              int index)
InputRecord に渡された値をセッションオブジェクトに格納
オーバーライド:
クラス AbstractBusinessRule 内の loopInRecordSub

loopOutRecordSub

protected int loopOutRecordSub(DataInterface item,
                               int index)
OutputRecord に渡された値をセッションオブジェクトから取得
オーバーライド:
クラス AbstractBusinessRule 内の loopOutRecordSub

exit

public void exit()
終了処理