Class ThumbnailManagerImpl
java.lang.Object
ch.tocco.nice2.dms.impl.thumbnail.ThumbnailManagerImpl
- All Implemented Interfaces:
ThumbnailManager
-
Constructor Summary
ConstructorDescriptionThumbnailManagerImpl
(QueryBuilderFactory queryBuilderFactory, CommandExecutor commandExecutor, SecurityManager securityManager, BinaryFactory binaryFactory, org.slf4j.Logger logger, RunEnvironmentService runEnvironmentService) -
Method Summary
Modifier and TypeMethodDescriptiongetThumbnail
(BinaryContent content, int width, int height) getThumbnail
(BinaryContent content, String format, int width, int height) void
setThumbnailServiceApiKey
(String thumbnailServiceApiKey) void
setThumbnailServiceMaxContentSizeInMb
(double thumbnailServiceMaxContentSizeInMb) void
setThumbnailServicePath
(String thumbnailServicePath) void
setThumbnailServiceUrl
(String thumbnailServiceUrl)
-
Constructor Details
-
ThumbnailManagerImpl
public ThumbnailManagerImpl(QueryBuilderFactory queryBuilderFactory, CommandExecutor commandExecutor, SecurityManager securityManager, BinaryFactory binaryFactory, org.slf4j.Logger logger, RunEnvironmentService runEnvironmentService)
-
-
Method Details
-
setThumbnailServiceUrl
@Value("${nice2.dms.thumbnailServiceUrl}") public void setThumbnailServiceUrl(String thumbnailServiceUrl) -
setThumbnailServicePath
@Value("${nice2.dms.thumbnailServicePath}") public void setThumbnailServicePath(String thumbnailServicePath) -
setThumbnailServiceApiKey
@Value("${nice2.dms.thumbnailServiceApiKey}") public void setThumbnailServiceApiKey(String thumbnailServiceApiKey) -
setThumbnailServiceMaxContentSizeInMb
@Value("${nice2.dms.thumbnailServiceMaxContentSizeInMb}") public void setThumbnailServiceMaxContentSizeInMb(double thumbnailServiceMaxContentSizeInMb) -
getThumbnail
- Specified by:
getThumbnail
in interfaceThumbnailManager
-
getThumbnail
- Specified by:
getThumbnail
in interfaceThumbnailManager
-