public interface ReferentialService extends AgrosystService
| Modifier and Type | Method and Description |
|---|---|
RefActaDosageSPC |
computeActaReferenceDose(String phytoId_Produit,
Set<String> speciesIds)
If several species are specified, the minimum value is returned
|
RefFertiMinUNIFA |
createOrUpdateRefMineralProductToInput(RefFertiMinUNIFA product)
Create or update the given product
|
List<RefLocation> |
findActiveCommunes(String filter)
Find all RefCommuneValues according to the filter
|
List<RefInterventionAgrosystTravailEDI> |
findAllActiveAgrosystActions()
Find all active RefTypeTravailEDIs
|
List<RefInterventionAgrosystTravailEDI> |
findAllActiveAgrosystActions(AgrosystInterventionType interventionType)
Find all active RefTypeTravailEDIs according the interventionType given as parameter
|
Map<Integer,String> |
findAllActiveCodeOtex70ByOtex18code(Integer otex18code)
Get all Otex 70 codes filtered from the otex18code code.
|
List<String> |
findAllActiveFertiMinShape(Integer categ)
Return all fertilizerShape corresponding to the actives fertiMin category given has parameter.
|
List<MineralProductType> |
findAllActiveMineralProductTypes()
return all categories and ProductTypes from the actives RefFertiMinUNIFA
|
List<RefFertiOrga> |
findAllActiveOrganicProductTypes()
Find all Actives RefFertiOrga
|
Map<Integer,String> |
findAllActiveOtex18Code()
Get all Otex18 codes and wording.
|
List<RefFertiMinUNIFA> |
findAllActiveRefFertiMinUnifaByCategAndShape(Integer categ,
String fertilizerShape,
String productId)
Find all active RefFertiMinUnifa filter by category and shape.
|
List<RefFertiEngraisorg> |
findAllActiveRefFertiorgs()
Find all Actives RefFertiorgs
|
List<RefUniteEDI> |
findAllActiveRefUnitesEDI()
Find all Actives RefUnitesEDI
|
List<RefOrientationEDI> |
findAllReferentielEDI()
Find all RefOrientationEDI.
|
List<RefClonePlantGrape> |
findGraftClones(String speciesId,
String varietyId,
String term)
Find all varieties with :
- "variétes Geves" : colonne P (Type Variétal), valeur "CLO"
- "Clones PlanGrape" : afficher à l'utilisateur le code clone AnnéeAgrement Origne
and name starting with 'term'.
|
List<RefVariete> |
findGraftSupports(String term)
Find all species with :
- colonne D (nom Section), valeur "Porte-greffes"
- "varietes PlantGrape" : colonne C (Utilisation), valeur "PG"
and name starting with 'term'.
|
RefMateriel |
findMateriel(String materielTopiaId)
Find materiel from topia id.
|
RefOrientationEDI |
findOrientation(String orientationTopiaId)
Find orientation entity from topia id.
|
RefSolArvalis |
findSolArvalis(String solArvalisTopiaId)
Find sol arvalis from topia id.
|
List<RefEspece> |
findSpecies(String filter) |
List<RefVariete> |
findVarietes(String speciesId,
String filter) |
List<RefActaTraitementsProduit> |
getActaTraitementsProduits(AgrosystInterventionType interventionType,
String productType)
Return all Active ActaTraitementsProduit according the given product type
|
Map<String,String> |
getActaTreatementCodesAndNames()
return the treatment code and name from the Acta treatment referential.
|
Map<AgrosystInterventionType,List<String>> |
getAllActiveActaTreatmentProductTypes()
return the list of ACTA treatment product type ordered by AgrosystInterventionType
|
List<RefElementVoisinage> |
getAllActiveElementVoisinages()
Return all active element de voisinage.
|
List<RefTraitSdC> |
getAllActiveGrowingSystemCharacteristics()
Return all active System Growing Characteristics including the characteristic types.
|
List<RefParcelleZonageEDI> |
getAllActiveParcelleZonage()
Recuperation de tous les parcelles zonages actif.
|
List<RefSolCaracteristiqueIndigo> |
getAllActiveSolCaracteristiques()
Get all active sol caracteristiques.
|
List<RefSolProfondeurIndigo> |
getAllActiveSolProfondeurs()
Get all active sol profondeurs.
|
List<RefSolTextureGeppa> |
getAllActiveSolTextures()
Get all active sol textures.
|
Map<String,String> |
getAllRefStationMeteoMap() |
RefBioAgressor |
getBioAgressor(String bioAgressorId)
Get RefBioAgressor with id the given id
|
RefClonePlantGrape |
getClonePlantGrape(String clonePlantGrapeId) |
Map<String,String> |
getCroppingPlanSpeciesCodeByRefEspeceAndVarietyKey(Collection<CroppingPlanSpecies> allCroppingPlanSpecies)
get CroppingPlanSpecies code by key.
|
RefDepartmentShape |
getDepartmentShape(String departmentCode)
Return RefDepartmentShape from the given departmentCode if found.
|
Map<String,String[]> |
getMaterielUniteMap(TypeMaterielFilter filter)
Retourne les valeurs des champs 'typeMateriel4' utilisé par les materiels.
|
RefFertiMinUNIFA |
getNewRefFertiMinUNIFA()
Create new RefFertiMinUNIFA instance, not persisted yet
|
Map<String,String> |
getRefEspeceAndVarietyKeyByCroppingPlanSpeciesCode(Collection<CroppingPlanSpecies> allCroppingPlanSpecies) |
RefInterventionAgrosystTravailEDI |
getRefInterventionAgrosystTravailEDI(String topiaId)
Find the RefActionAgrosystTravailEDI from it's topiaId
|
RefLocation |
getRefLocation(String refLocationId)
Get a specific location from its identifier.
|
List<RefStadeEdiDto> |
getRefStadesEdi(Integer vegetativeProfile)
Return all actives RefStadeEDI with vegetativeProfile matching the one given in parameters.
|
List<RefSolArvalis> |
getSolArvalis(Integer regionCode)
Get ref sol arvalis filtered by domain region.
|
Map<Integer,String> |
getSolArvalisRegions()
Return l'ensemble des régions utilisées par les sols arvalis.
|
RefEspece |
getSpecies(String speciesId) |
List<RefBioAgressor> |
getTreatmentTargets(BioAgressorType category) |
Map<MaterielType,List<String>> |
getTypeMateriel1List()
Retourne les valeurs des champs 'typeMateriel1' utilisé par les materiels groupé par
categorie de materiel.
|
List<String> |
getTypeMateriel2List(TypeMaterielFilter filter)
Retourne les valeurs des champs 'typeMateriel2' utilisé par les materiels.
|
List<String> |
getTypeMateriel3List(TypeMaterielFilter filter)
Retourne les valeurs des champs 'typeMateriel3' utilisé par les materiels.
|
List<String> |
getTypeMateriel4List(TypeMaterielFilter filter)
Retourne les valeurs des champs 'typeMateriel4' utilisé par les materiels.
|
RefVariete |
getVariete(String varieteId) |
void |
importRefFertiMinUnifaPz0(Map<Class,ImportResults> allResult)
Try to Import RefFertiMinUnifa created from from PZ0 csv
|
boolean |
isValidRefFertiMinProduct(RefFertiMinUNIFA product)
Valide RefFertiMin preconditions
|
boolean |
validVarietesFromCodeEspeceEdi(RefVariete variete,
String code_espece_botanique)
Valid that variety with same spece botanique code as the given one exists within GEVES or PLANT_GRAP referential
|
boolean |
validVarietesFromSpeciesId(RefVariete variete,
String speciesId)
Valid that species with same species botanic code as variety's edi species code exists within GEVES or PLANT_GRAP referential
|
Map<MaterielType,List<String>> getTypeMateriel1List()
RefMateriel.PROPERTY_TYPE_MATERIEL1List<String> getTypeMateriel2List(TypeMaterielFilter filter)
filter - filterRefMateriel.PROPERTY_TYPE_MATERIEL2List<String> getTypeMateriel3List(TypeMaterielFilter filter)
filter - filterRefMateriel.PROPERTY_TYPE_MATERIEL3List<String> getTypeMateriel4List(TypeMaterielFilter filter)
filter - filterRefMateriel.PROPERTY_TYPE_MATERIEL4Map<String,String[]> getMaterielUniteMap(TypeMaterielFilter filter)
filter - filterRefMateriel.PROPERTY_UNITE,
RefMateriel.PROPERTY_UNITE_PAR_ANRefMateriel findMateriel(String materielTopiaId)
materielTopiaId - materiel topia idMap<Integer,String> getSolArvalisRegions()
List<RefSolArvalis> getSolArvalis(Integer regionCode)
regionCode - regionRefSolArvalis findSolArvalis(String solArvalisTopiaId)
solArvalisTopiaId - sol arvalis topia idboolean validVarietesFromSpeciesId(RefVariete variete, String speciesId)
variete - variety to validspeciesId - species to look for botanic codeboolean validVarietesFromCodeEspeceEdi(RefVariete variete, String code_espece_botanique)
variete - variete to validcode_espece_botanique - code to look forList<RefVariete> findVarietes(String speciesId, String filter)
RefVariete getVariete(String varieteId)
RefClonePlantGrape getClonePlantGrape(String clonePlantGrapeId)
RefLocation getRefLocation(String refLocationId)
refLocationId - List<RefLocation> findActiveCommunes(String filter)
filter - Map<Integer,String> findAllActiveOtex18Code()
Map<Integer,String> findAllActiveCodeOtex70ByOtex18code(Integer otex18code)
otex18code - the otex 18 code to filter on.List<RefOrientationEDI> findAllReferentielEDI()
RefOrientationEDI findOrientation(String orientationTopiaId)
orientationTopiaId - topai idList<RefVariete> findGraftSupports(String term)
term - search termList<RefClonePlantGrape> findGraftClones(String speciesId, String varietyId, String term)
speciesId - species id to search plant grape forvarietyId - species's variety idterm - search termList<RefInterventionAgrosystTravailEDI> findAllActiveAgrosystActions()
List<RefInterventionAgrosystTravailEDI> findAllActiveAgrosystActions(AgrosystInterventionType interventionType)
interventionType - The action type to filter on.RefInterventionAgrosystTravailEDI getRefInterventionAgrosystTravailEDI(String topiaId)
topiaId - The RefActionAgrosystTravailEDI topiaId'sList<RefParcelleZonageEDI> getAllActiveParcelleZonage()
List<RefSolTextureGeppa> getAllActiveSolTextures()
List<RefSolProfondeurIndigo> getAllActiveSolProfondeurs()
List<RefSolCaracteristiqueIndigo> getAllActiveSolCaracteristiques()
List<MineralProductType> findAllActiveMineralProductTypes()
List<String> findAllActiveFertiMinShape(Integer categ)
categ - the category to apply filter on.List<RefFertiMinUNIFA> findAllActiveRefFertiMinUnifaByCategAndShape(Integer categ, String fertilizerShape, String productId)
categ - The Fertilizer categoryfertilizerShape - the fertelizer shapeproductId - product topiaIdList<RefUniteEDI> findAllActiveRefUnitesEDI()
List<RefFertiOrga> findAllActiveOrganicProductTypes()
List<RefFertiEngraisorg> findAllActiveRefFertiorgs()
List<RefStadeEdiDto> getRefStadesEdi(Integer vegetativeProfile)
vegetativeProfile - the vegetativeProfile to filter onMap<String,String> getActaTreatementCodesAndNames()
Map<AgrosystInterventionType,List<String>> getAllActiveActaTreatmentProductTypes()
List<RefElementVoisinage> getAllActiveElementVoisinages()
List<RefBioAgressor> getTreatmentTargets(BioAgressorType category)
RefActaDosageSPC computeActaReferenceDose(String phytoId_Produit, Set<String> speciesIds)
phytoId_Produit - is the ID from RefActaTraitementsProduits#id_produitspeciesIds - is a list of ID from RefEspece#topiaIdList<RefTraitSdC> getAllActiveGrowingSystemCharacteristics()
RefTraitSdCList<RefActaTraitementsProduit> getActaTraitementsProduits(AgrosystInterventionType interventionType, String productType)
interventionType - productType - the product type to filter onRefBioAgressor getBioAgressor(String bioAgressorId)
bioAgressorId - RefBioAgressor idRefDepartmentShape getDepartmentShape(String departmentCode)
departmentCode - departmentCode where country shape can be foundMap<String,String> getAllRefStationMeteoMap()
RefFertiMinUNIFA getNewRefFertiMinUNIFA()
boolean isValidRefFertiMinProduct(RefFertiMinUNIFA product)
product - product to validRefFertiMinUNIFA createOrUpdateRefMineralProductToInput(RefFertiMinUNIFA product)
product - product to savevoid importRefFertiMinUnifaPz0(Map<Class,ImportResults> allResult)
allResult - All RefFertiMinUnifas.Map<String,String> getCroppingPlanSpeciesCodeByRefEspeceAndVarietyKey(Collection<CroppingPlanSpecies> allCroppingPlanSpecies)
allCroppingPlanSpecies - the croppingPalnEntry where species come fromMap<String,String> getRefEspeceAndVarietyKeyByCroppingPlanSpeciesCode(Collection<CroppingPlanSpecies> allCroppingPlanSpecies)
allCroppingPlanSpecies - Copyright © 2013–2015 Inra. All rights reserved.