Interface ApplicationsRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Applications,​java.util.UUID>, org.springframework.data.jpa.repository.JpaRepository<Applications,​java.util.UUID>, org.springframework.data.repository.PagingAndSortingRepository<Applications,​java.util.UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<Applications>, org.springframework.data.repository.Repository<Applications,​java.util.UUID>

    @Repository
    public interface ApplicationsRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Applications,​java.util.UUID>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean existsByName​(java.lang.String name)
      Checks if an Applications object exists with the given role name.
      java.util.Optional<Applications> findByName​(java.lang.String name)
      Find the Applications object with the given role name.
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

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

        count, exists, findAll, findOne
    • Method Detail

      • existsByName

        boolean existsByName​(java.lang.String name)
        Checks if an Applications object exists with the given role name.
        Parameters:
        name - the role name
        Returns:
        true if a Applications object exists with the given role name
      • findByName

        java.util.Optional<Applications> findByName​(java.lang.String name)
        Find the Applications object with the given role name.
        Parameters:
        name - the role name
        Returns:
        an optional with the entry if found