コード例 #1
0
 public NSArray faxFournis() {
   NSDictionary args = new NSDictionary(persId(), "persId");
   NSArray results =
       EOUtilities.objectsWithFetchSpecificationAndBindings(
           editingContext(), "PersonneTelephone", "faxForPersId", args);
   return EOPersonneTelephone.prepareFetchResultForDisplay(results, false);
 }
コード例 #2
0
 /** retourne les individus enregistr�s comme contacts de l'entreprise fournisseur courante */
 public NSArray individusContactForFournis() {
   NSArray result;
   EOStructureUlr struct = structure();
   if (struct != null) {
     NSDictionary args = new NSDictionary(struct.cStructure(), "idStructure");
     result =
         EOUtilities.objectsWithFetchSpecificationAndBindings(
             editingContext(), "IndividuUlr", "individusContactForStructure", args);
   } else {
     result = new NSArray();
   }
   return result;
 }