Example #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();
    }
  }
Example #2
0
 public void update(Object record) {
   update(Beany.getLongId(record), record);
 }
Example #3
0
 public void delete(Object record) {
   U.validateArg("record", Cls.kindOf(record) == TypeKind.OBJECT);
   delete(Beany.getLongId(record));
 }