Interface ProfileRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Profile,String>, org.springframework.data.jpa.repository.JpaRepository<Profile,String>, org.springframework.data.repository.PagingAndSortingRepository<Profile,String>, org.springframework.data.repository.query.QueryByExampleExecutor<Profile>, org.springframework.data.repository.Repository<Profile,String>

@Repository public interface ProfileRepository extends org.springframework.data.jpa.repository.JpaRepository<Profile,String>
Repository for profile queries.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a profile by its id and contract.
    Get a profile by its name and contract.

    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

    • findByNameAndEbContract

      Profile findByNameAndEbContract(String name, EbContract ebContract)
      Get a profile by its name and contract.
      Parameters:
      name - profile name.
      ebContract - profile contract.
      Returns:
      Profile.
    • findByIdAndEbContract

      Profile findByIdAndEbContract(String id, EbContract ebContract)
      Get a profile by its id and contract.
      Parameters:
      id - profile id.
      ebContract - contract.
      Returns:
      Profile.