@Component
public class WorkbasketAssembler
extends java.lang.Object
Workbasket to its resource counterpart WorkbasketResource and vice versa.| Constructor and Description |
|---|
WorkbasketAssembler() |
| Modifier and Type | Method and Description |
|---|---|
pro.taskana.Workbasket |
toModel(WorkbasketResource wbResource) |
WorkbasketResource |
toResource(pro.taskana.Workbasket wb) |
public WorkbasketResource toResource(pro.taskana.Workbasket wb) throws pro.taskana.exceptions.NotAuthorizedException, pro.taskana.exceptions.WorkbasketNotFoundException
pro.taskana.exceptions.NotAuthorizedExceptionpro.taskana.exceptions.WorkbasketNotFoundExceptionpublic pro.taskana.Workbasket toModel(WorkbasketResource wbResource) throws pro.taskana.exceptions.NotAuthorizedException
pro.taskana.exceptions.NotAuthorizedExceptionCopyright © 2018. All rights reserved.