Interface CaldavServerDAO

All Superinterfaces:
org.springframework.data.repository.CrudRepository<CaldavServerEntity,Long>, org.springframework.data.jpa.repository.JpaRepository<CaldavServerEntity,Long>, org.springframework.data.repository.ListCrudRepository<CaldavServerEntity,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<CaldavServerEntity,Long>, org.springframework.data.repository.PagingAndSortingRepository<CaldavServerEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<CaldavServerEntity>, org.springframework.data.repository.Repository<CaldavServerEntity,Long>

public interface CaldavServerDAO extends org.springframework.data.jpa.repository.JpaRepository<CaldavServerEntity,Long>
Persistence access to the CalDAV server registrations. The table is a registry a deployment holds a handful of rows in, which is why the reads here are whole-registry reads rather than paginated ones.
  • Method Summary

    Modifier and Type
    Method
    Description
    findByProviderName(String providerName)
    Finds the registration bridged to the given agenda remote provider.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByProviderName

      Optional<CaldavServerEntity> findByProviderName(String providerName)
      Finds the registration bridged to the given agenda remote provider.
      Parameters:
      providerName - name of the agenda remote provider
      Returns:
      the registration carrying that provider name, if any