Package org.alfresco.repo.action

Examples of org.alfresco.repo.action.ActionImpl


                final NodeRef ref = new NodeRef(Repository.getStoreRef(), id);
                RetryingTransactionHelper txnHelper = Repository.getRetryingTransactionHelper(fc);
                RetryingTransactionCallback<Object> callback = new RetryingTransactionCallback<Object>() {
                    public Object execute() throws Throwable {

                        ActionImpl action = new ActionImpl(ref, BaseExecuter.NAME, null);
                        action.setParameterValue(BaseExecuter.PARAM_ACTIVE, activeFlag);
                        BaseExecuter actionExecuter = (BaseExecuter) FacesContextUtils.getWebApplicationContext(fc).getBean(BaseExecuter.NAME);
                        actionExecuter.execute(action, ref);

                        String msg = Application.getMessage(fc, MSG_SUCCESS_WEB_SET_ACTIVE);
                        FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_INFO, msg, msg);
View Full Code Here

TOP

Related Classes of org.alfresco.repo.action.ActionImpl

Copyright © 2018 www.massapicom. 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.