T
- The cache key.U
- The object to cache.public interface AccessRestrictedCacheElementProvider<T extends CacheKey,U extends Serializable> extends CacheElementProvider<T,U>
ETERNAL_TIME_TO_LIVE
Modifier and Type | Method and Description |
---|---|
void |
assertAccess(T cacheKey) |
getContentType, getTimeToLive, load
void assertAccess(T cacheKey) throws AuthorizationException
cacheKey
- The cache key to check for.AuthorizationException
- Thrown, when the user is not allowed to access the item.Copyright © 2019 Communote team. All rights reserved.