public class UserNotePropertyCacheKey extends Object implements CacheKey
UserNotePropertyCacheElementProvider
Constructor and Description |
---|
UserNotePropertyCacheKey(Long noteId,
String propertyKeyGroup,
String propertyKey)
Create a new cache key
|
Modifier and Type | Method and Description |
---|---|
String |
getCacheKeyString()
String representation of the cache key which will be used for caching.
|
Long |
getNoteId() |
String |
getPropertyKey() |
String |
getPropertyKeyGroup() |
boolean |
isUniquePerClient()
Returns true if the cache key should be treated as client specific.
|
public UserNotePropertyCacheKey(Long noteId, String propertyKeyGroup, String propertyKey)
noteId
- the ID of the note for which the properties are cachedpropertyKeyGroup
- the key group of the property for which the property values and users are cachedpropertyKey
- the key of the property for which the property values and users are cachedpublic String getCacheKeyString()
CacheKey
getCacheKeyString
in interface CacheKey
public Long getNoteId()
public String getPropertyKey()
public String getPropertyKeyGroup()
public boolean isUniquePerClient()
CacheKey
isUniquePerClient
in interface CacheKey
Copyright © 2019 Communote team. All rights reserved.