Class UserPortalTenantContentLoader
- java.lang.Object
-
- de.xima.fc.gui.helper.user_portal.UserPortalTenantContentLoader
-
public final class UserPortalTenantContentLoader extends Object
Helper class to load tenant-specific content for the user portal, including authorization checks and content retrieval.- Since:
- 8.6.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserPortalTenantContentLoader.TenantContentLoadResultstatic classUserPortalTenantContentLoader.TenantContentSelectItemInfo
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserPortalTenantContentLoader.TenantContentLoadResultload(Mandant currentClient, IUser user, UUID tenantUuid)Loads tenant-specific content for the user portal, including authorization checks and content retrieval.static UserPortalTenantContentLoader.TenantContentLoadResultload(Mandant currentClient, IUser user, UUID tenantUuid, UserPortalTenantContentLoader.TenantContentLoadResult cachedLoadResult, EUserPortalContentConfigType contentType)
-
-
-
Method Detail
-
load
public static UserPortalTenantContentLoader.TenantContentLoadResult load(Mandant currentClient, IUser user, UUID tenantUuid)
Loads tenant-specific content for the user portal, including authorization checks and content retrieval.- Parameters:
currentClient- the current client from the view context, ornullwhen no client is fixed in the current viewuser- current user used for checking permissionstenantUuid- the uuid of the tenant to load content for. if null, an empty result will be returned- Returns:
- the result containing tenant information, available resources, templates, forms, and authorization flags. If tenantUuid is null or tenant cannot be found, an empty result will be returned
-
load
public static UserPortalTenantContentLoader.TenantContentLoadResult load(Mandant currentClient, IUser user, UUID tenantUuid, UserPortalTenantContentLoader.TenantContentLoadResult cachedLoadResult, EUserPortalContentConfigType contentType)
-
-