302303304305306307308309310311312
sqlUser.setUserStatus(status); session.update(sqlUser); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new LumifyException("HibernateException while setting status", e); } return sqlUser; }
336337338339340341342343344345346
session.update(sqlUser); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new LumifyException("HibernateException while setting display name", e); } }
356357358359360361362363364365366
session.update(sqlUser); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new LumifyException("HibernateException while setting e-mail address", e); } }
383384385386387388389390391392393
} session.delete(sqlUser); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new LumifyException("HibernateException while deleting user", e); } }
406407408409410411412413414415416
sqlUser.setPrivilegesString(Privilege.toString(privileges)); session.update(sqlUser); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new LumifyException("HibernateException while setting privileges", e); } }
6061626364656667686970
session.delete(workspace); query.executeUpdate(); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new RuntimeException(e); } }
110111112113114115116117118119120
session.save(sqlWorkspaceUser); session.update(user); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new RuntimeException(e); } return newWorkspace; }
148149150151152153154155156157158
((SqlWorkspace) workspace).setDisplayTitle(title); session.update(workspace); transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new RuntimeException(e); } }
210211212213214215216217218219220
session.update(sqlWorkspaceVertex); } transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new RuntimeException(e); } }
257258259260261262263264265266267
} transaction.commit(); } catch (HibernateException e) { if (transaction != null) { transaction.rollback(); } throw new RuntimeException(e); } }