Package org.openiam.esb.repository
Interface UserAuthParamRepository
-
- All Superinterfaces:
AbstractEntityRepository<UserAuthParamEntity,String>
,AbstractKeyEntityRepository<UserAuthParamEntity,String>
,org.springframework.data.repository.CrudRepository<UserAuthParamEntity,String>
,org.springframework.data.jpa.repository.JpaRepository<UserAuthParamEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<UserAuthParamEntity>
,org.springframework.data.repository.PagingAndSortingRepository<UserAuthParamEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<UserAuthParamEntity>
,org.springframework.data.repository.Repository<UserAuthParamEntity,String>
@Repository public interface UserAuthParamRepository extends AbstractKeyEntityRepository<UserAuthParamEntity,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteByUserId(String userId)
List<UserAuthParamEntity>
findByUserId(String userId)
List<UserAuthParamEntity>
findByUserIdAndType(String userId, UserAuthParamType type)
List<UserAuthParamEntity>
findByUserIdAndTypeAndValue(String userId, UserAuthParamType type, String value)
List<String>
getUserAuthParamValuesByUserIdAndType(String userId, UserAuthParamType type)
-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
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.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
-
-
-
Method Detail
-
findByUserId
List<UserAuthParamEntity> findByUserId(String userId)
-
findByUserIdAndType
List<UserAuthParamEntity> findByUserIdAndType(String userId, UserAuthParamType type)
-
findByUserIdAndTypeAndValue
List<UserAuthParamEntity> findByUserIdAndTypeAndValue(String userId, UserAuthParamType type, String value)
-
getUserAuthParamValuesByUserIdAndType
@Query("SELECT u.value FROM UserAuthParamEntity u WHERE u.userId=:userId AND u.type=:type") List<String> getUserAuthParamValuesByUserIdAndType(@Param("userId") String userId, @Param("type") UserAuthParamType type)
-
deleteByUserId
void deleteByUserId(String userId)
-
-