Class UserDirectoryPageHandler.PageCacheKey

java.lang.Object
org.ametys.plugins.core.impl.cache.AbstractCacheKey
org.ametys.plugins.userdirectory.UserDirectoryPageHandler.PageCacheKey
Enclosing class:
UserDirectoryPageHandler

protected static final class UserDirectoryPageHandler.PageCacheKey extends AbstractCacheKey
Key to index a user directory page in a cache
  • Constructor Details

    • PageCacheKey

      public PageCacheKey(String workspaceName, String contentTypeId, String siteName, String language, String pageName)
      Basic constructor
      Parameters:
      workspaceName - the workspace name. Can be null.
      contentTypeId - the contentType id. Can be null.
      siteName - the site name. Can be null.
      language - the sitemap name. Can be null.
      pageName - the page name. Can be null.
  • Method Details

    • of

      public static UserDirectoryPageHandler.PageCacheKey of(String workspaceName, String contentTypeId, String siteName, String language, String pageName)
      Generate a cache key
      Parameters:
      workspaceName - the workspace name. Can be null.
      contentTypeId - the contentType id. Can be null.
      siteName - the site name. Can be null.
      language - the sitemap name. Can be null.
      pageName - the page name. Can be null.
      Returns:
      the cache key