Interface AttachmentFieldFileReference

All Superinterfaces:
FileReference

public interface AttachmentFieldFileReference extends FileReference
Represents a value for an object attachment field.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the unique file handle of the given attachment field file reference.
    Retrieves the file name of the given attachment field file reference.
    long
    Retrieves the file size of the given attachment field file reference.
    Retrieves the checksum of the given attachment field file reference.
    Retrieves the MIME type of the given attachment field file reference.
  • Method Details

    • getFileHandle

      String getFileHandle()
      Retrieves the unique file handle of the given attachment field file reference. For example, "ATF-6B29FC40-CA47-1067-B31D-00DD010662DA".
      Returns:
      the non-null file handle
    • getFileName

      String getFileName()
      Retrieves the file name of the given attachment field file reference. For example, "my_file.docx".
      Returns:
      the non-null file name
    • getMimeType

      String getMimeType()
      Retrieves the MIME type of the given attachment field file reference. For example, "application/vnd.openxmlformats- officedocument.wordprocessingml.document".
      Returns:
      the non-null MIME type
    • getFileSize

      long getFileSize()
      Retrieves the file size of the given attachment field file reference. For example, "159710".
      Returns:
      the non-null file size in bytes
    • getMd5Checksum

      String getMd5Checksum()
      Retrieves the checksum of the given attachment field file reference. For example, "6bc2ca69eea7a39ecb764c1710e45d6e". If the checksum is processing, returns "pending".
      Returns:
      the non-null checksum