Revision 60490
Added by Konstantina Galouni about 3 years ago
SectionController.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.uoamonitorservice.controllers; |
2 | 2 |
|
3 |
import eu.dnetlib.uoaadmintoolslibrary.handlers.utils.RolesUtils; |
|
3 | 4 |
import eu.dnetlib.uoamonitorservice.dao.*; |
4 | 5 |
import eu.dnetlib.uoamonitorservice.entities.*; |
5 | 6 |
import eu.dnetlib.uoamonitorservice.handlers.EntityNotFoundException; |
6 | 7 |
import eu.dnetlib.uoaadmintoolslibrary.handlers.ForbiddenException; |
7 | 8 |
import eu.dnetlib.uoamonitorservice.handlers.PathNotValidException; |
8 |
import eu.dnetlib.uoamonitorservice.handlers.utils.RolesUtils; |
|
9 | 9 |
import org.apache.log4j.Logger; |
10 | 10 |
import org.springframework.beans.factory.annotation.Autowired; |
11 | 11 |
import org.springframework.security.access.AccessDeniedException; |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. RolesUtils.java: Comment all contents of this file (should be removed in next commit). This file is added in uoa-admin-tools-library.
2. StakeholderController.java & TopicController.java & CategoryController.java & SubCategoryController.java & SectionController.java & IndicatorController.java: Import RolesUtils from uoa-admin-tools-library.
3. StakeholderController.java: In "getAllRealStakeholders()" method, add optional parameter "defaultId", to get Stakeholders based on a default profile.