Package de.xima.fc.gui.common.utils
Class LogoLink
java.lang.Object
de.xima.fc.gui.common.utils.LogoLink
- All Implemented Interfaces:
 Serializable
Represents the URL to which the user is redirected when the click on the formcycle or FORM.CLOUD logo at the top
 left.
- Since:
 - 8.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic LogoLinkforCurrentView(IView currentView, Mandant client, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) For a given page, finds the URL to which to redirect when the user clicks on the formcycle logo on that page.getHref() 
- 
Method Details
- 
forCurrentView
public static LogoLink forCurrentView(IView currentView, Mandant client, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) For a given page, finds the URL to which to redirect when the user clicks on the formcycle logo on that page.When not logged in: this redirects to the formcycle product web page, either the FORM.CLOUD or the formcycle web page.
When logged in: On the master server, this redirects to the dashboard; and on an inbox frontend server, this redirects to the inbox.
- Parameters:
 currentView- The view which the user requested.client- The current client scope,nullfor the system scope.request- Current HTTP request.response- Current HTTP response.- Returns:
 - The URL for the formcycle logo.
 
 - 
getHref
- Returns:
 - The URL to which to redirect.
 
 - 
getTarget
- Returns:
 - The target where to open the URL.
 
 
 -