Package com.aquima.web.shortcut
Class ShortcutManager
java.lang.Object
com.aquima.web.shortcut.ShortcutManager
- All Implemented Interfaces:
com.blueriq.component.api.shortcut.IShortcutManager
@Component
@RefreshScope
public class ShortcutManager
extends Object
implements com.blueriq.component.api.shortcut.IShortcutManager
This class manager shortcuts that are configured via a properties.
The default shortcut name is 'default' and multiple shortcuts can be defined.
Syntax:
blueriq.shortcut.SHORTCUT_NAME.project=PROJECT_NAME
blueriq.shortcut.SHORTCUT_NAME.flow=FLOW_TO_START
blueriq.shortcut.SHORTCUT_NAME.version=VERSION
blueriq.shortcut.SHORTCUT_NAME.ui=AQUIMA_UI_NAME
blueriq.shortcut.SHORTCUT_NAME.theme=THEME_NAME
blueriq.shortcut.SHORTCUT_NAME.languageCode=LANGUAGE_CODE
blueriq.shortcut.SHORTCUT_NAME.channel=CHANNEL_NAME
blueriq.shortcut.SHORTCUT_NAME.privateAccess=[TRUE/FALSE]
Examples languageCode: nl-NL
, en-GB
Note that the the blueriq.shortcut.SHORTCUT_NAME.project
is mandatory. If there is a prefix for the
datasource (e.g. xml, studio) this should also be specified. Examples: xml-carInsurance, studio-myproject
- Since:
- 8.0
- Author:
- Danny Roest
-
Constructor Summary
ConstructorsConstructorDescriptionShortcutManager
(org.springframework.core.env.ConfigurableEnvironment env, com.blueriq.component.api.IAquimaEngineConfiguration aquimaEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncom.blueriq.component.api.IProjectReference
com.blueriq.component.api.shortcut.IShortcut
com.blueriq.component.api.IProjectReference
getProjectRequest
(String shortcut) com.blueriq.component.api.IProjectReference
getProjectRequest
(String shortcutName, boolean includePrivate) com.blueriq.component.api.shortcut.IShortcut
getShortcut
(String name) List
<com.blueriq.component.api.shortcut.IShortcut>
-
Constructor Details
-
Method Details
-
getDefaultProjectRequest
public com.blueriq.component.api.IProjectReference getDefaultProjectRequest()- Specified by:
getDefaultProjectRequest
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-
getDefaultShortcut
public com.blueriq.component.api.shortcut.IShortcut getDefaultShortcut()- Specified by:
getDefaultShortcut
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-
getProjectRequest
- Specified by:
getProjectRequest
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-
getProjectRequest
public com.blueriq.component.api.IProjectReference getProjectRequest(String shortcutName, boolean includePrivate) - Specified by:
getProjectRequest
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-
getShortcutNames
- Specified by:
getShortcutNames
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-
getShortcuts
- Specified by:
getShortcuts
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-
getShortcut
- Specified by:
getShortcut
in interfacecom.blueriq.component.api.shortcut.IShortcutManager
-