Class UserPortalViewContext

java.lang.Object
de.xima.fc.user_portal.bean.common.UserPortalViewContext
All Implemented Interfaces:
Serializable

@ViewScoped @Named public class UserPortalViewContext extends Object implements Serializable
Manages the request context for a portal page. Evaluates the request parameters and extracts, for example, the requested portal.
Since:
8.2.0
See Also:
  • Constructor Details

    • UserPortalViewContext

      public UserPortalViewContext()
  • Method Details

    • routingContext

      public IRoutingContext.IPortalRoutingContext routingContext()
      Get the portal routing context for pages of a certain portal.
      Returns:
      The routing context for the portal.
    • getPortalAlias

      public String getPortalAlias()
      Get the alias of the requested portal.
      Returns:
      The alias of the requested portal.
    • updateTitle

      public void updateTitle()
    • getPortalUuid

      public UUID getPortalUuid()
      Get the UUID of the current portal.
      Returns:
      The UUID of the current portal or null if there's no portal set in this context.
    • isTabLayoutActivated

      public boolean isTabLayoutActivated()
    • getUpc

    • getRouter

      public UserPortalRouter getRouter()
    • getDidOpenPortalContextEventEvent

      public javax.enterprise.event.Event<DidOpenPortalContextEvent> getDidOpenPortalContextEventEvent()
    • getPortal

      public DetailedUserPortalResource getPortal()
    • getPortalTitle

      public String getPortalTitle()
    • setPortalTitle

      public void setPortalTitle(String portalTitle)