Interface UserPrivacyRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Userprivacy,​Long>, org.springframework.data.jpa.repository.JpaRepository<Userprivacy,​Long>, org.springframework.data.repository.PagingAndSortingRepository<Userprivacy,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Userprivacy>, org.springframework.data.repository.Repository<Userprivacy,​Long>

    @Repository
    public interface UserPrivacyRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Userprivacy,​Long>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Userprivacy getByUserUUID​(String uuid)  
      List<Userprivacy> getByUserUUID​(Collection<String> uuid)  
      • 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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
      • 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 Detail

      • getByUserUUID

        @Query("SELECT up FROM Userprivacy up WHERE up.userUUID = ?1")
        Userprivacy getByUserUUID​(String uuid)