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>,PagedRepresentationModelAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel,ClassificationSummaryPagedRepresentationModel>
@Component public class ClassificationSummaryRepresentationModelAssembler extends Object implements PagedRepresentationModelAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel,ClassificationSummaryPagedRepresentationModel>
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 ClassificationSummaryPagedRepresentationModelbuildPageableEntity(Collection<ClassificationSummaryRepresentationModel> content, PageMetadata pageMetadata)pro.taskana.classification.api.models.ClassificationSummarytoEntityModel(ClassificationSummaryRepresentationModel repModel)ClassificationSummaryRepresentationModeltoModel(pro.taskana.classification.api.models.ClassificationSummary classificationSummary)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pro.taskana.common.rest.assembler.PagedRepresentationModelAssembler
addLinksToPagedModel, toPagedModel
-
-
-
-
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)
-
buildPageableEntity
public ClassificationSummaryPagedRepresentationModel buildPageableEntity(Collection<ClassificationSummaryRepresentationModel> content, PageMetadata pageMetadata)
- Specified by:
buildPageableEntityin interfacePagedRepresentationModelAssembler<pro.taskana.classification.api.models.ClassificationSummary,ClassificationSummaryRepresentationModel,ClassificationSummaryPagedRepresentationModel>
-
-