class LocalDhisResourceRepositoryTemplate {

    @Nonnull
    public Collection<T> find( @Nonnull Predicate<T> filter, @Nonnull Supplier<Collection<T>> collectionSupplier, boolean localOnly, @Nonnull String methodName, @Nonnull Object... args )
    {
        return find( null, filter, collectionSupplier, localOnly, methodName, args );
    }

    public  LocalDhisResourceRepositoryTemplate( @Nonnull Class<T> resourceClass, @Nonnull RequestCacheService requestCacheService,
        @Nonnull LocalDhisRepositoryPersistCallback<T> persistCallback );

}