Interface FilesystemSupplementedRepository<Type extends VersionedFileFields<java.lang.Long> & IridaThing>
-
- Type Parameters:
Type
- The type of object this repository is storing
- All Known Subinterfaces:
AnalysisOutputFileRepository
,GenomeAssemblyRepository
,ReferenceFileRepository
,SequenceFileRepository
- All Known Implementing Classes:
AnalysisOutputFileRepositoryImpl
,FilesystemSupplementedRepositoryImpl
,GenomeAssemblyRepositoryImpl
,ReferenceFileRepositoryImpl
,SequenceFileRepositoryImpl
@NoRepositoryBean public interface FilesystemSupplementedRepository<Type extends VersionedFileFields<java.lang.Long> & IridaThing>
Custom implementation interface for writing thePath
part of aSequenceFile
to disk. The interface is left intentionally empty -- the custom implementation re-implements only the persisting methods defined asCrudRepository.save(Object)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Type
saveMetadata(Type entity)
Save an entity without updating any of thePath
entries within the file.
-
-
-
Method Detail
-
saveMetadata
Type saveMetadata(Type entity)
Save an entity without updating any of thePath
entries within the file. WARNING, if you update thePath
entries of this file and use this method, a new file revision will not be created in the file storage or database.- Parameters:
entity
- the entity to save- Returns:
- the saved entity
-
-