Commits the <code>{@link CmsRfsFileViewer}</code> to the
<code>{@link org.opencms.workplace.CmsWorkplaceManager}</code>. <p>

@see org.opencms.workplace.CmsWidgetDialog#actionCommit()
512019
@Override
    public void actionCommit() {

        List<Throwable> errors = new ArrayList<Throwable>();
        try {
            OpenCms.getWorkplaceManager().setFileViewSettings(getCms(), m_logView);
        } catch (CmsRoleViolationException e) {
            errors.add(e);
        }
        // set the list of errors to display when saving failed
        setCommitErrors(errors);
    }
966152
void submit() {

        CmsResource target = m_context.getResources().get(0);
        String resPath = m_context.getCms().getSitePath(target);
        try {
            m_context.getCms().copyResourceToProject(resPath);

            m_context.finish(Collections.singletonList(target.getStructureId()));
        } catch (CmsException e) {
            m_context.error(e);
        }
    }
1206496
@Override
    public void actionCommit() {

        List<Throwable> errors = new ArrayList<Throwable>();

        try {
            // set the synchronize settings
            CmsUserSettings userSettings = new CmsUserSettings(getCms());
            m_synchronizeSettings.checkValues(getCms());
            userSettings.setSynchronizeSettings(m_synchronizeSettings);
            userSettings.save(getCms());
            setDialogObject(null);
        } catch (Throwable t) {
            errors.add(t);
        }

        // set the list of errors to display when saving failed
        setCommitErrors(errors);
    }
1128489
@Override
    public void commit()
    {
        if (!getRollbackOnly())
        {
            onTransaction(TxAction.COMMIT);
            ((EntityManagerImpl) entityManager).getPersistenceDelegator().commit();
        }
    }
1079275
private void onClickAdd() {

        if (m_currentLocation.isPresent()) {
            CmsFavoriteEntry entry = m_currentLocation.get();
            List<CmsFavoriteEntry> entries = getEntries();
            entries.add(entry);
            try {
                m_favDao.saveFavorites(entries);
            } catch (Exception e) {
                CmsErrorDialog.showErrorDialog(e);
            }
            m_context.close();
        }
    }
767274
public void commit ()
        throws PersistenceException
    {
        // only write ourselves out if we've changed
        if (_storedTileSetID == _nextTileSetID) {
            return;
        }

        try {
            BufferedWriter bout = new BufferedWriter(new FileWriter(_mapfile));
            // write out our metadata
            String tline = "" + _nextTileSetID;
            bout.write(tline, 0, tline.length());
            bout.newLine();
            // write out our mappings
            writeMapFile(bout, _map);
            bout.close();

        } catch (IOException ioe) {
            String errmsg = "Failure writing map file.";
            throw new PersistenceException(errmsg, ioe);
        }
    }
224954
private final ActionCommand createCommitCommand() {
		String commandId = getCommitCommandFaceDescriptorId();
		if (!StringUtils.hasText(commandId)) {
			return null;
		}
		ActionCommand commitCmd = new ActionCommand(commandId) {
			protected void doExecuteCommand() {
				commit();
			}
		};
		commitCmd.setSecurityControllerId(getCommitSecurityControllerId());
		attachFormGuard(commitCmd, FormGuard.LIKE_COMMITCOMMAND);
		return (ActionCommand) getApplicationConfig().commandConfigurer().configure(commitCmd);
	}
1266077
@Override
    public void actionCommit() {

        List<Throwable> errors = new ArrayList<Throwable>();

        try {
            // schedule the edited job
            OpenCms.getScheduleManager().scheduleJob(getCms(), m_jobInfo);
            // update the XML configuration
            OpenCms.writeConfiguration(CmsSchedulerConfiguration.class);
            // refresh the list
            Map<?, ?> objects = (Map<?, ?>)getSettings().getListObject();
            if (objects != null) {
                objects.remove(CmsSchedulerList.class.getName());
            }
        } catch (Throwable t) {
            errors.add(t);
        }
        // set the list of errors to display when saving failed
        setCommitErrors(errors);
    }
855752
public void commitTransaction()
   {
      CompressedISPNChangesBuffer changesContainer = getChangesBufferSafe();
      final TransactionManager tm = getTransactionManager();
      try
      {
         final List<ChangesContainer> containers = changesContainer.getSortedList();
         commitChanges(tm, containers);
      }
      finally
      {
         changesList.set(null);
         changesContainer = null;
      }
   }
389686
void submit() {

        String siteRoot = (String)m_siteComboBox.getValue();
        if (!m_context.getCms().getRequestContext().getSiteRoot().equals(siteRoot)) {
            A_CmsUI.get().changeSite(siteRoot);
            if (CmsStringUtil.isEmptyOrWhitespaceOnly(siteRoot) || OpenCms.getSiteManager().isSharedFolder(siteRoot)) {
                // switch to explorer view when selecting shared or root site

                Page.getCurrent().open(CmsCoreService.getFileExplorerLink(A_CmsUI.getCmsObject(), siteRoot), "_top");
                return;
            }
        } else {
            siteRoot = null;
        }
        m_context.finish(null, siteRoot);
    }
