Interface RuleRepositoryIf
-
- All Known Implementing Classes:
RuleRepositoryImpl
public interface RuleRepositoryIfCreated by alexg on 07.02.17.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcount()voiddeleteAll()voiddeleteById(String id)List<RuleEntity>findAll()org.springframework.data.domain.Page<RuleEntity>findAll(org.springframework.data.domain.Pageable pageable)Optional<RuleEntity>getRuleByRuleId(String ruleId)voidsave(RuleEntity ruleEntity)voidsaveAll(List<RuleEntity> rules)Iterable<RuleEntity>search(String query)
-
-
-
Method Detail
-
count
long count()
-
deleteAll
void deleteAll()
-
saveAll
void saveAll(List<RuleEntity> rules)
-
save
void save(RuleEntity ruleEntity)
-
findAll
List<RuleEntity> findAll()
-
deleteById
void deleteById(String id)
-
findAll
org.springframework.data.domain.Page<RuleEntity> findAll(org.springframework.data.domain.Pageable pageable)
-
getRuleByRuleId
Optional<RuleEntity> getRuleByRuleId(String ruleId)
-
search
Iterable<RuleEntity> search(String query)
-
-