クラス EntityFileUploadService
java.lang.Object
org.iplass.mtp.impl.fileport.EntityFileUploadService
- すべての実装されたインタフェース:
org.iplass.mtp.spi.Service
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidasyncUpload(InputStream is, String fileName, String defName, String parameter, EntityFileUploadOption option) ファイルを非同期でアップロードします。voiddestroy()intアップロードエラー表示件数の上限値を取得します。非同期アップロード処理状況を返します。voidinit(org.iplass.mtp.spi.Config config) booleanダウンロード時にLimitが指定されている場合にOrderByを必ず指定するかを取得します。upload(InputStream is, String defName, EntityFileUploadOption option) ファイルをアップロードします。voidvalidate(InputStream is, EntityFileType entityFileType, String defName, boolean withReferenceVersion, String interrupterClassName) Uploadファイルを検証します。voidvalidate(InputStream is, EntityFileType entityFileType, String defName, boolean withReferenceVersion, String interrupterClassName, int errorLimit) Uploadファイルを検証します。
-
コンストラクタの詳細
-
EntityFileUploadService
public EntityFileUploadService()
-
-
メソッドの詳細
-
init
public void init(org.iplass.mtp.spi.Config config) - 定義:
initインタフェース内org.iplass.mtp.spi.Service
-
destroy
public void destroy()- 定義:
destroyインタフェース内org.iplass.mtp.spi.Service
-
getShowErrorLimitCount
public int getShowErrorLimitCount()アップロードエラー表示件数の上限値を取得します。- 戻り値:
- アップロードエラー表示件数上限値
-
isMustOrderByWithLimit
public boolean isMustOrderByWithLimit()ダウンロード時にLimitが指定されている場合にOrderByを必ず指定するかを取得します。 SQLServerでのダウロード処理用のフラグです。- 戻り値:
- ダウンロード時にLimitが指定されている場合にOrderByを必ず指定するか
-
validate
public void validate(InputStream is, EntityFileType entityFileType, String defName, boolean withReferenceVersion, String interrupterClassName) Uploadファイルを検証します。 -
validate
public void validate(InputStream is, EntityFileType entityFileType, String defName, boolean withReferenceVersion, String interrupterClassName, int errorLimit) Uploadファイルを検証します。 -
upload
ファイルをアップロードします。- パラメータ:
defName- Entity定義名option- オプションアップロードファイル-- 戻り値:
- アップロード結果
-
asyncUpload
public void asyncUpload(InputStream is, String fileName, String defName, String parameter, EntityFileUploadOption option) ファイルを非同期でアップロードします。- パラメータ:
defName- Entity定義名parameter- タスクのパラメータ(起動側での判断用)option- オプションアップロードファイル-アップロードファイル名-
-
getStatus
非同期アップロード処理状況を返します。- 戻り値:
- アップロード処理状況
-