Class 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:
    Serialized Form
    • Constructor Detail

      • UserPortalViewContext

        public UserPortalViewContext()
    • Method Detail

      • routingContext

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

        public de.xima.fc.api.rest.pub.client.user_portal.model.DetailedUserPortalResource getPortal()
        Get the requested portal.
        Returns:
        The requested portal.
      • getPortalAlias

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

        public String getPortalTitle()
        Get the title of the requested portal.
        Returns:
        The title of the requested portal.
      • setPortalTitle

        public void setPortalTitle​(String portalTitle)
      • 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()