229520
@Override
    public void actionCommit() {

        try {
            float age = (System.currentTimeMillis() - Long.parseLong(m_time)) / (60f * 60f * 1000f);
            OpenCms.fireCmsEvent(
                new CmsEvent(
                    I_CmsEventListener.EVENT_CLEAR_CACHES,
                    Collections.<String, Object> singletonMap(CmsImageLoader.PARAM_CLEAR_IMAGES_CACHE, "" + age)));
        } catch (Exception e) {
            setCommitErrors(Collections.singletonList((Throwable)e));
        }
    }
398116
void submit() {

        int action = -1;

        if (isModeAll()) {
            action = CmsFlexCache.CLEAR_ONLINE_ALL;
        } else {
            action = CmsFlexCache.CLEAR_ONLINE_ENTRIES;
        }

        OpenCms.fireCmsEvent(
            new CmsEvent(
                I_CmsEventListener.EVENT_FLEX_CACHE_CLEAR,
                Collections.<String, Object> singletonMap(CmsFlexCache.CACHE_ACTION, new Integer(action))));
    }
1142933
@Override
    public void actionCommit() {

        List<Throwable> errors = new ArrayList<Throwable>();

        try {
            // forward to the rebuild report page
            Map<String, String[]> params = new HashMap<String, String[]>();
            // rebuild report built for several indexes (comma-separated value string)
            params.put(CmsRebuildReport.PARAM_INDEXES, new String[] {getSearchIndexIndex().getName()});
            params.put(PARAM_STYLE, new String[] {CmsToolDialog.STYLE_NEW});
            getToolManager().jspForwardTool(this, "/searchindex/singleindex/rebuildreport", params);

        } catch (Throwable t) {
            errors.add(t);
        }
        // set the list of errors to display when saving failed
        setCommitErrors(errors);
    }
453092
public void commitJob(JobContext context) throws IOException {
    // delete the _temporary folder
    cleanupJob(context);
    // check if the o/p dir should be marked
    if (shouldMarkOutputDir(context.getConfiguration())) {
      // create a _success file in the o/p folder
      markOutputDirSuccessful(context);
    }
  }
730096
public boolean commit() {
    subject.getPrincipals().addAll(principals);
    subject.getPrivateCredentials().addAll(privateCredentials);
    subject.getPublicCredentials().addAll(publicCredentials);
    return true;
  }
205415
public synchronized void commit()
      throws SIIncorrectCallException, 
             SIRollbackException,
             SIResourceException,
             SIConnectionLostException, 
             SIErrorException
   {
      if (tc.isEntryEnabled()) SibTr.entry(this, tc, "commit");
      
      if (!valid) 
      {
         throw new SIIncorrectCallException(
            nls.getFormattedMessage("TRANSACTION_COMPLETE_SICO1022", null, null)
         );
      }
      
      // Mark this as invalid
      valid = false;
      
      CommsByteBuffer request = getCommsByteBuffer();
      request.putShort(getConnectionObjectID());
      request.putInt(getTransactionId());

      CommsByteBuffer reply = null;
      try
      {
         // Pass on call to server
         reply = jfapExchange(request,
                              JFapChannelConstants.SEG_COMMIT_TRANSACTION,
                              lowestPriority,
                              true);

         short err = reply.getCommandCompletionCode(JFapChannelConstants.SEG_COMMIT_TRANSACTION_R);
         if (err != CommsConstants.SI_NO_EXCEPTION)
         {
            checkFor_SIIncorrectCallException(reply, err);
            checkFor_SIRollbackException(reply, err);
            checkFor_SIResourceException(reply, err);
            checkFor_SIConnectionLostException(reply, err);
            checkFor_SIErrorException(reply, err);
            defaultChecker(reply, err);
         }
      }
      catch (SIConnectionDroppedException e)
      {
         // No FFDC Code needed
         // In this case we translate this to an SIConnectionLostException - as transactions aren't
         // tided to a particular connection
         throw new SIConnectionLostException(e.getMessage(), e);
      }
      finally
      {
         if (reply != null) reply.release();
      }
      
      if (tc.isEntryEnabled()) SibTr.exit(this, tc, "commit");
   }
1107516
public void commit(ICommitChanges changes, boolean incrementVersions, Runnable r) {
        beginWrite();

        try {
            checkForConcurrentModifications(changes, incrementVersions);

            saveChanges(changes);
            
            if (r != null) {
                r.run();
            }
        } finally {
            endWrite();
        }
    }