Class UserDirectoryPageResolver

    • Method Detail

      • getUserPage

        public UserPage getUserPage​(Content userContent,
                                    String siteName,
                                    String sitemapName,
                                    String contentTypeId)
        Return the user page
        Parameters:
        userContent - the user page content
        siteName - The current site name.
        sitemapName - The current sitemap name.
        contentTypeId - the content type id
        Returns:
        the user page or null
      • getUserPage

        public UserPage getUserPage​(Page userDirectoryRootPage,
                                    Content userContent)
        Return the user page
        Parameters:
        userDirectoryRootPage - the user directory root page
        userContent - the user content
        Returns:
        the user page or null
      • getUserPageId

        public String getUserPageId​(Page userDirectoryRootPage,
                                    Content userContent)
        Return the user page identifier
        Parameters:
        userDirectoryRootPage - the user directory root page
        userContent - the user content
        Returns:
        the user page or null if the user page does not exist
      • _getUserPath

        private String _getUserPath​(Page userDirectoryRootPage,
                                    Content userContent)
        Get the path of a user content
        Parameters:
        userDirectoryRootPage - The user directory root page where to look into
        userContent - The user content
        Returns:
        The path or null if the user page does not exist