Class EntityBuilder

java.lang.Object
io.meeds.dapp.web.rest.utils.EntityBuilder

public class EntityBuilder extends Object
  • 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)