@Component public class WorkbasketMapper extends Object
Workbasket to its resource counterpart WorkbasketResource and vice versa.| Constructor and Description |
|---|
WorkbasketMapper() |
| 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.NotAuthorizedExceptionpublic pro.taskana.Workbasket toModel(WorkbasketResource wbResource) throws pro.taskana.exceptions.NotAuthorizedException
pro.taskana.exceptions.NotAuthorizedExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.