@Override protected boolean postCommit(boolean committed, boolean close) { if (committed && needSave) { saveFile(); } return super.postCommit(committed, close); }
@Override protected boolean postCommit(boolean committed, boolean close) { boolean result = super.postCommit(committed, close); procAttachmentsFrame.putFilesIntoStorage(); return result; }
@Override protected boolean postCommit(boolean committed, boolean close) { if (committed) { events.publish(new DashboardUpdatedEvent(getDashboard())); } return super.postCommit(committed, close); }
protected boolean commitInternal(boolean close) { if (!preCommit()) return false; boolean committed; DsContext context = getDsContext(); if (context != null) { committed = context.commit(); } else { DataSupplier supplier = getDataService(); supplier.commit(getItem()); committed = true; } return postCommit(committed, close); }
@Override protected boolean postCommit(boolean committed, boolean close) { if (committed) { modelService.updateModel(getItem().getActModelId(), getItem().getName(), getItem().getDescription()); } return super.postCommit(committed, close); } }