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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPortalViewContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.xima.fc.api.rest.pub.client.user_portal.model.UserPortalResourcegetPortal()Get the requested portal.StringgetPortalAlias()Get the alias of the requested portal.UUIDgetPortalUuid()Get the UUID of the requested portal.IRoutingContext.IPortalRoutingContextroutingContext()Get the portal routing context for pages of a certain portal.
-
-
-
Method Detail
-
getPortal
public de.xima.fc.api.rest.pub.client.user_portal.model.UserPortalResource 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.
-
getPortalUuid
public UUID getPortalUuid()
Get the UUID of the requested portal.- Returns:
- The UUID of the requested portal.
-
routingContext
public IRoutingContext.IPortalRoutingContext routingContext()
Get the portal routing context for pages of a certain portal.- Returns:
- The routing context for the portal.
-
-