Package io.meeds.dapp.web.rest.utils
Class EntityBuilder
java.lang.Object
io.meeds.dapp.web.rest.utils.EntityBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeedMetadataPresentationbuild(io.meeds.deeds.common.elasticsearch.model.DeedMetadata deedMetadata) static DeedTenantPresentationbuild(io.meeds.deeds.common.elasticsearch.model.DeedTenant deedTenant) static HubWithRewarddecorateHubWithReward(io.meeds.wom.api.model.Hub hub, io.meeds.deeds.common.service.HubReportService hubReportService) static org.springframework.http.ResponseEntity<DeedMetadataPresentation> getDeedMetadataResponse(io.meeds.deeds.common.elasticsearch.model.DeedMetadata deedMetadata) static org.springframework.http.ResponseEntity<DeedTenantPresentation> getDeedTenantResponse(io.meeds.deeds.common.elasticsearch.model.DeedTenant deedTenant)
-
Method Details
-
getDeedTenantResponse
public static org.springframework.http.ResponseEntity<DeedTenantPresentation> getDeedTenantResponse(io.meeds.deeds.common.elasticsearch.model.DeedTenant deedTenant) -
getDeedMetadataResponse
public static org.springframework.http.ResponseEntity<DeedMetadataPresentation> getDeedMetadataResponse(io.meeds.deeds.common.elasticsearch.model.DeedMetadata deedMetadata) -
build
public static DeedMetadataPresentation build(io.meeds.deeds.common.elasticsearch.model.DeedMetadata deedMetadata) -
build
public static DeedTenantPresentation build(io.meeds.deeds.common.elasticsearch.model.DeedTenant deedTenant) -
decorateHubWithReward
public static HubWithReward decorateHubWithReward(io.meeds.wom.api.model.Hub hub, io.meeds.deeds.common.service.HubReportService hubReportService)
-