con = DbHandler.getConnection();
con.setAutoCommit(false);
fileBean.setUpdatedby(userId);
fileBean.setTsupdated(new Timestamp(System.currentTimeMillis()));
fileBean.store(con);
// service groups
Collection<FileshareuserBean> col = FileshareuserFinder
.findByFileid(con, fileBean.getId());
// loop exsisting FileshareuserBean update or remove based on