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 booleanexistsByName(java.lang.String name)Checks if anApplicationsobject exists with the given role name.java.util.Optional<Applications>findByName(java.lang.String name)Find theApplicationsobject 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
-
-
-
-
Method Detail
-
existsByName
boolean existsByName(java.lang.String name)
Checks if anApplicationsobject exists with the given role name.- Parameters:
name- the role name- Returns:
- true if a
Applicationsobject exists with the given role name
-
findByName
java.util.Optional<Applications> findByName(java.lang.String name)
Find theApplicationsobject with the given role name.- Parameters:
name- the role name- Returns:
- an optional with the entry if found
-
-