public class AttachmentDownloadPathCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
Constructor and Description |
---|
AttachmentDownloadPathCache(com.atlassian.cache.CacheFactory cacheFactory) |
Modifier and Type | Method and Description |
---|---|
Option<String> |
get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key) |
void |
put(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key,
Option<String> path) |
void |
remove(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key) |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
toKey(Attachment attachment) |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
toKey(ContentEntityObject content,
String attachmentFileName) |
public AttachmentDownloadPathCache(com.atlassian.cache.CacheFactory cacheFactory)
public AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey toKey(Attachment attachment)
public AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey toKey(ContentEntityObject content, String attachmentFileName)
public Option<String> get(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
public void put(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key, Option<String> path)
public void remove(AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey key)
Copyright © 2003–2016 Atlassian. All rights reserved.