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.DetailedUserPortalResource
getPortal()
Get the requested portal.String
getPortalAlias()
Get the alias of the requested portal.String
getPortalTitle()
Get the title of the requested portal.UUID
getPortalUuid()
Get the UUID of the current portal.boolean
isTabLayoutActivated()
IRoutingContext.IPortalRoutingContext
routingContext()
Get the portal routing context for pages of a certain portal.void
setPortalTitle(String portalTitle)
void
updateTitle()
-
-
-
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()
-
-