Class PathCacheService

    • Method Detail

      • getKey

        public String getKey​(String strXPageName,
                             int nMode,
                             javax.servlet.http.HttpServletRequest request)
        Description copied from interface: IPathCacheService
        Constructs a cache key
        Specified by:
        getKey in interface IPathCacheService
        Parameters:
        strXPageName - the XPage name
        nMode - the mode
        request - the request
        Returns:
        the cache key, or null if for instance the cache is not enabled
      • getKey

        public String getKey​(String strXPageName,
                             int nMode,
                             String strTitlesUrls,
                             javax.servlet.http.HttpServletRequest request)
        Description copied from interface: IPathCacheService
        Constructs a cache key
        Specified by:
        getKey in interface IPathCacheService
        Parameters:
        strXPageName - the XPage name
        nMode - the mode
        strTitlesUrls - list of links (url and titles)
        request - the request the request
        Returns:
        the cache key, or null if for instance the cache is not enabled