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 Details Link icon

    • ShortcutManager Link icon

      @Autowired public ShortcutManager(org.springframework.core.env.ConfigurableEnvironment env, com.blueriq.component.api.IAquimaEngineConfiguration aquimaEngineConfiguration)
  • Method Details Link icon

    • getDefaultProjectRequest Link icon

      public com.blueriq.component.api.IProjectReference getDefaultProjectRequest()
      Specified by:
      getDefaultProjectRequest in interface com.blueriq.component.api.shortcut.IShortcutManager
    • getDefaultShortcut Link icon

      public com.blueriq.component.api.shortcut.IShortcut getDefaultShortcut()
      Specified by:
      getDefaultShortcut in interface com.blueriq.component.api.shortcut.IShortcutManager
    • getProjectRequest Link icon

      public com.blueriq.component.api.IProjectReference getProjectRequest(String shortcut)
      Specified by:
      getProjectRequest in interface com.blueriq.component.api.shortcut.IShortcutManager
    • getProjectRequest Link icon

      public com.blueriq.component.api.IProjectReference getProjectRequest(String shortcutName, boolean includePrivate)
      Specified by:
      getProjectRequest in interface com.blueriq.component.api.shortcut.IShortcutManager
    • getShortcutNames Link icon

      public List<String> getShortcutNames()
      Specified by:
      getShortcutNames in interface com.blueriq.component.api.shortcut.IShortcutManager
    • getShortcuts Link icon

      public List<com.blueriq.component.api.shortcut.IShortcut> getShortcuts()
      Specified by:
      getShortcuts in interface com.blueriq.component.api.shortcut.IShortcutManager
    • getShortcut Link icon

      public com.blueriq.component.api.shortcut.IShortcut getShortcut(String name)
      Specified by:
      getShortcut in interface com.blueriq.component.api.shortcut.IShortcutManager