Class RealizationQuotaEnrichmentService
- java.lang.Object
-
- com.eduix.genexp.enrichment.AbstractEnrichmentService
-
- com.eduix.genexp.enrichment.paid_eduction.BaseEnrichmentService
-
- com.eduix.genexp.enrichment.paid_eduction.RealizationQuotaEnrichmentService
-
- All Implemented Interfaces:
EnrichmentService
public class RealizationQuotaEnrichmentService extends BaseEnrichmentService
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerlogprivate TemporaryRegistrationPackageClientrestClient-
Fields inherited from class com.eduix.genexp.enrichment.paid_eduction.BaseEnrichmentService
exportConfig, organisationMapper, tagManager
-
Fields inherited from class com.eduix.genexp.enrichment.AbstractEnrichmentService
name
-
-
Constructor Summary
Constructors Constructor Description RealizationQuotaEnrichmentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnrichmentContextenrich(EnrichmentContext enrichmentContext, boolean inPlace)Enrich the study element in the given enrichment contextMap<String,Class<?>>getTypeClassMappings()booleanisApplicable(String type)booleanisProcessable(EnrichmentContext enrichmentContext)voidsetRestClient(TemporaryRegistrationPackageClient restClient)-
Methods inherited from class com.eduix.genexp.enrichment.paid_eduction.BaseEnrichmentService
getQuotaTag, setExportConfig, setOrganisationMapper, setTagManager
-
Methods inherited from class com.eduix.genexp.enrichment.AbstractEnrichmentService
getElementDeleteMarker, getName
-
-
-
-
Field Detail
-
log
private static final org.slf4j.Logger log
-
restClient
private TemporaryRegistrationPackageClient restClient
-
-
Method Detail
-
getTypeClassMappings
public Map<String,Class<?>> getTypeClassMappings()
- Specified by:
getTypeClassMappingsin interfaceEnrichmentService- Overrides:
getTypeClassMappingsin classAbstractEnrichmentService
-
isApplicable
public boolean isApplicable(String type)
- Specified by:
isApplicablein interfaceEnrichmentService- Overrides:
isApplicablein classAbstractEnrichmentService- Parameters:
type- study element typ- Returns:
- true, if enrichment service is applicable for given study elemenrt type
-
isProcessable
public boolean isProcessable(EnrichmentContext enrichmentContext)
- Specified by:
isProcessablein interfaceEnrichmentService- Overrides:
isProcessablein classAbstractEnrichmentService- Parameters:
enrichmentContext- the current enrichment context- Returns:
- true, if enrichment service is currently processable for given context
-
enrich
public EnrichmentContext enrich(EnrichmentContext enrichmentContext, boolean inPlace)
Description copied from interface:EnrichmentServiceEnrich the study element in the given enrichment context- Parameters:
enrichmentContext- the current enrichment contextinPlace- true, in enrichment does not create a new context- Returns:
- the updated enrichment context
-
setRestClient
public void setRestClient(TemporaryRegistrationPackageClient restClient)
-
-