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
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<VersionRepresentationModel>org.springframework.http.ResponseEntity<TaskanaUserInfoRepresentationModel>org.springframework.http.ResponseEntity<CustomAttributesRepresentationModel>org.springframework.http.ResponseEntity<Boolean>org.springframework.http.ResponseEntity<CustomAttributesRepresentationModel>setCustomAttributes(CustomAttributesRepresentationModel customAttributes)
-
Method Details
-
getDomains
@GetMapping(path="/api/v1/domains") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<List<String>> getDomains() -
getClassificationCategories
@GetMapping(path="/api/v1/classification-categories") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<List<String>> getClassificationCategories(@RequestParam(value="type",required=false) String type) -
getClassificationTypes
@GetMapping(path="/api/v1/classification-types") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<List<String>> getClassificationTypes() -
getClassificationCategoriesByTypeMap
@GetMapping(path="/api/v1/classifications-by-type") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<Map<String,List<String>>> getClassificationCategoriesByTypeMap() -
getCurrentUserInfo
@GetMapping(path="/api/v1/current-user-info") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<TaskanaUserInfoRepresentationModel> getCurrentUserInfo() -
getIsHistoryProviderEnabled
@GetMapping(path="/api/v1/history-provider-enabled") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<Boolean> getIsHistoryProviderEnabled() -
getCustomAttributes
@GetMapping(path="/api/v1/config/custom-attributes") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<CustomAttributesRepresentationModel> getCustomAttributes() -
setCustomAttributes
@PutMapping(path="/api/v1/config/custom-attributes") @Transactional(rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<CustomAttributesRepresentationModel> setCustomAttributes(@RequestBody CustomAttributesRepresentationModel customAttributes) -
currentVersion
@GetMapping(path="/api/v1/version") @Transactional(readOnly=true, rollbackFor=java.lang.Exception.class) public org.springframework.http.ResponseEntity<VersionRepresentationModel> currentVersion()
-