Class ClassificationSummaryRepresentationModelAssembler
- java.lang.Object
-
- pro.taskana.classification.rest.assembler.ClassificationSummaryRepresentationModelAssembler
-
- All Implemented Interfaces:
org.springframework.hateoas.server.RepresentationModelAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>,TaskanaPagingAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>
@Component public class ClassificationSummaryRepresentationModelAssembler extends Object implements TaskanaPagingAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>
EntityModel assembler forClassificationSummaryRepresentationModel.
-
-
Constructor Summary
Constructors Constructor Description ClassificationSummaryRepresentationModelAssembler(pro.taskana.classification.api.ClassificationService classificationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskanaPagedModelKeysgetProperty()pro.taskana.classification.api.models.ClassificationSummarytoEntityModel(ClassificationSummaryRepresentationModel repModel)ClassificationSummaryRepresentationModeltoModel(pro.taskana.classification.api.models.ClassificationSummary classificationSummary)TaskanaPagedModel<ClassificationSummaryRepresentationModel>toPageModel(Iterable<pro.taskana.classification.api.models.ClassificationSummary> entities, org.springframework.hateoas.PagedModel.PageMetadata pageMetadata)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.hateoas.server.RepresentationModelAssembler
toCollectionModel
-
Methods inherited from interface pro.taskana.common.rest.assembler.TaskanaPagingAssembler
addLinksToPagedResource, toPageModel
-
-
-
-
Method Detail
-
toModel
@NonNull public ClassificationSummaryRepresentationModel toModel(@NonNull pro.taskana.classification.api.models.ClassificationSummary classificationSummary)
- Specified by:
toModelin interfaceorg.springframework.hateoas.server.RepresentationModelAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>
-
toEntityModel
public pro.taskana.classification.api.models.ClassificationSummary toEntityModel(ClassificationSummaryRepresentationModel repModel)
-
getProperty
public TaskanaPagedModelKeys getProperty()
- Specified by:
getPropertyin interfaceTaskanaPagingAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>
-
toPageModel
public TaskanaPagedModel<ClassificationSummaryRepresentationModel> toPageModel(Iterable<pro.taskana.classification.api.models.ClassificationSummary> entities, org.springframework.hateoas.PagedModel.PageMetadata pageMetadata)
- Specified by:
toPageModelin interfaceTaskanaPagingAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel>
-
-