Project

General

Profile

« Previous | Next » 

Revision 50612

1. Added DivId class and API : special classes to be used by explore portal pages which have steps
2. Added DivHelpContent class and API
3. Added parameter 'div' (true/false) in '/community' to get communities related to some divIds
4. Added parameter 'div' (true/false) in '/community/{pid}/pages' to get pages of a community, which are related to some divIds
5. Added parameter 'before' (true/false) in '/pagehelpcontent'
6. When a community is deleted, all divIds, div contents, page contents related to this community are deleted too
7. When a page is deleted, all divIds, div contents, page contents related to this page are deleted too (page is also deleted from all communities)
8. In 'PageHelpContent' class 'before' field renamed to 'isPriorTo'
9. Bug fixes to ask community by 'pid' not 'id'

View differences:

EntityController.java
99 99
        for (String id: entities) {
100 100
            entityDAO.delete(id);
101 101

  
102
            // delete entities from communities
102
            // delete entity from communities
103 103
            List<Community> communities = communityDAO.findAll();
104 104
            for( Community community : communities ) {
105 105
                Map<String, Boolean> communityEntities = community.getEntities();
......
108 108
                communityDAO.save(community);
109 109
            }
110 110

  
111
            // delete entities from pages
111
            // delete entity from pages
112 112
            List<Page> pages = pageDAO.findAll();
113 113
            for( Page page : pages ) {
114 114
                List<String> pageEntities = page.getEntities();

Also available in: Unified diff