Interface FileStorePlugin

    • Method Detail

      • getName

        String getName()
        Returns:
        Store name
      • read

        FileInfo read​(FileInfoURI uri)
        Load a file by its URI.
        Parameters:
        uri - FileURI requested
        Returns:
        FileInfo for this uri (null if not found).
      • create

        FileInfo create​(FileInfo fileInfo)
        Save a file. Input FileInfo must have an empty URI : insert mode
        Parameters:
        fileInfo - File to save (creation)
        Returns:
        the created FileInfo
      • update

        void update​(FileInfo fileInfo)
        Save a file. Input FileInfo must have an URI : update mode
        Parameters:
        fileInfo - File to save (modification)
      • delete

        void delete​(FileInfoURI uri)
        Delete a file.
        Parameters:
        uri - File's URI to remove
      • getFileInfoClass

        Class<? extends FileInfo> getFileInfoClass()
        Get's the FileInfo Class that are handled by the particular plugin
        Returns: