Package pro.taskana.common.rest
Class TaskanaEngineController
- java.lang.Object
-
- pro.taskana.common.rest.TaskanaEngineController
-
@RestController @EnableHypermediaSupport(type=HAL) public class TaskanaEngineController extends Object
Controller for TaskanaEngine related tasks.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<VersionRepresentationModel>currentVersion()Get the current application version.org.springframework.http.ResponseEntity<List<String>>getClassificationCategories(String type)org.springframework.http.ResponseEntity<Map<String,List<String>>>getClassificationCategoriesByTypeMap()org.springframework.http.ResponseEntity<List<String>>getClassificationTypes()org.springframework.http.ResponseEntity<TaskanaUserInfoRepresentationModel>getCurrentUserInfo()org.springframework.http.ResponseEntity<List<String>>getDomains()org.springframework.http.ResponseEntity<Boolean>getIsHistoryProviderEnabled()
-
-
-
Method Detail
-
getDomains
@GetMapping(path="/api/v1/domains") public org.springframework.http.ResponseEntity<List<String>> getDomains()
-
getClassificationCategories
@GetMapping(path="/api/v1/classification-categories") public org.springframework.http.ResponseEntity<List<String>> getClassificationCategories(String type)
-
getClassificationTypes
@GetMapping(path="/api/v1/classification-types") public org.springframework.http.ResponseEntity<List<String>> getClassificationTypes()
-
getClassificationCategoriesByTypeMap
@GetMapping(path="/api/v1/classifications-by-type") public org.springframework.http.ResponseEntity<Map<String,List<String>>> getClassificationCategoriesByTypeMap()
-
getCurrentUserInfo
@GetMapping(path="/api/v1/current-user-info") public org.springframework.http.ResponseEntity<TaskanaUserInfoRepresentationModel> getCurrentUserInfo()
-
getIsHistoryProviderEnabled
@GetMapping(path="/api/v1/history-provider-enabled") public org.springframework.http.ResponseEntity<Boolean> getIsHistoryProviderEnabled()
-
currentVersion
@GetMapping(path="/api/v1/version") public org.springframework.http.ResponseEntity<VersionRepresentationModel> currentVersion()
Get the current application version.- Returns:
- The current version.
-
-