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()
CacheKeygetCacheKeyString in interface CacheKeypublic Long getNoteId()
public String getPropertyKey()
public String getPropertyKeyGroup()
public boolean isUniquePerClient()
CacheKeyisUniquePerClient in interface CacheKeyCopyright © 2019 Communote team. All rights reserved.