@Profile(value={"mongo-persistence","fongo"})
@Service
public class RuleRepositoryImpl
extends Object
implements RuleRepositoryIf
| Constructor and Description |
|---|
RuleRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
void |
deleteAll() |
void |
deleteById(String id) |
List<RuleEntity> |
findAll() |
org.springframework.data.domain.Page<RuleEntity> |
findAll(org.springframework.data.domain.Pageable pageable) |
Optional<RuleEntity> |
getRuleByRuleId(String ruleId) |
void |
save(RuleEntity ruleEntity) |
void |
saveAll(List<RuleEntity> rules) |
Iterable<RuleEntity> |
search(String search) |
public long count()
count in interface RuleRepositoryIfpublic void deleteAll()
deleteAll in interface RuleRepositoryIfpublic void saveAll(List<RuleEntity> rules)
saveAll in interface RuleRepositoryIfpublic void save(RuleEntity ruleEntity)
save in interface RuleRepositoryIfpublic List<RuleEntity> findAll()
findAll in interface RuleRepositoryIfpublic void deleteById(String id)
deleteById in interface RuleRepositoryIfpublic org.springframework.data.domain.Page<RuleEntity> findAll(org.springframework.data.domain.Pageable pageable)
findAll in interface RuleRepositoryIfpublic Optional<RuleEntity> getRuleByRuleId(String ruleId)
getRuleByRuleId in interface RuleRepositoryIfpublic Iterable<RuleEntity> search(String search)
search in interface RuleRepositoryIfCopyright © 2018. All rights reserved.