@RestController @EnableHypermediaSupport(type=HAL) public class WorkbasketAccessItemController extends AbstractPagingController
| Constructor and Description |
|---|
WorkbasketAccessItemController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<WorkbasketAccessItemListResource> |
getWorkbasketAccessItems(org.springframework.util.MultiValueMap<String,String> params)
This GET method return all workbasketAccessItems that correspond the given data.
|
org.springframework.http.ResponseEntity<Void> |
removeWorkbasketAccessItems(String accessId)
This DELETE method delete all workbasketAccessItems that correspond the given accessId.
|
extractCommaSeparatedFields, getPageMetadata, getQueryList, initPageMetadata, initPageMetadata, validateNoInvalidParameterIsLeft@GetMapping(path="/api/v1/workbasket-access-items") public org.springframework.http.ResponseEntity<WorkbasketAccessItemListResource> getWorkbasketAccessItems(@RequestParam org.springframework.util.MultiValueMap<String,String> params) throws pro.taskana.exceptions.NotAuthorizedException, pro.taskana.exceptions.InvalidArgumentException
params - filter, order and access ids.pro.taskana.exceptions.NotAuthorizedException - if the user is not authorized.pro.taskana.exceptions.InvalidArgumentException - if some argument is invalid.@DeleteMapping(path="/api/v1/workbasket-access-items") public org.springframework.http.ResponseEntity<Void> removeWorkbasketAccessItems(@RequestParam(value="access-id") String accessId) throws pro.taskana.exceptions.NotAuthorizedException, pro.taskana.exceptions.InvalidArgumentException
accessId - which need remove his workbasketAccessItems.pro.taskana.exceptions.NotAuthorizedException - if the user is not authorized.pro.taskana.exceptions.InvalidArgumentException - if some argument is invalid.Copyright © 2020. All rights reserved.