Class ViewContextBean

java.lang.Object
de.xima.fc.gui.common.bean.ViewContextBean
All Implemented Interfaces:
Serializable

@Named @ViewScoped public class ViewContextBean extends Object implements Serializable
View scoped bean allowing access to data of the current view.
Since:
8.0.0
Author:
XIMA Media GmbH
See Also:
  • Constructor Details

    • ViewContextBean

      public ViewContextBean()
  • Method Details

    • getClient

      public Mandant getClient()
      Gets the scope of the current view. If the client is not null than it is a client scope with that client. If the client is null than it is the system scope.
      Returns:
      The scope of the current view.
      See Also:
    • getScope

      public WorkspaceScope getScope()
      Gets the scope of the current view. Either a client scope if the client is not null, or the system scope.
      Returns:
      The scope of the current view.
    • getView

      public IView getView()
      Returns:
      the current view.
    • updateCurrentClient

      public void updateCurrentClient()