Examples of doInTransaction()


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

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

  /* 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

Examples of org.springmodules.prevayler.callback.PrevaylerCallback.doInTransaction()

    public void executeOn(Object object, Date date) {
        PrevalentSystem system= (PrevalentSystem) object;
        Iterator it = this.callbacks.iterator();
        while (it.hasNext()) {
            PrevaylerCallback callback = (PrevaylerCallback) it.next();
            callback.doInTransaction(system);
        }
    }
}
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.