Class DocumentFile


  • public class DocumentFile
    extends Object
    Contains the file information about a document in the document storage
    • Method Detail

      • getDocumentId

        @NotNull
        public @NotNull String getDocumentId()
        Unique document id, which is required to access this document
        Returns:
        documentId
      • getError

        @Nullable
        public @Nullable WebserviceException getError()
        Get error
        Returns:
        error
      • getFileExtension

        @Nullable
        public @Nullable String getFileExtension()
        File extension (without dot)
        Returns:
        fileExtension
      • getFileLastModified

        @Nullable
        public @Nullable String getFileLastModified()
        Date of the last file modification
        Returns:
        fileLastModified
      • getFileName

        @Nullable
        public @Nullable String getFileName()
        File name for the document (without extension)
        Returns:
        fileName
      • setFileName

        public void setFileName​(String fileName)
      • getFilePath

        @Nullable
        public @Nullable String getFilePath()
        File path for the document
        Returns:
        filePath
      • getFileSize

        @Nullable
        public @Nullable Long getFileSize()
        File size of the document (in bytes)
        Returns:
        fileSize
      • getFileTypeGroups

        @Nullable
        public @Nullable String getFileTypeGroups()
        An internal unique text that describes the group to which the file belongs
        Returns:
        fileTypeGroups
      • getFileTypeId

        @Nullable
        public @Nullable Integer getFileTypeId()
        An internal unique id for the file type
        Returns:
        fileTypeId
      • getHistoryId

        @Nullable
        public @Nullable Integer getHistoryId()
        History id of the file entry
        Returns:
        historyId
      • getIsFileLocked

        @Nullable
        public @Nullable Boolean getIsFileLocked()
        File is locked on the server, because an other operation uses the file
        Returns:
        isFileLocked
      • getMetadata

        @Nullable
        public @Nullable MetadataDocument getMetadata()
        Get metadata
        Returns:
        metadata
      • getMimeType

        @Nullable
        public @Nullable String getMimeType()
        Mime type of the document
        Returns:
        mimeType
      • getParentDocumentId

        @Nullable
        public @Nullable String getParentDocumentId()
        If available, the id of the parent document
        Returns:
        parentDocumentId
      • getPassword

        @Nullable
        public @Nullable DocumentPassword getPassword()
        Get password
        Returns:
        password
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object