@Component
public class WorkbasketDefinitionAssembler
extends java.lang.Object
Workbasket into a WorkbasketDefinition
containing all additional information about that workbasket.| Constructor and Description |
|---|
WorkbasketDefinitionAssembler() |
| Modifier and Type | Method and Description |
|---|---|
WorkbasketDefinition |
toResource(pro.taskana.Workbasket basket)
maps the distro targets to their id to remove overhead.
|
public WorkbasketDefinition toResource(pro.taskana.Workbasket basket) throws pro.taskana.exceptions.NotAuthorizedException, pro.taskana.exceptions.WorkbasketNotFoundException
basket - Workbasket which will be convertedWorkbasketDefinition, containing the basket, its distribution targets and its
authorizationspro.taskana.exceptions.NotAuthorizedException - if the user is not authorizedpro.taskana.exceptions.WorkbasketNotFoundException - if basket is an unknown workbasketCopyright © 2018. All rights reserved.