Beispiel #1
0
  public void refresh(Object record) {
    sharedLock();
    try {

      long id = Beany.getLongId(record);
      validateId(id);
      Rec rec = getRec(id);

      Object tmp = obj(rec);
      secureRead(tmp);

      obj(rec, record);
      resetInvisibleColumns(record);
    } finally {
      sharedUnlock();
    }
  }
Beispiel #2
0
 public void update(Object record) {
   update(Beany.getLongId(record), record);
 }
Beispiel #3
0
 public void delete(Object record) {
   U.validateArg("record", Cls.kindOf(record) == TypeKind.OBJECT);
   delete(Beany.getLongId(record));
 }