예제 #1
0
 public Object lire(Object sig, TypeStructure typeStructure) throws MNVException {
   try {
     return sCrud.lire(sig, typeStructure);
   } catch (MNVException_Exception e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
   return null;
 }
예제 #2
0
  private Signalement changerEtat(EtatSignalement etat, Object key) throws MNVException {
    Signalement sig = null;
    try {
      sig = (Signalement) sCrud.lire(key, TypeStructure.SIGNALEMENT);
    } catch (MNVException_Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    sig.setEtat(etat);

    try {
      return (Signalement) sCrud.sauver(sig);
    } catch (MNVException_Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }

    return null;
  }
예제 #3
0
 public Object lire(Object obj, Class cls) throws MNVException, MNVException_Exception {
   return sCrud.lire(obj, TypeStructure.TAG);
 }