8788899091929394959697
session.flush(); } }; synchronized (panel) { txFragment.execute(); } } /** * Persist panel status to database
101102103104105106107108109110111
protected void txFragment(Session session) throws Exception { session.saveOrUpdate(instance); } }; synchronized (instance) { txFragment.execute(); } } public Panel getPaneltByDbId(final Long panelId) throws Exception { if (panelId != null) {
8889909192939495969798
session.delete(section); } }; txFragment.execute(); } /** * Stores workspace section state in database */
414415416417418419420421422423424
UIServices.lookup().getSectionsManager().store(sectionCopy); } } }; txFragment.execute(); getMessagesComponentHandler().addMessage("ui.alert.sectionCopy.OK"); } } this.setDuplicateSection(Boolean.FALSE); this.setCreateSection(Boolean.FALSE);
473474475476477478479480481482483
} } } } }; txFragment.execute(); this.setDuplicateSection(Boolean.FALSE); this.setCreateSection(Boolean.FALSE); this.setSelectedSectionId(null);
507508509510511512513514515516517
} } } }; txFragment.execute(); this.setDuplicateSection(Boolean.FALSE); this.setCreateSection(Boolean.FALSE); this.setSelectedSectionId(null); } catch (Exception e) {
541542543544545546547548549550551
571572573574575576577578579580581
615616617618619620621622623624625
169170171172173174175176177178179
workspace.setDefaultWorkspace(defaultWorkspace); getWorkspacesManager().store(workspace); } }; txFragment.execute(); getMessagesComponentHandler().addMessage("ui.alert.workspaceEdition.OK"); } catch (Exception e) { log.error("Error: ", e); } }