public static void delete(Long id) {
    Institution institution = find.ref(id);
    if (institution == null) {
      return;
    }

    institution.retired = true;
    institution.save();
  }
 public static IdentityDocType get(Long id) {
   return find.ref(id);
 }
 public static void delete(Long id) {
   find.ref(id).delete();
 }
Beispiel #4
0
 public static Doctor get(Long id) {
   return find.ref(id);
 }