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));
}