Package org.hippoecm.frontend.service
Interface AppSettings
public interface AppSettings
JavaBean containing the settings of the Navigation Application.
These are the settings that the app needs to bootstrap itself.
-
Method Summary
Modifier and TypeMethodDescriptionReturns list of help links that must be displayed by the menu in the navapp.int
Returns the maximum number of milliseconds to wait for Iframes to connect before giving up.Returns the path that the navapp should navigate to after the navapp has been fully initialized.Returns list of resources that must be called by the navapp to make sure all apps are authenticated before accessing them.Returns the log level to use in the browserReturns list of resources that must be called by the navapp to make sure all apps clean up their state and authentication ids (e.g.Returns the location of the Navigation Application resources (like javascript, css, images).Returns list of resources that must be called by the navapp to retrieve menu related navigation items.boolean
Returnstrue
if the CMS is serving the Navigation Application resources andfalse
otherwiseboolean
Returnstrue
is usage statistics should be sent andfalse
otherwise.
-
Method Details
-
getInitialPath
String getInitialPath()Returns the path that the navapp should navigate to after the navapp has been fully initialized.- Returns:
- initial path
-
getIframesConnectionTimeout
int getIframesConnectionTimeout()Returns the maximum number of milliseconds to wait for Iframes to connect before giving up.- Returns:
- Iframe connection timeout in milliseconds
-
getLogLevel
NgxLoggerLevel getLogLevel()Returns the log level to use in the browser- Returns:
- logLevel
-
isUsageStatisticsEnabled
boolean isUsageStatisticsEnabled()Returnstrue
is usage statistics should be sent andfalse
otherwise.- Returns:
- if usage statistics is enabled
-
getLoginResources
List<NavAppResource> getLoginResources()Returns list of resources that must be called by the navapp to make sure all apps are authenticated before accessing them.- Returns:
- list of login resources
-
getLogoutResources
List<NavAppResource> getLogoutResources()Returns list of resources that must be called by the navapp to make sure all apps clean up their state and authentication ids (e.g. cookies) before redirecting to the login page again.- Returns:
- list of logout resources
-
getHelpLinks
List<NavAppHelpLink> getHelpLinks()Returns list of help links that must be displayed by the menu in the navapp.- Returns:
- list of help links
-