jp.ne.mki.wedge.run.interfaces
インタフェース RuleEngineInterface
- 既知のサブインタフェースの一覧:
- ClientInterface, CommonInterface, HtmlGatewayInterface, ServerInterface
- 既知の実装クラスの一覧:
- AbnormalEnd, AbstractBase, AbstractClient, AbstractCommon, AbstractGet, AbstractGetXmlFromItem, AbstractHtmlGateway, AbstractHttpAccess, AbstractLayoutRule, AbstractPost, AbstractReadXmlFromData, AbstractRposDivide, AbstractServer, AbstractServerDC, AbstractXsltFromItem, AddCsvFileFromItem, AddForward, AddForwardDoubleQuote, AddForwardGreaterThanSign, AddForwardLessThanSign, AddForwardReturnCode, AddForwardTabCode, AddForwardYen, AddTabPanel, AddTail, AddTailDoubleQuote, AddTailGreaterThanSign, AddTailLessThanSign, AddTailReturnCode, AddTailTabCode, AddTailYen, AvgColumnText, Base64Decode, Base64Encode, BatchSummary, BRTagConvert, CallJavaScript, CallPerlRule, CallPerlRuleServer, CalParamValue, CapitalLetterConvert, ChangeOutputFileRule, CheckBigSmall, CheckBigSmallParameter, CheckByteLengthParameter, CheckColtextLineNothing, CheckDataType, CheckDate, CheckDate8, CheckEqual, CheckEqualObject, CheckEqualParameter, CheckEqualParameterIgnoreCase, CheckExists, CheckExistsFile, CheckInputRecord, CheckIsDirectory, CheckIsFile, CheckIsVisibleFrame, CheckItemInParameter, CheckNotColtextLineNothing, CheckNotEqual, CheckNotEqualParameter, CheckNotEqualParameterIgnoreCase, CheckNotExists, CheckNotExistsFile, CheckPostNo, CheckRegexMatch, CheckRepetition, CheckSubString, ClearValue, CloseFrame, ColtextAddValue, CompulsionDecisionTableBreak, CompulsionDecisionTypeBreak, CompulsionExecutionSkip, CompulsionTransactionBreak, CompulsionUserError, CopyColumnToColumn, CopyColumnToLine, CopyFile, CopyLineToColumn, CopyValue, CreateXmlFromItemToFile, CutMaxLength, CutRecordSize, DataClear, DataRotate, DateFormatChange, DateFormatChangeSetSourceFormat, DateJoin, DateNext, DatePrev, DateSplit, DateToYYYYAndMMAndDD, DecimalCalcAdd, DecimalCalcAnIndex, DecimalCalcDivide, DecimalCalcMod, DecimalCalcMultiPly, DecimalCalcSubtract, Decode, DecodeByItem, DeleteFile, DetailTableMergeUnion, DispatcherForward, DivideInsertUpdateDelete, DownloadFileFromURL, Dummy, EmptyRowDelete, EmptyRowThenTableRowDelete, ExecuteAfterEvent, ExecuteAfterTakeOver, ExecuteAfterUntilEmpty, ExecuteBeforeEvent, ExecuteDecisionTable, ExecuteFile, ExecutionControl_Index, ExecutionControl_Parameter, ExtensionFileChooser, FileTransferRule, FolderChooser, ForeachDecisionTable, ForeachExecuteAfter, FrameHidden, FrameVisible, FullCharConvert, GatewayProcessSkip, GetAbsoluteValue, GetConstantValue, GetControlRecordValue, GetCookie, GetCurrentComponentValue, GetCurrentTabIndex, GetCurrentTimeMillis, GetDcSqlDef, GetFileInfo, GetFileList, GetFrameName, GetHttpUserAgent, GetIpAddress, GetJobParameter, GetLineMatch, GetMaxValue, GetMinValue, GetMonthFirstDayAndEndDay, GetMultipartDataForBase64, GetNameMatch, GetNCharacterFromHead, GetNextColtextValue, GetOptionalData, GetPageValue, GetParameter, GetRemoteAddress, GetRequestHeader, GetSelectedIndex, GetServerParameter, GetServletURI, GetSignumValue, GetStepParameter, GetTableHeaderValue, GetTableSelectedCoordinates, GetTableSelectedValue, GetTerm, GetToday, GetToday_Jpn_YYMMDD, GetURLForOpen, GetUserObjects, GetYobi, GroupIndicate, HalfCharConvert, HiraganaToKatakana, HtmlChange, IfEmptyThen0Else1, IfEmptyThenDecisionTableBreak, IfEmptyThenDecisionTypeBreak, IfEmptyThenExecutionSkip, IfEmptyThenTransactionBreak, IfEqualParamThen0Else1, IfLessThanSetParam, IfMatchItemThenCopyValue, IfMatchParamThenCopyValue, IfMatchParamThenTableRowDelete, IfUnMatchItemThenCopyValue, IfUnMatchParamThenCopyValue, IncludeOtherHamc, InsertValue, InvalidateSession, JoinColtext, JoinMultiItems, JoinUniqueFont, JWSReadCsvFile, JWSReadFile, JWSWriteCsvFile, JWSWriteFile, KanjiConvert, KatakanaToHiragana, ListClear, LogDebug, LogError, LogFatal, LogInfo, LogTrace, LogWarn, MakeDcQuery, MakeDirectory, MergeDown, MergeSort, MergeUp, MonthNext, MonthPrev, OpenURL, OutputTextFileRule, ParamAdd, PostLineMatch, PostNameMatch, PrintFrame, PutOptionalData, QuickSort, QuickSortDown, QuickSortUp, ReadBinaryToItem, ReadCsvFileToItem, ReadFileToItem, ReadXmlFromDataLineMatch, ReadXmlFromDataNameMatch, RearrangeTab, RearrangeTable, RegexReplace, RemoveOptionalData, RemoveSessionData, RemoveTabPanel, RemoveUserObjects, RemoveValue, RenameFile, ReplaceOneChar, ReplaceString, RequestForwardOtherHamc, ResponseFile, RoundValue, RposDivideForFlag, RposJoin, SampleForHtml, SearchIndexForColtext, SendMail, SessionRule, SetAllDaysForTerm, SetAllValueForRange, SetBackColor, SetBackColorToTableEditor, SetBackColorToTableRenderer, SetBatchStatus, SetBorderLayout, SetCalendarToPanel, SetCaretUpdatePolicy, SetCheckEnum, SetCheckExists, SetCheckFixLength, SetCheckLength, SetCheckMaximum, SetCheckMinimum, SetColtextValue, SetColumnWidth, SetComboHorizontalScrollBar, SetComboMaxRow, SetComboSelectedKey, SetComponentText, SetContentDispositionFileName, SetCookie, SetCurrentTabIndex, SetDefaultFocusComponent, SetDefaultValue, SetDisabledMenu, SetDisabledToolbar, SetDisableItems, SetEditable, SetEditableTableColumn, SetEnabledByInItem, SetEnabledMenu, SetEnabledToolbar, SetEnableItems, SetFocus, SetFocusToTableCell, SetFontToTableAllColumn, SetFontToTableEditor, SetFontToTableRenderer, SetForeColor, SetForeColorToTableEditor, SetForeColorToTableRenderer, SetFrameFunctionKeyListener, SetFrameKeyListenerExtends, SetFrameMaximization, SetFrameMinimization, SetFramePosition, SetFunctionKeyMapToButton, SetFunctionKeyMapToToolbar, SetGridBagLayout, SetGridLayout, SetHeadZero, SetHorizontalAlignment, SetInputValueToExecuteParam, SetItemToTableComboEditor, SetJpnYYToYYYY, SetKeyMapToButton, SetLabelBorder, SetMaxRowSize, SetNoCache, SetNullis0else1, SetOrder, SetRealTimeInputCheck, SetResponseHeader, SetRowCount, SetSelect, SetSelectedIndex, SetSelectedRowChangeListener, SetServerParameter, SetServerStatus, SetTabChangeListener, SetTabDisabled, SetTabEnabled, SetTableHeaderClickListener, SetTableHeaderValue, SetTableSelectedValue, SetTextPositionToTableEditor, SetTextPositionToTableRenderer, SetTextToTableEditor, SetTextToTableRenderer, SetTimer, SetUnEditableTableColumn, SetUnVisible, SetUserObjects, SetValue, SetValueAndMapping, SetValueForAnyColtext, SetValueForAnyText, SetValueWhereEmpty, SetVerticalAlignment, SetVisible, SetVisibleByInItem, SetWhere, SetWindowTitle, SetYYYYToJpnYY, ShowDBAccessCountDialog, ShowErrorDialog, ShowFileOpenDialog, ShowFileSaveDialog, ShowFrame, ShowImageByUrl, ShowMessageDialog, ShowServerParameterDialog, ShowTableRowControl, ShowYesNoCancelDialog, ShowYesNoDialog, SkipRule, SmallLetterConvert, SplitColtext, SplitMultiItems, SplitUniqueFont, SqlInjectionCheck, StartOutsideExecuteFile, StartOutsideExecuteFileWaitFor, StructureIfElse, StructureSetErrorFlag, StructureSwitchCase, StructureTryCatch, SubString, SumColumnText, Summary, SynthesisColtextWhereNotEmpty, SystemOutPrintln, TableRowAddition, TableSelectedRowCopy, TableSelectedRowDelete, TableSelectedRowDown, TableSelectedRowInsert, TableSelectedRowMove, TableSelectedRowUp, TableSort, TabTitleNameChange, TimeJoin, TimeSplit, ToolkitPrintFrame, Trim, UpNumberSet, URLEncode, Wait, WhenNotEmptyThenNextPass, WriteBinaryFromItem, WriteCsvFileFromItem, WriteErrorLog, WriteFileFromItem, WriteFileMultipartData, WriteLog, WriteXmlToData, XM_ImageFileChooser, Xslt, ZeroClear, ZeroSuppress
public interface RuleEngineInterface
ビジネスルール:エンジンからのインターフェース.
実行エンジンからロジッククラスを作成するときに、使用するインターフェースです。
executeRule
int executeRule()
throws java.lang.Throwable
- ビジネスルールを実行する
- 戻り値:
-
- 例外:
java.lang.Throwable
terminate
void terminate()
throws java.lang.Throwable
- オブジェクトを解放する
- 例外:
java.lang.Throwable
setInRecord
void setInRecord( inRecord)
- InputRecord設定
- パラメータ:
{@link
- HashVector} 入力レコード
getInRecord
getInRecord()
- InputRecordを取得
- 戻り値:
HashVector
出力レコード
setOutRecord
void setOutRecord( outRecord)
- OutputRecord設定
- パラメータ:
{@link
- HashVector} 出力レコード
getOutRecord
getOutRecord()
- OutputRecordを取得
- 戻り値:
HashVector
出力レコード
setId
void setId(java.lang.String id)
- IDを設定します。
このIDはリポジトリに格納されているIDになります。
- パラメータ:
id
- ID
getId
java.lang.String getId()
- IDを取得します。
- 戻り値:
setPhysicalName
void setPhysicalName(java.lang.String name)
- 物理名称を設定する
- パラメータ:
name
- 物理名称
getPhysicalName
java.lang.String getPhysicalName()
- 物理名称を取得する
- 戻り値:
- String 物理名称
setLogicalName
void setLogicalName(java.lang.String name)
- 論理名称を設定する
- パラメータ:
name
- 論理名称
getLogicalName
java.lang.String getLogicalName()
- 論理名称を取得する
- 戻り値:
- String 論理名称
setRuleParameter
void setRuleParameter(java.lang.String name)
- ルールパラメータを設定する
- パラメータ:
name
- ロジッククラスのパラメータ
getRuleParameter
java.lang.String getRuleParameter()
- ロジッククラスパラメータを取得する
- 戻り値:
- ロジッククラスのパラメータ
setControlRecord
void setControlRecord(ControlRecordInterface controlRecord)
- コントロールレコードを設定する
- パラメータ:
controlRecord
-
setExecuteType
void setExecuteType(int type)
- 実行タイプ設定
- パラメータ:
int
- 実行タイプ
getExecuteType
int getExecuteType()
- 実行タイプを取得する
- 戻り値:
setUserConstant
void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
- ユーザ定数を設定する
- パラメータ:
userConstant
-
setEngineManager
void setEngineManager(EngineManagerInterface manager)
- 実行しているエンジンのManagerを設定する
- パラメータ:
manager
- 実行しているエンジンのManager- 導入されたバージョン:
- ver1.3.0
getEngineManager
EngineManagerInterface getEngineManager()
- 実行しているエンジンのManagerを取得する
- 戻り値:
- manager 実行しているエンジンのManager
- 導入されたバージョン:
- ver1.3.0
setPropertyFromEngine
void setPropertyFromEngine(java.lang.String key,
java.lang.Object object)
- 各エンジンから任意の情報を設定する。
Console毎に特異なObjectを渡したい場合にはこのメソッドを経由して
引渡しして下さい。
KEYの値は任意に設定してください。
- パラメータ:
key
- object
-
getRuleType
int getRuleType()
- 戻り値:
getIOParameter
int getIOParameter()
throws java.lang.Throwable
- 戻り値:
-
- 例外:
java.lang.Throwable
getReturnString
java.lang.String getReturnString(int result)
- パラメータ:
result
-
- 戻り値:
execute
int execute()
throws java.lang.Throwable
- 戻り値:
-
- 例外:
java.lang.Throwable
exit
void exit()
throws java.lang.Throwable
- 例外:
java.lang.Throwable
getInRecord
DataInterface getInRecord(int index)
- パラメータ:
index
-
- 戻り値:
getOutRecord
DataInterface getOutRecord(int index)
- パラメータ:
index
-
- 戻り値:
getLogicClassDelegate
jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate getLogicClassDelegate()
- ロジッククラス用実行エンジンの委譲クラスを取得する
- 戻り値:
- 導入されたバージョン:
- ver1.3.0
setLogicClassDelegate
void setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate)
- ロジッククラス用実行エンジンの委譲クラスを設定する
- パラメータ:
logicClassDelegate
- - 導入されたバージョン:
- ver1.3.0
createLogicLogRecord
java.util.logging.LogRecord createLogicLogRecord(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable th)
- LogicLogRecordを作成する
- パラメータ:
level
- message
- th
-
- 戻り値:
- 導入されたバージョン:
- ver1.3.0
createLogicErrorLogRecord
java.util.logging.LogRecord createLogicErrorLogRecord(java.util.logging.Level level,
int result,
java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable th)
- LogicErrorLogRecordを作成する
- パラメータ:
level
- result
- message
- errorCode
- th
-
- 戻り値:
- 導入されたバージョン:
- ver1.3.0
createLogicExceptionLogRecord
java.util.logging.LogRecord createLogicExceptionLogRecord(java.util.logging.Level level,
java.lang.Throwable th,
java.lang.String errorCode)
- LogicExceptionLogRecordを作成する
- パラメータ:
level
- th
- errorCode
-
- 戻り値:
- 導入されたバージョン:
- ver1.3.0
getLogicClassType
jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()
- ロジッククラスタイプを取得します。
getRuleType()はexecuteRule()を実行するまでの間はBothとして認識されてしまうのに対し、
このメソッドはインスタンス直後から固定のロジッククラスタイプを返します。
- 戻り値:
- 導入されたバージョン:
- 1.3.0-03