Class XBConfigurationServiceImpl
java.lang.Object
org.xbricks.common.generic.services.general.XBConfigurationServiceImpl
- All Implemented Interfaces:
XBConfigurationService
This ist only temporary hadcoded placehpolder. Configuration musst be
serialized over repositora somewhere.
-
Constructor Summary
ConstructorDescriptionXBConfigurationServiceImpl
(UserService userService, ArrayList<DynamicMenuEntry> menuItemsSidebar, ArrayList<DynamicMenuEntry> menuItemsUsermenu) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModuleEntryForSidebar
(@NotNull DynamicMenuEntry menuItemSidebar) void
addModuleEntryForUsermenu
(@NotNull DynamicMenuEntry menuItemUsermenu) defaultUserProfileSettings
(String username) void
void
void
setGetConfiguredPath
(String newDataPath) void
setRemoteIP
(String ipAddress) void
setUsername
(String Username) void
UpdateModelAsUserConfigured
(org.springframework.ui.Model model, boolean showSidebar) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xbricks.common.generic.services.general.XBConfigurationService
getStrApplicatonTitle, setStrApplicatonTitle
-
Constructor Details
-
XBConfigurationServiceImpl
public XBConfigurationServiceImpl(UserService userService, ArrayList<DynamicMenuEntry> menuItemsSidebar, ArrayList<DynamicMenuEntry> menuItemsUsermenu)
-
-
Method Details
-
defaultUserProfileSettings
- Specified by:
defaultUserProfileSettings
in interfaceXBConfigurationService
-
setGetConfiguredPath
- Specified by:
setGetConfiguredPath
in interfaceXBConfigurationService
-
getGetConfiguredPath
- Specified by:
getGetConfiguredPath
in interfaceXBConfigurationService
-
addModuleEntryForSidebar
- Specified by:
addModuleEntryForSidebar
in interfaceXBConfigurationService
-
resetUserMenues
public void resetUserMenues()- Specified by:
resetUserMenues
in interfaceXBConfigurationService
-
resetSidebarMenues
public void resetSidebarMenues()- Specified by:
resetSidebarMenues
in interfaceXBConfigurationService
-
getSitebarItems
- Specified by:
getSitebarItems
in interfaceXBConfigurationService
-
getUserMenuItems
- Specified by:
getUserMenuItems
in interfaceXBConfigurationService
-
getRemoteIP
- Specified by:
getRemoteIP
in interfaceXBConfigurationService
-
setRemoteIP
- Specified by:
setRemoteIP
in interfaceXBConfigurationService
-
getUsername
- Specified by:
getUsername
in interfaceXBConfigurationService
-
setUsername
- Specified by:
setUsername
in interfaceXBConfigurationService
-
UpdateModelAsUserConfigured
public void UpdateModelAsUserConfigured(org.springframework.ui.Model model, boolean showSidebar) - Specified by:
UpdateModelAsUserConfigured
in interfaceXBConfigurationService
-