Revision 58708
Added by Konstantina Galouni almost 4 years ago
MongoDBTopicDAO.java | ||
---|---|---|
9 | 9 |
List<Topic> findAll(); |
10 | 10 |
List<Topic> findByDefaultId(String DefaultId); |
11 | 11 |
|
12 |
Topic findByCategoriesContaining(String category); |
|
13 |
|
|
12 | 14 |
Topic findById(String Id); |
13 | 15 |
|
14 | 16 |
void delete(String Id); |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. Stakeholder.java: Field 'name' added.
2. Section.java: In method 'copyFromDefault()' initialize indicators (empty list).
3. StakeholderDAO.java & MongoDBStakeholderDAO.java: Added method 'Stakeholder findByTopicsContaining(String topic);' (needed to find in which Stakeholder a Topic belongs - section needs stakeholderAlias).
4. TopicDAO.java & MongoDBTopicDAO.java: Added method 'Topic findByCategoriesContaining(String category);' (needed to find in which Topic a Category belongs - section needs stakeholderAlias).
5. CategoryDAO.java & MongoDBCategoryDAO.java: Added method 'Category findBySubCategoriesContaining(String subCategory);' (needed to find in which Category a SubCategory belongs - section needs stakeholderAlias).
6. TopicController.java & CategoryController.java & SubCategoryController.java & SectionController.java & IndicatorController.java:
Bug fixes & changed logic for updates on default profile: When a value in a profile is same as the value in default, inherit changes in default value, otherwise keep local profile's options.