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>

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

    Modifier and Type
    Method
    Description
     
     

    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, getReferenceById, 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 Details

    • getByUserUUID

      @Query("SELECT up FROM Userprivacy up WHERE up.userUUID IN (?1)") List<Userprivacy> getByUserUUID(Collection<String> uuid)
    • getByUserUUID

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