Interface ThumbnailManagerInternal
-
- All Superinterfaces:
ThumbnailManager
- All Known Implementing Classes:
DefaultThumbnailManager
public interface ThumbnailManagerInternal extends ThumbnailManager
Exposes internal implementation details ofThumbnailManager
.- Since:
- 7.12
-
-
Field Summary
Fields Modifier and Type Field Description static String
THUMBNAIL_DIR_NAME
-
Fields inherited from interface com.atlassian.confluence.pages.thumbnail.ThumbnailManager
THUMBNAIL_IMAGE_DARK_FEATURE, THUMBNAIL_PATH_SUFFIX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default File
getThumbnailFile(long attachmentId, int version, long contentId)
Deprecated.since 7.14default File
getThumbnailFile(@NonNull Attachment attachment)
Deprecated.since 7.14default File
getThumbnailFile(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Deprecated.since 7.14com.atlassian.dc.filestore.api.compat.FilesystemPath
getThumbnailPath(long attachmentId, int version, long contentId)
com.atlassian.dc.filestore.api.compat.FilesystemPath
getThumbnailPath(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
-
Methods inherited from interface com.atlassian.confluence.pages.thumbnail.ThumbnailManager
getThumbnail, getThumbnail, getThumbnailData, getThumbnailData, getThumbnailInfo, getThumbnailInfo, getThumbnailInfo, getThumbnailInfo, isThumbnailable, isThumbnailable, removeThumbnail
-
-
-
-
Field Detail
-
THUMBNAIL_DIR_NAME
static final String THUMBNAIL_DIR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getThumbnailFile
@Deprecated default File getThumbnailFile(long attachmentId, int version, long contentId)
Deprecated.since 7.14- Specified by:
getThumbnailFile
in interfaceThumbnailManager
-
getThumbnailFile
@Deprecated default File getThumbnailFile(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
Deprecated.since 7.14Description copied from interface:ThumbnailManager
Returns the path to the thumbnail for this attachment- Specified by:
getThumbnailFile
in interfaceThumbnailManager
- Parameters:
attachment
- the attachmentimageDimensions
- image dimensions of the thumbnail- Returns:
- the thumbnail file
-
getThumbnailFile
@Deprecated default File getThumbnailFile(@NonNull Attachment attachment)
Deprecated.since 7.14Description copied from interface:ThumbnailManager
Returns the path to the thumbnail for this attachment- Specified by:
getThumbnailFile
in interfaceThumbnailManager
- Parameters:
attachment
- the attachment- Returns:
- the thumbnail file
-
getThumbnailPath
com.atlassian.dc.filestore.api.compat.FilesystemPath getThumbnailPath(long attachmentId, int version, long contentId)
- Since:
- 7.14
-
getThumbnailPath
com.atlassian.dc.filestore.api.compat.FilesystemPath getThumbnailPath(@NonNull Attachment attachment, @Nullable ImageDimensions imageDimensions)
- Since:
- 7.14
-
-