use of org.asqatasun.entity.dao.reference.NomenclatureDAO in project Asqatasun by Asqatasun.
the class NomenclatureDataServiceImpl method findByCode.
@Override
public Nomenclature findByCode(String code) {
if (nomenclatureMapByCode.containsKey(code)) {
return nomenclatureMapByCode.get(code);
} else {
Nomenclature nom = ((NomenclatureDAO) entityDao).retrieveByCode(code);
nomenclatureMapByCode.put(code, nom);
return nom;
}
}
Aggregations