Package sk.iway.iwcm.headless.service
Class HeadlessNavigationService
java.lang.Object
sk.iway.iwcm.headless.service.HeadlessNavigationService
Service for building navigation trees from the WebJET CMS group structure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildNavigation(String rootPath, int startGroupId, int depth, String lng, jakarta.servlet.http.HttpSession session) Builds a navigation tree from a given root group or path.static booleanisGroupOnCurrentDomain(int groupId) Checks whether a group belongs to the current domain.
-
Constructor Details
-
HeadlessNavigationService
public HeadlessNavigationService()
-
-
Method Details
-
isGroupOnCurrentDomain
public static boolean isGroupOnCurrentDomain(int groupId) Checks whether a group belongs to the current domain.- Parameters:
groupId- the group ID to validate- Returns:
- true when the group belongs to the current domain
-