Package org.alfresco.repo.transaction

Examples of org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction()


                                event.getComponent()).getClientId(fc);
                        fc.addMessage(formId + ':' + PANEL_ID_SPACE_PROPS, facesMsg);
                        return null;
                    }
                };
                txnHelper.doInTransaction(callback);

                this.browseBean.getDocument().reset();

            } catch (InvalidNodeRefException refErr) {
                Utils.addErrorMessage(MessageFormat.format(Application.getMessage(
View Full Code Here


  /* Main FrameworkService operations */

  @Override
  public void restartFramework() {
    final RetryingTransactionHelper transactionHelper = getTransactionService().getRetryingTransactionHelper();
    transactionHelper.doInTransaction(new RetryingTransactionCallback<Void>() {

      @Override
      public Void execute() throws Throwable {
        return AuthenticationUtil.runAs(new RunAsWork<Void>() {

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.