Class JPAFilePersistor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AttachedFile find​(java.lang.String id)
      Find AttachedFile by primary key.
      java.util.Collection<AttachedFile> findLibrary​(java.lang.String libraryId)
      Find files belonging to a library.
      void remove​(java.lang.String id)
      Remove the file from the storage container.
      void removeLibrary​(java.lang.String libraryId)
      Removes files belonging to a library.
      void save​(AttachedFile file)
      Persist a File (stored somewhere).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait