Package org.openiam.esb.repository
Interface MailboxConfigurationRepository
-
- All Superinterfaces:
AbstractEntityRepository<MailboxConfigurationEntity,String>
,AbstractKeyEntityCustomRepository<MailboxConfigurationEntity,String>
,AbstractKeyEntityRepository<MailboxConfigurationEntity,String>
,AbstractKeyNameEntityCustomRepository<MailboxConfigurationEntity,String>
,AbstractKeyNameEntityRepository<MailboxConfigurationEntity,String>
,org.springframework.data.repository.CrudRepository<MailboxConfigurationEntity,String>
,FindBeansRepositoryCustom<MailboxConfigurationEntity,MailboxConfigurationSearchBean>
,org.springframework.data.jpa.repository.JpaRepository<MailboxConfigurationEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<MailboxConfigurationEntity>
,MailboxConfigurationRepositoryCustom
,org.springframework.data.repository.PagingAndSortingRepository<MailboxConfigurationEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<MailboxConfigurationEntity>
,org.springframework.data.repository.Repository<MailboxConfigurationEntity,String>
@Repository public interface MailboxConfigurationRepository extends AbstractKeyNameEntityRepository<MailboxConfigurationEntity,String>, MailboxConfigurationRepositoryCustom
This is repository for working withMailboxConfigurationEntity
- Author:
- zaporozhec
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
countAllByTemplateEntityId(String id)
List<String>
findAllByActiveAndIdNotIn(boolean isActive, List<String> excludeIds)
List<MailboxConfigurationEntity>
findAllByActiveInbox(boolean isActive)
List<String>
findConfigsWhichAreFailover()
-
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
-
countAllByTemplateEntityId
long countAllByTemplateEntityId(String id)
-
findAllByActiveAndIdNotIn
@Query("select m.id from MailboxConfigurationEntity m where m.active = :active and m.id not in(:excludeIds) ") List<String> findAllByActiveAndIdNotIn(@Param("active") boolean isActive, @Param("excludeIds") List<String> excludeIds)
-
findConfigsWhichAreFailover
@Query("select f.id from MailboxConfigurationEntity m join m.failoverConfiguration f where f is not null ") List<String> findConfigsWhichAreFailover()
-
findAllByActiveInbox
List<MailboxConfigurationEntity> findAllByActiveInbox(boolean isActive)
-
-