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

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