Revision 56174
Added by Konstantina Galouni almost 5 years ago
DivIdResponse.java | ||
---|---|---|
13 | 13 |
private String name; |
14 | 14 |
private List<Page> pages; |
15 | 15 |
|
16 |
public DivIdResponse() {} |
|
17 |
|
|
16 | 18 |
public DivIdResponse(DivId divId) { |
17 | 19 |
this.id = divId.getId(); |
18 | 20 |
this.name = divId.getName(); |
Also available in: Unified diff
1. CommunityController.java: Add check for pid: "connect"
2. DivIdController.java: Bug fix: Save and Update methods should get parameter DivIdResponse
3. PageController.java: pid == "connect" case - get pages that are enabled in connect
4. CommunityPage.java & Page.java & PageDAO.java & MongoDBPageDAO.java: Rename "connect" field to "communities" and use "connect" field for connect general pages (not community specific)
5. update_db.js: Add function to set "communities" field in each page with value from "connect" field, and make "connect" false.