| 程序包 | 说明 |
|---|---|
| io.xiaper.jpa.model | |
| io.xiaper.jpa.repository |
| 限定符和类型 | 方法和说明 |
|---|---|
Category |
Cuw.getCategory() |
Category |
Feedback.getCategory() |
Category |
Category.getParent() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Category> |
Article.getCategories() |
Set<Category> |
Answer.getCategories() |
Set<Category> |
Post.getCategories() |
Set<Category> |
Category.getChildren() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Cuw.setCategory(Category category) |
void |
Feedback.setCategory(Category category) |
void |
Category.setParent(Category parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Article.setCategories(Set<Category> categories) |
void |
Answer.setCategories(Set<Category> categories) |
void |
Post.setCategories(Set<Category> categories) |
void |
Category.setChildren(Set<Category> children) |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<Category> |
CategoryRepository.findByCid(String cid) |
Set<Category> |
CategoryRepository.findByType(String type) |
Set<Category> |
CategoryRepository.findByTypeAndUser(String type,
User user) |
Set<Category> |
CategoryRepository.findByUserAndParent(User user,
Category parent) |
Set<Category> |
CategoryRepository.findByUserAndTypeAndParent(User user,
String type,
Category category) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.data.domain.Page<Answer> |
AnswerRepository.findByCategoriesContains(Category category,
org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<Article> |
ArticleRepository.findByCategoriesContains(Category category,
org.springframework.data.domain.Pageable pageable) |
List<Article> |
ArticleRepository.findByCategoriesContainsOrderByIdDesc(Category category) |
Set<Cuw> |
CuwRepository.findByCategory(Category category) |
Set<Category> |
CategoryRepository.findByUserAndParent(User user,
Category parent) |
Set<Category> |
CategoryRepository.findByUserAndTypeAndParent(User user,
String type,
Category category) |
Copyright © 2019. All rights reserved.