package de.ph87.homeautomation.property; import org.springframework.data.repository.CrudRepository; import java.util.List; import java.util.Optional; public interface PropertyRepository extends CrudRepository { Optional findByTitle(String title); List findAllByReadChannel_Id(long readChannelId); List findAll(); List findAllByTitleLike(final String like); boolean existsByTitle(String title); List findAllByReadChannelNotNull(); }