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