Revision 50476
Added by Konstantina Galouni over 6 years ago
PageDAO.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
Page findById(String Id); |
11 | 11 |
|
12 |
Page findByName(String name); |
|
13 |
|
|
14 | 12 |
Page save(Page page); |
15 | 13 |
|
16 | 14 |
void deleteAll(); |
Also available in: Unified diff
1. Change Community methods - use pid (community) to query (GET requests)
2. community/{pid}/page/toggle & community/{pid}/entity/toggle - use pid to identify community
3. New (/pagehelpcontent/save) and Update (/pagehelpcontent/update) APIs for helpcontents separated
4. In new helpcontent, pid received as community id - restored to proper community_id according to pid
5. /community/{pid}/entities?entity= - functionality added to get specific entity of community
6. In api to get specific page of community or specific page type of community (/community/{pid}/pages?page_route= or ?page_type=), ignore page_type if page_route is set
7. API to get page help contents ordered by placement and order - functionality to request for specific community (using pid) and/or specific page (using route) and/or position:
example: /pagehelpcontent?community=123&page=/test&position=left