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)
      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.
  • Method Details

    • of

      public static UserDirectoryPageHandler.PageCacheKey of(String workspaceName, String contentTypeId, String siteName, String language)
      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.
      Returns:
      the cache key