I am using Spring Content https://paulcwarren.github.io/spring-content/ for managing files. There is method that I use for setting content
public interface ContentStore<S, SID extends Serializable> extends ContentRepository<S, SID> {
@LockParticipant
void setContent(S property, InputStream content);
The problem is that I want to create a custom method
void setArchivedContent(S property, List<Resource> resources);
This should take ZIP resources to one file. So I've created
public interface ArchiveStore<S, SID extends Serializable> extends ContentRepository<S, SID> {
implemented it in a place where standard methods are implemented and add an interface to Store
public class GoogleCloudStoreImpl<S, SID extends Serializable>
implements Store<SID>, AssociativeStore<S, SID>, ContentStore<S, SID>, ArchiveStore<S, SID>
public interface MyEntryArchiveStore extends ContentStore<MyEntryArchive, UUID>,
AssociativeStore<MyEntryArchive, UUID>, ArchiveStore<MyEntryArchive, UUID> {
When I run code and try to trigger this method, I face a problem: Spring cannot find Implementation of this method. But it is in GoogleCloudStoreImpl