jp.ne.mki.wedge.rule
クラス AbstractDcBusinessRule

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

public abstract class AbstractDcBusinessRule
extends AbstractBusinessRule
implements BusinessRuleInterface, ServerDcRuleInterface

ロジッククラス抽象クラス


ロジッククラスを作成するには、このクラスを継承して作成して下さい。

サーバーデータコントロールパラメータセット専用
実装の必要があるメソッドは以下の3つで、この順番で順に実行されます。
 1. public int getIOParameter()
 2. public int execute()
 3. public void exit()
1.では、Input/OutputParameterのチェックや、変数への格納処理を行ってください。
2.では、実際の処理内容を記述してください。上位クラスにてエラーをCatchするので、TryCatchはする必要はありません。
3.では、変数の開放処理などを行ってください。3.は異常終了などした場合でも必ず実行されます。


●InputRecordの数でLOOPする
execute()の処理の中で、loopInRecord()を記述します。処理はloopInRecordSub()の関数を上書きして下さい。
●OutputRecordの数でLOOPする
execute()の処理の中で、loopOutRecord()を記述します。処理はloopOutRecordSub()の関数を上書きして下さい。
●OutputRecordとInputRecordで、少ない方の数でLOOPする
execute()の処理の中で、loopInOutRecord()を記述します。処理はloopInOutRecordSub()の関数を上書きして下さい。
*


バージョン:
1.0

フィールドの概要
 java.lang.String className
          推奨されていません。  
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したフィールド
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
 
コンストラクタの概要
AbstractDcBusinessRule()
          推奨されていません。  
 
メソッドの概要
 java.lang.String getConnectDB()
          推奨されていません。 DBコネクションの取得
 java.lang.String getRuleSQL()
          推奨されていません。 rule設定sqlの取得
 void setConnectDB(java.lang.String conDB)
          推奨されていません。 DBコネクションの設定
 void setRuleSQL(java.lang.String sql)
          推奨されていません。 rule設定sqlの設定
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したメソッド
createErrorMessage, executeRule, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getClientRuleObject, getCodeBase, getComponent, getComponent, getConfig, getConfImagePath, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, 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, loopInRecordSub, loopOutRecord, loopOutRecordSub, 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
 
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface から継承したメソッド
execute, executeRule, exit, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getIOParameter, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutRecord, getOutRecord, getOutRecord, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRuleParameter, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, setControlRecord, setExecuteType, setHtmlExecution, setHtmlManager, setId, setInRecord, setLogicalName, setManager, setOutRecord, setPhysicalName, setRuleParameter, setServerData, setServerParameter, setUserConstant, setWedgeLog
 
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface から継承したメソッド
execute, exit, getIOParameter
 

フィールドの詳細

className

public java.lang.String className
推奨されていません。 
コンストラクタの詳細

AbstractDcBusinessRule

public AbstractDcBusinessRule()
推奨されていません。 
メソッドの詳細

getRuleSQL

public java.lang.String getRuleSQL()
推奨されていません。 
rule設定sqlの取得
定義:
インタフェース ServerDcRuleInterface 内の getRuleSQL
戻り値:
string

getConnectDB

public java.lang.String getConnectDB()
推奨されていません。 
DBコネクションの取得
定義:
インタフェース ServerDcRuleInterface 内の getConnectDB
戻り値:
string

setRuleSQL

public void setRuleSQL(java.lang.String sql)
推奨されていません。 
rule設定sqlの設定
定義:
インタフェース ServerDcRuleInterface 内の setRuleSQL

setConnectDB

public void setConnectDB(java.lang.String conDB)
推奨されていません。 
DBコネクションの設定
定義:
インタフェース ServerDcRuleInterface 内の setConnectDB