Interface KcFile

All Known Subinterfaces:
BudgetSubAwardAttachmentContract, NarrativeAttachmentContract, ProposalPersonBiographyAttachmentContract, ProposalSpecialReviewAttachmentContract, S2sAppAttachmentsContract, S2sOverrideApplicationDataContract, S2sOverrideAttachmentContract, S2sUserAttachedFormAttContract

public interface KcFile
Simple interface to provide common file methods.
  • Method Details

    • getName

      String getName()
      Returns file name of the file.
      Returns:
      name
    • getType

      String getType()
      Returns the mime type of the file.
      Returns:
      type
    • getData

      byte[] getData()
      Returns the data of this file.
      Returns:
      data
    • getFileDataId

      default String getFileDataId()
      Returns:
      the file identifier. Typically, this is the id of the file content in the database or the path in an S3 bucket.
    • getUploadUser

      default String getUploadUser()
    • getUploadTimestamp

      default Date getUploadTimestamp()