mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
57480: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 57290: Merged V4.1-BUG-FIX (4.1.7) to V4.2-BUG-FIX (4.2.1) 57279: Fix for MNT-9801. I have very slightly refactored the configuration of thumbnails. Rather than inject system.thumbnail.generate into both CreateThumbnail- and UpdateThumbnailActionExecuter, I am now injecting it into the ThumbnailService centrally. I left the old injector methods for backwards compatibility, but deprecated them. Now all requests to create a thumbnail via the ScriptNode API pre-check that thumbnail generation is enabled. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61822 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -148,4 +148,18 @@ public interface ThumbnailService
|
||||
*/
|
||||
@Auditable(parameters = {"sourceNode"})
|
||||
Map<String, FailedThumbnailInfo> getFailedThumbnails(NodeRef sourceNode);
|
||||
|
||||
/**
|
||||
* This method enables or disables the creation of all thumbnails by this service.
|
||||
*
|
||||
* @param thumbnailsEnabled <code>true</code> to enable all thumbnail creation (the default setting), or <code>false</code> to disable.
|
||||
* @since 4.1.7
|
||||
*/
|
||||
void setThumbnailsEnabled(boolean thumbnailsEnabled);
|
||||
|
||||
/**
|
||||
* This method indicates whether thumbnail creation via this service has been globally enabled or disabled.
|
||||
* @since 4.1.7
|
||||
*/
|
||||
boolean getThumbnailsEnabled();
|
||||
}
|
||||
|
Reference in New Issue
Block a user