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
ConstructorDescriptionPageCacheKey
(String workspaceName, String contentTypeId, String siteName, String language) Basic constructor -
Method Summary
Methods inherited from class org.ametys.plugins.core.impl.cache.AbstractCacheKey
equals, getFields, hashCode, isPartialKey, toString
-
Constructor Details
-
PageCacheKey
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
-