jp.ne.mki.wedge.rule.compat10.client.webtribe
クラス V10xFileTransferRule

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.base.AbstractBase
        |
        +--jp.ne.mki.wedge.rule.base.AbstractClient
              |
              +--jp.ne.mki.wedge.rule.compat10.client.webtribe.V10xFileTransferRule
すべての実装インタフェース:
ClientInterface, CommonInterface, RuleEngineInterface

public class V10xFileTransferRule
extends AbstractClient

ファイルをサーバーに送信


入力レコードに設定したファイル名称のファイルをHttp通信にて送信します。
このルールを使用するときにはFileTransferServletを稼動しておく必要があります。
FileTransferServletはWedgeServer.jarに含まれるServletで、
Webtribeをインストールしていれば通常、動作しています。
VisualFrameではこのServletは含まれてません。

転送ファイル種別には、FileTransferServlet.wdgに記述されている、typeの項目を
記述する必要があります。
FileTransferServlet.wdgに[<FileTransfer type="gif" SaveDirectory="/home/file/gif/"/>]
と設定している時は、"gif"と指定をすることによりファイルを転送して、
/home/file/gif/のフォルダに格納します。


[I/O RECORD]

InputRecord OutputRecord
  1. ローカルファイル名
  2. リモートファイル名(省略可 : 省略された場合はローカルファイル名からファイル名だけを抽出)
  3. 転送ファイル種別(省略可 : 省略された場合はパラメータを参照)

[RULE PARAMETER]

Parameter 転送ファイル種別

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

フィールドの概要
(パッケージプライベート)  V10xFileTransferRuleConf config
           
(パッケージプライベート)  java.lang.String configUrl
           
(パッケージプライベート)  DataInterface itemLocalFileName
           
(パッケージプライベート)  DataInterface itemRemoteFileName
           
(パッケージプライベート)  DataInterface itemTransferType
           
 
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承したフィールド
controlRecord, errorMessage, executeType, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.ClientInterface から継承したフィールド
FRAME_CLOSE, FRAME_QUIT, SKIP_ALL, STOP, STOP_SELECT_ALL, SYSTEM_EXIT, SYSTEM_QUIT, TIMING_AFTER, TIMING_BEFORE, TIMING_LOAD, TIMING_ROW_CLICK, TIMING_ROW_WCLICK, TIMING_UN_LOAD
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承したフィールド
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR
 
コンストラクタの概要
V10xFileTransferRule()
          コンストラクタ
 
メソッドの概要
 int execute()
          処理実行
 void exit()
          終了処理。
 int getIOParameter()
          IOパラメータ取得
 
クラス jp.ne.mki.wedge.rule.base.AbstractClient から継承したメソッド
executeCurrentAfter, executeRule, executeRule, getAdapterName, getClientRuleObject, getCodeBase, getComponent, getComponent, getComponents, getConfig, getConfImagePath, getContentPane, getCurrentComponent, getDesktop, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecutions, getExpectNextComponent, getFrame, getImageIcon, getInItem, getInItem, getItems, getManager, getMemory, getOutItem, getOutItem, getParameter, getReturnString, getRevision, isApplet, isApplication, isClientTraceMode, isConpiled, isJWS, isServerTraceMode, isWeb, loopInItem, loopInItemSub, loopInOutItem, loopInOutItemSub, loopOutItem, loopOutItemSub, setErrorMessageMustInComp, setErrorMessageMustOutComp, setExecuteParameter, setFocus, setFocus, setFocus, setManager, setPropertyFromEngine, setStatusBarText, setWedgeLog, showDocument, showErrorDialog, showErrorDialog, showFrame, showFrame, terminate, writeErrorLog, writeErrorLog, writeErrorLog, writeErrorLog, writeLog, writeLog, writeTraceLog
 
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承したメソッド
callDispose, createErrorMessage, dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantValue, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutputHtml, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setHtmlManager, setId, setInRecord, setLogicalName, setOutputHtml, setOutRecord, setPhysicalName, setRuleParameter, setRuleType, setServerControlData, setServerParameter, setUserConstant, showErrorDialogAddRuleName, writeTraceLog
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承したメソッド
dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutRecord, getOutRecord, getOutRecord, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getRuleParameter, getRuleParameters, getRuleType, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, setExecuteType, setRuleType, setServerParameter, showErrorDialogAddRuleName, writeTraceLog
 

フィールドの詳細

itemLocalFileName

DataInterface itemLocalFileName

itemRemoteFileName

DataInterface itemRemoteFileName

itemTransferType

DataInterface itemTransferType

config

V10xFileTransferRuleConf config

configUrl

java.lang.String configUrl
コンストラクタの詳細

V10xFileTransferRule

public V10xFileTransferRule()
コンストラクタ
メソッドの詳細

execute

public int execute()
処理実行
戻り値:
int

getIOParameter

public int getIOParameter()
IOパラメータ取得
戻り値:
int

exit

public void exit()
終了処理。保持していた変数などを開放する処理を記述します。
execute の後に実行されます。
正常終了・異常終了などに関わらず必ず実行されます。