@Component public class ClassificationSummaryRepresentationModelAssembler extends Object implements TaskanaPagingAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>
ClassificationSummaryRepresentationModel.| Constructor and Description |
|---|
ClassificationSummaryRepresentationModelAssembler(pro.taskana.classification.api.ClassificationService classificationService) |
| Modifier and Type | Method and Description |
|---|---|
TaskanaPagedModelKeys |
getProperty() |
pro.taskana.classification.api.models.ClassificationSummary |
toEntityModel(ClassificationSummaryRepresentationModel repModel) |
ClassificationSummaryRepresentationModel |
toModel(pro.taskana.classification.api.models.ClassificationSummary classificationSummary) |
TaskanaPagedModel<ClassificationSummaryRepresentationModel> |
toPageModel(Iterable<pro.taskana.classification.api.models.ClassificationSummary> entities,
org.springframework.hateoas.PagedModel.PageMetadata pageMetadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoPageModel@Autowired public ClassificationSummaryRepresentationModelAssembler(pro.taskana.classification.api.ClassificationService classificationService)
@NonNull public ClassificationSummaryRepresentationModel toModel(@NonNull pro.taskana.classification.api.models.ClassificationSummary classificationSummary)
toModel in interface org.springframework.hateoas.server.RepresentationModelAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>public pro.taskana.classification.api.models.ClassificationSummary toEntityModel(ClassificationSummaryRepresentationModel repModel)
public TaskanaPagedModelKeys getProperty()
public TaskanaPagedModel<ClassificationSummaryRepresentationModel> toPageModel(Iterable<pro.taskana.classification.api.models.ClassificationSummary> entities, org.springframework.hateoas.PagedModel.PageMetadata pageMetadata)
Copyright © 2020. All rights reserved.