Package org.openiam.esb.repository
Interface BusinessRuleRepository
-
- All Superinterfaces:
AbstractEntityRepository<BusinessRuleEntity,String>
,AbstractKeyEntityCustomRepository<BusinessRuleEntity,String>
,AbstractKeyEntityRepository<BusinessRuleEntity,String>
,BusinessRuleRepositoryCustom
,org.springframework.data.repository.CrudRepository<BusinessRuleEntity,String>
,FindBeansRepositoryCustom<BusinessRuleEntity,BusinessRuleSearchBean>
,org.springframework.data.jpa.repository.JpaRepository<BusinessRuleEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<BusinessRuleEntity>
,org.springframework.data.repository.PagingAndSortingRepository<BusinessRuleEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<BusinessRuleEntity>
,org.springframework.data.repository.Repository<BusinessRuleEntity,String>
@Repository public interface BusinessRuleRepository extends AbstractKeyEntityRepository<BusinessRuleEntity,String>, BusinessRuleRepositoryCustom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
countByOnDoIdOrOnUndoId(String onDoId, String onUndoId)
List<BusinessRuleEntity>
findAllByOnDoIdOrOnUndoId(String onDoId, String onUndoId)
List<BusinessRuleEntity>
findAllByStatusOrderByNameAsc(BusinessRuleStatusEnum statusEnum)
List<BrActionEntity>
getAllActionsByEntitlements(Set<BusinessRuleActionTypeEnum> types, String id)
List<BusinessRuleEntity>
getAllByStatusIn(Collection<BusinessRuleStatusEnum> states)
List<BrConditionEntity>
getAllConditionsByEntitlements(BusinessRuleExpressionAttribute attribute, String id)
-
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
-
findAllByStatusOrderByNameAsc
List<BusinessRuleEntity> findAllByStatusOrderByNameAsc(BusinessRuleStatusEnum statusEnum)
-
findAllByOnDoIdOrOnUndoId
List<BusinessRuleEntity> findAllByOnDoIdOrOnUndoId(String onDoId, String onUndoId)
-
getAllByStatusIn
List<BusinessRuleEntity> getAllByStatusIn(Collection<BusinessRuleStatusEnum> states)
-
getAllConditionsByEntitlements
@Query("select conds from BrConditionEntity conds join conds.values vals where conds.expressionAttribute = :attribute and vals = :id") List<BrConditionEntity> getAllConditionsByEntitlements(@Param("attribute") BusinessRuleExpressionAttribute attribute, @Param("id") String id)
-
getAllActionsByEntitlements
@Query("select actions from BrActionEntity actions join actions.values vals where actions.type in (:types) and vals = :id") List<BrActionEntity> getAllActionsByEntitlements(@Param("types") Set<BusinessRuleActionTypeEnum> types, @Param("id") String id)
-
-