クラス EntityFileUploadService

java.lang.Object
org.iplass.mtp.impl.fileport.EntityFileUploadService
すべての実装されたインタフェース:
org.iplass.mtp.spi.Service

public class EntityFileUploadService extends Object implements org.iplass.mtp.spi.Service
  • コンストラクタの詳細

    • 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

      public EntityFileUploadStatus upload(InputStream is, String defName, EntityFileUploadOption option)
      ファイルをアップロードします。
      パラメータ:
      defName - Entity定義名
      option - オプション
      アップロードファイル -
      戻り値:
      アップロード結果
    • asyncUpload

      public void asyncUpload(InputStream is, String fileName, String defName, String parameter, EntityFileUploadOption option)
      ファイルを非同期でアップロードします。
      パラメータ:
      defName - Entity定義名
      parameter - タスクのパラメータ(起動側での判断用)
      option - オプション
      アップロードファイル -
      アップロードファイル名 -
    • getStatus

      public List<EntityFileUploadStatus> getStatus()
      非同期アップロード処理状況を返します。
      戻り値:
      アップロード処理状況