Package org.ametys.plugins.userdirectory
Class UserDirectoryPageHandler.PageCacheKey
java.lang.Object
org.ametys.plugins.core.impl.cache.AbstractCacheKey
org.ametys.plugins.userdirectory.UserDirectoryPageHandler.PageCacheKey
- Enclosing class:
- UserDirectoryPageHandler
Key to index a user directory page in a cache
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.plugins.core.impl.cache.AbstractCacheKey
equals, getFields, hashCode, isPartialKey, toString
-
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
-