Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

#prepareHSMFile
Anchor
prepareHSMFile
prepareHSMFile
(File CopyServiceFileCopy Service)

Prepare File for storage to HSM. Return File Object that is used in FileCopy Service.

  • Parameter

    fsID

    File system ID

    filePath

    File path relative to file system (fsID)

  • Return : File Object that is used in FileCopy Service.

#storeHSMFile
Anchor
storeHSMFile
storeHSMFile
(File Copy FileCopy Service)

Store given File to HSM. Return filename (fileID).

  • Parameter

    file

    File to store in HSM

    fsID

    File system ID

    filePath

    File path relative to file system (fsID)

  • Return : String with filename (fileID of File Entity in DB).

#failedHSMFile
Anchor
failedHSMFile
failedHSMFile
(File Copy FileCopy Service)

Called if FileCopy failed.

  • Parameter

    file

    File to store in HSM

    fsID

    File system ID

    filePath

    File path relative to file system (fsID)

  • Return : void

#fetchHSMFile
Anchor
fetchHSMFile
fetchHSMFile
(Tar Retriever TarRetriever Service)

Fetch a File from HSM.

  • Parameter

    fsID

    File system ID

    filePath

    File path relative to file system (fsID)

  • Return : File Object.

#queryStatus
Anchor
queryStatus
queryStatus
(

...

SyncFileStatus Service)

Query status of file in HSM.

  • Parameter

    fsID

    File system ID

    filePath

    File path relative to file system (fsID)

    userInfo

    User info associated with the file system

  • Return : Integer value represents the File Status.

    QUERY_HSM_FAILED

    -4

    MD5_CHECK_FAILED

    -3

    VERIFY_COMPRESS_FAILED

    -2

    COMPRESS_FAILED

    -1

    DEFAULT

    0

    TO_ARCHIVE

    1

    ARCHIVED

    2

    COMPRESSING

    3