Package org.openiam.esb.repository
Interface URIPatternRepository
-
- All Superinterfaces:
AbstractEntityRepository<URIPatternEntity,String>
,AbstractKeyEntityCustomRepository<URIPatternEntity,String>
,AbstractKeyEntityRepository<URIPatternEntity,String>
,org.springframework.data.repository.CrudRepository<URIPatternEntity,String>
,FindBeansRepositoryCustom<URIPatternEntity,URIPatternSearchBean>
,org.springframework.data.jpa.repository.JpaRepository<URIPatternEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<URIPatternEntity>
,org.springframework.data.repository.PagingAndSortingRepository<URIPatternEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<URIPatternEntity>
,org.springframework.data.repository.Repository<URIPatternEntity,String>
,URIPatternRepositoryCustom
@Repository public interface URIPatternRepository extends AbstractKeyEntityRepository<URIPatternEntity,String>, URIPatternRepositoryCustom
Repository working withURIPatternEntity
- Author:
- Viacheslav Gnenny
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIPatternEntity
findByResourceId(String resourceId)
Find URIPatternEntity by their corresponding ResourceID.URIPatternEntity
findURIByContentProviderIdAndPattern(String contentProviderId, String pattern)
Find the URIPAtternEntity by the corresponding ContentProvider ID and Pattern-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
Methods inherited from interface org.openiam.esb.repository.custom.AbstractKeyEntityCustomRepository
findByIdIn
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.openiam.esb.repository.custom.FindBeansRepositoryCustom
count, find, find, find, getByExample, getByExample, isValidSearchBean
-
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
-
findByResourceId
URIPatternEntity findByResourceId(@Param("resourceId") String resourceId)
Find URIPatternEntity by their corresponding ResourceID.- Parameters:
resourceId
- - the resourceId- Returns:
-
findURIByContentProviderIdAndPattern
URIPatternEntity findURIByContentProviderIdAndPattern(@Param("contentProviderId") String contentProviderId, @Param("pattern") String pattern)
Find the URIPAtternEntity by the corresponding ContentProvider ID and Pattern- Parameters:
contentProviderId
- - the content provider idpattern
- - the pattern- Returns:
-
-