public class ReferentialServiceImpl extends AbstractAgrosystService implements ReferentialService
| Modifier and Type | Field and Description |
|---|---|
protected CacheService |
cacheService |
protected String |
DEFAULT_SOURCE |
protected static com.google.common.base.Function<RefActaGroupeCultures,Integer> |
GET_GROUPE_ID_CULTURE |
protected static com.google.common.base.Function<CroppingPlanSpecies,String> |
GET_REF_ESPECE_VARIETY_KEY |
protected static com.google.common.base.Predicate<RefEspeceToVariete> |
IS_GEVES |
protected RefFertiMinUNIFATopiaDao |
refFertiMinUNIFATopiaDao |
protected static Comparator<RefStadeEdiDto> |
STADE_EDI_DTO_COMPARATOR |
protected static com.google.common.base.Function<RefEspeceToVariete,Integer> |
TO_VARIETE_GEVES_SPECIES_ID |
protected static com.google.common.base.Function<RefEspeceToVariete,String> |
TO_VARIETE_PLANT_GRAPE_SPECIES_ID |
context__PARANAMER_DATA| Constructor and Description |
|---|
ReferentialServiceImpl() |
easyBind, easyBind, easyBindNoDelete, finalize, getConfig, getContext, getPersistenceContext, getSecurityContext, getSecurityContextAsUser, getTransaction, newInstance, setContextprotected RefFertiMinUNIFATopiaDao refFertiMinUNIFATopiaDao
protected final String DEFAULT_SOURCE
protected static final com.google.common.base.Predicate<RefEspeceToVariete> IS_GEVES
protected static final com.google.common.base.Function<RefEspeceToVariete,Integer> TO_VARIETE_GEVES_SPECIES_ID
protected static final com.google.common.base.Function<RefEspeceToVariete,String> TO_VARIETE_PLANT_GRAPE_SPECIES_ID
protected static final com.google.common.base.Function<RefActaGroupeCultures,Integer> GET_GROUPE_ID_CULTURE
protected static final Comparator<RefStadeEdiDto> STADE_EDI_DTO_COMPARATOR
protected static final com.google.common.base.Function<CroppingPlanSpecies,String> GET_REF_ESPECE_VARIETY_KEY
protected CacheService cacheService
public void setRefFertiMinUNIFATopiaDao(RefFertiMinUNIFATopiaDao refFertiMinUNIFATopiaDao)
public void setCacheService(CacheService cacheService)
public Map<MaterielType,List<String>> getTypeMateriel1List()
getTypeMateriel1List in interface ReferentialServiceprotected AbstractRefMaterielTopiaDao getRefMaterielDao(MaterielType type)
public List<String> getTypeMateriel2List(TypeMaterielFilter filter)
getTypeMateriel2List in interface ReferentialServicepublic List<String> getTypeMateriel3List(TypeMaterielFilter filter)
getTypeMateriel3List in interface ReferentialServicepublic List<String> getTypeMateriel4List(TypeMaterielFilter filter)
getTypeMateriel4List in interface ReferentialServicepublic Map<String,String[]> getMaterielUniteMap(TypeMaterielFilter filter)
getMaterielUniteMap in interface ReferentialServicepublic RefMateriel findMateriel(String materielTopiaId)
findMateriel in interface ReferentialServicepublic Map<Integer,String> getSolArvalisRegions()
getSolArvalisRegions in interface ReferentialServicepublic List<RefSolArvalis> getSolArvalis(Integer regionCode)
getSolArvalis in interface ReferentialServicepublic RefSolArvalis findSolArvalis(String solArvalisTopiaId)
findSolArvalis in interface ReferentialServicepublic List<RefEspece> findSpecies(String filter)
findSpecies in interface ReferentialServicepublic List<RefVariete> findVarietes(String speciesId, String filter)
findVarietes in interface ReferentialServicepublic boolean validVarietesFromSpeciesId(RefVariete variete, String speciesId)
validVarietesFromSpeciesId in interface ReferentialServicepublic boolean validVarietesFromCodeEspeceEdi(RefVariete variete, String code_espece_botanique)
validVarietesFromCodeEspeceEdi in interface ReferentialServicepublic RefEspece getSpecies(String speciesId)
getSpecies in interface ReferentialServicepublic RefVariete getVariete(String varieteId)
getVariete in interface ReferentialServicepublic RefClonePlantGrape getClonePlantGrape(String clonePlantGrapeId)
getClonePlantGrape in interface ReferentialServicepublic List<RefVariete> findGraftSupports(String filter)
findGraftSupports in interface ReferentialServicepublic List<RefClonePlantGrape> findGraftClones(String speciesId, String varietyId, String filter)
findGraftClones in interface ReferentialServicepublic RefLocation getRefLocation(String refLocationArvalisId)
getRefLocation in interface ReferentialServicepublic List<RefLocation> findActiveCommunes(String filter)
findActiveCommunes in interface ReferentialServicepublic Map<Integer,String> findAllActiveOtex18Code()
findAllActiveOtex18Code in interface ReferentialServicepublic Map<Integer,String> findAllActiveCodeOtex70ByOtex18code(Integer otex18code)
findAllActiveCodeOtex70ByOtex18code in interface ReferentialServicepublic List<RefOrientationEDI> findAllReferentielEDI()
findAllReferentielEDI in interface ReferentialServicepublic RefOrientationEDI findOrientation(String orientationTopiaId)
findOrientation in interface ReferentialServicepublic List<RefInterventionAgrosystTravailEDI> findAllActiveAgrosystActions()
findAllActiveAgrosystActions in interface ReferentialServicepublic List<RefInterventionAgrosystTravailEDI> findAllActiveAgrosystActions(AgrosystInterventionType interventionType)
findAllActiveAgrosystActions in interface ReferentialServicepublic RefInterventionAgrosystTravailEDI getRefInterventionAgrosystTravailEDI(String topiaId)
getRefInterventionAgrosystTravailEDI in interface ReferentialServicepublic List<RefParcelleZonageEDI> getAllActiveParcelleZonage()
getAllActiveParcelleZonage in interface ReferentialServicepublic List<RefSolTextureGeppa> getAllActiveSolTextures()
getAllActiveSolTextures in interface ReferentialServicepublic List<RefSolProfondeurIndigo> getAllActiveSolProfondeurs()
getAllActiveSolProfondeurs in interface ReferentialServicepublic List<RefSolCaracteristiqueIndigo> getAllActiveSolCaracteristiques()
getAllActiveSolCaracteristiques in interface ReferentialServicepublic List<MineralProductType> findAllActiveMineralProductTypes()
findAllActiveMineralProductTypes in interface ReferentialServicepublic List<String> findAllActiveFertiMinShape(Integer categ)
findAllActiveFertiMinShape in interface ReferentialServicepublic List<RefFertiMinUNIFA> findAllActiveRefFertiMinUnifaByCategAndShape(Integer categ, String fertilizerShape, String productId)
findAllActiveRefFertiMinUnifaByCategAndShape in interface ReferentialServicepublic List<RefUniteEDI> findAllActiveRefUnitesEDI()
findAllActiveRefUnitesEDI in interface ReferentialServicepublic List<RefFertiOrga> findAllActiveOrganicProductTypes()
findAllActiveOrganicProductTypes in interface ReferentialServicepublic List<RefFertiEngraisorg> findAllActiveRefFertiorgs()
findAllActiveRefFertiorgs in interface ReferentialServicepublic List<RefStadeEdiDto> getRefStadesEdi(Integer vegetativeProfileRaw)
getRefStadesEdi in interface ReferentialServicepublic Map<String,String> getActaTreatementCodesAndNames()
getActaTreatementCodesAndNames in interface ReferentialServicepublic Map<AgrosystInterventionType,List<String>> getAllActiveActaTreatmentProductTypes()
getAllActiveActaTreatmentProductTypes in interface ReferentialServicepublic List<RefElementVoisinage> getAllActiveElementVoisinages()
getAllActiveElementVoisinages in interface ReferentialServicepublic List<RefBioAgressor> getTreatmentTargets(BioAgressorType category)
getTreatmentTargets in interface ReferentialServicepublic RefActaDosageSPC computeActaReferenceDose(String phytoProductId, String speciesId)
public RefActaDosageSPC computeActaReferenceDose(String phytoId_Produit, Set<String> speciesIds)
computeActaReferenceDose in interface ReferentialServiceprotected RefActaDosageSPC computeActaReferenceDoseAndValidUnit(String phytoId_Produit, Set<String> speciesIds)
public List<RefTraitSdC> getAllActiveGrowingSystemCharacteristics()
getAllActiveGrowingSystemCharacteristics in interface ReferentialServicepublic List<RefActaTraitementsProduit> getActaTraitementsProduits(AgrosystInterventionType interventionType, String productType)
getActaTraitementsProduits in interface ReferentialServicepublic RefBioAgressor getBioAgressor(String bioAgressorId)
getBioAgressor in interface ReferentialServicepublic RefDepartmentShape getDepartmentShape(String departmentCode)
getDepartmentShape in interface ReferentialServicepublic Map<String,String> getAllRefStationMeteoMap()
getAllRefStationMeteoMap in interface ReferentialServicepublic RefFertiMinUNIFA getNewRefFertiMinUNIFA()
getNewRefFertiMinUNIFA in interface ReferentialServicepublic boolean isValidRefFertiMinProduct(RefFertiMinUNIFA product)
isValidRefFertiMinProduct in interface ReferentialServicepublic RefFertiMinUNIFA createOrUpdateRefMineralProductToInput(RefFertiMinUNIFA product)
createOrUpdateRefMineralProductToInput in interface ReferentialServicepublic void importRefFertiMinUnifaPz0(Map<Class,ImportResults> allResults)
importRefFertiMinUnifaPz0 in interface ReferentialServicepublic Map<String,String> getCroppingPlanSpeciesCodeByRefEspeceAndVarietyKey(Collection<CroppingPlanSpecies> allCroppingPlanSpecies)
getCroppingPlanSpeciesCodeByRefEspeceAndVarietyKey in interface ReferentialServicepublic Map<String,String> getRefEspeceAndVarietyKeyByCroppingPlanSpeciesCode(Collection<CroppingPlanSpecies> allCroppingPlanSpecies)
getRefEspeceAndVarietyKeyByCroppingPlanSpeciesCode in interface ReferentialServiceCopyright © 2013–2015 Inra. All rights reserved.