Project

General

Profile

« Previous | Next » 

Revision 57637

1. Add IndicatorDAO.java & MongoDBIndicatorDAO.java.
2. StakeholderDAO.java & MongoDBStakeholderDAO.java: Add methods 'findById()' and 'delete()'.
3. Category.java & SubCategory.java & Topic.java: Add fields 'id' and 'isDefault' and getters/setters for 'isDefault'.
4. Indicator.java: Add field 'isDefault' and getters/setters.
5. IndicatorPath.java: Change 'image' to 'other' in IndicatorPathType enum.
6. StakeholderController.java: Add methods: 'deleteStakeholder()' (by id), 'deleteTopic()', 'deleteCategory()', 'deleteSubCategory()', 'reorderIndicators()'.

View differences:

Indicator.java
27 27
    private List<String> tags;
28 28
    private boolean isActive;
29 29
    private boolean isPublic;
30
    private boolean isDefault;
30 31
    private List<IndicatorPath> indicatorPaths;
31 32

  
32 33
    public String getId() {
......
93 94
        this.isPublic = isPublic;
94 95
    }
95 96

  
97
    public boolean getIsDefault() {
98
        return isDefault;
99
    }
100

  
101
    public void setIsDefault(boolean isDefault) {
102
        this.isDefault = isDefault;
103
    }
104

  
96 105
    public List<IndicatorPath> getIndicatorPaths() {
97 106
        return indicatorPaths;
98 107
    }

Also available in: Unified diff