Class AdminController
java.lang.Object
eu.dnetlib.common.controller.AbstractDnetController
eu.dnetlib.organizations.controller.AdminController
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.dnetlib.common.controller.AbstractDnetController
AbstractDnetController.ErrorMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPersistentOrgs(List<String> ids) clearCache(org.springframework.security.core.Authentication authentication) deleteUser(String email, org.springframework.security.core.Authentication authentication) newUser(UserRegistration user, org.springframework.security.core.Authentication authentication) performConsistencyCheck(org.springframework.security.core.Authentication authentication) refreshFulltextIndex(org.springframework.security.core.Authentication authentication) restartSuggestionsImport(org.springframework.security.core.Authentication authentication) saveSysConf(SystemConfiguration sysConf, org.springframework.security.core.Authentication authentication) sysConf(org.springframework.security.core.Authentication authentication) updateUser(UserView userView, org.springframework.security.core.Authentication authentication) users(org.springframework.security.core.Authentication authentication) verifyCountriesInSuggestions(org.springframework.security.core.Authentication authentication) Methods inherited from class eu.dnetlib.common.controller.AbstractDnetController
handleException
-
Constructor Details
-
AdminController
public AdminController()
-
-
Method Details
-
newUser
@PostMapping("/registration_api/newUser") public Map<String,Integer> newUser(@RequestBody UserRegistration user, org.springframework.security.core.Authentication authentication) -
users
-
updateUser
-
deleteUser
-
sysConf
@GetMapping("/api/sysconf") public SystemConfiguration sysConf(org.springframework.security.core.Authentication authentication) -
saveSysConf
@PostMapping("/api/sysconf") public SystemConfiguration saveSysConf(@RequestBody SystemConfiguration sysConf, org.springframework.security.core.Authentication authentication) -
refreshFulltextIndex
-
performConsistencyCheck
-
verifyCountriesInSuggestions
-
clearCache
-
restartSuggestionsImport
-
listPersistentOrgs
-
addPersistentOrgs
@PostMapping("/api/persistentOrgs") public Iterable<PersistentOrganizationView> addPersistentOrgs(@RequestBody List<String> ids) -
deletePersistentOrgs
@DeleteMapping("/api/persistentOrgs") public Iterable<PersistentOrganizationView> deletePersistentOrgs(@RequestParam String id)
-