Package com.adito.applications

Examples of com.adito.applications.ApplicationShortcutChangeEvent


                            parameterMap, autoStart, getSessionInfo(request).getRealmId());
            shortcut = ApplicationShortcutDatabaseFactory.getInstance().getShortcut(shortcutId);
            actionStatus.add(new WizardActionStatus(WizardActionStatus.COMPLETED_OK,
                            "applicationShortcutWizard.applicationShortcutFinish.status.applicationShortcutCreated"));
            CoreServlet.getServlet().fireCoreEvent(
                new ApplicationShortcutChangeEvent(this, ApplicationShortcutEventConstants.CREATE_APPLICATION_SHORTCUT, shortcut,
                                getSessionInfo(request), CoreEvent.STATE_SUCCESSFUL));
        } catch (Exception e) {
            log.error("Failed to create application shortcut.", e);
            actionStatus.add(new WizardActionStatus(WizardActionStatus.COMPLETED_WITH_ERRORS,
                            "applicationShortcutWizard.applicationShortcutFinish.status.failedToCreateApplicationShortcut", e
                                            .getMessage()));
            CoreServlet.getServlet().fireCoreEvent(
                new ApplicationShortcutChangeEvent(this, ApplicationShortcutEventConstants.CREATE_APPLICATION_SHORTCUT, getSessionInfo(request), e));
        }
        if (shortcut != null) {
            actionStatus.add(attachToPoliciesAndAddToFavorites("applicationShortcutWizard.applicationShortcutFinish", seq,
                shortcut, favorite, request));
        }
View Full Code Here

TOP

Related Classes of com.adito.applications.ApplicationShortcutChangeEvent

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.