Class ScriptThumbnailService
java.lang.Object
org.alfresco.repo.processor.BaseProcessorExtension
org.alfresco.repo.jscript.BaseScopableProcessorExtension
org.alfresco.repo.thumbnail.script.ScriptThumbnailService
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension,Scopeable
Deprecated.
The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
Script object representing the site service.
- Author:
- Roy Wetherall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMimeAwarePlaceHolderResourcePath(String thumbnailName, String mimetype) Deprecated.Gets the resource path for the place holder thumbnail for the given named thumbnail and the given mime type.getPlaceHolderResourcePath(String thumbnailName) Deprecated.Gets the resource path for the place holder thumbnail for the given named thumbnail.booleanisThumbnailNameRegistered(String thumbnailName) Deprecated.Indicates whether a given thumbnail name has been registered.voidsetServiceRegistry(ServiceRegistry serviceRegistry) Deprecated.Sets the Service RegistryMethods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension
getScope, setScopeMethods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
Constructor Details
-
ScriptThumbnailService
public ScriptThumbnailService()Deprecated.
-
-
Method Details
-
setServiceRegistry
Deprecated.Sets the Service Registry- Parameters:
serviceRegistry- ServiceRegistry
-
isThumbnailNameRegistered
Deprecated.Indicates whether a given thumbnail name has been registered.- Parameters:
thumbnailName- thumbnail name- Returns:
- boolean true if the thumbnail name is registered, false otherwise
-
getPlaceHolderResourcePath
Deprecated.Gets the resource path for the place holder thumbnail for the given named thumbnail. Returns null if none set.- Parameters:
thumbnailName- the thumbnail name- Returns:
- String the place holder thumbnail resource path, null if none set
-
getMimeAwarePlaceHolderResourcePath
Deprecated.Gets the resource path for the place holder thumbnail for the given named thumbnail and the given mime type. If there is no icon available for the specified MIME type, a generic icon will be used instead. The generic icon is that returned bygetPlaceHolderResourcePath(String)If neither a MIME-specific icon nor a generic icon is available,nullis returned.- Parameters:
thumbnailName- the thumbnail namemimetype- the mimetype of the piece of content.- Returns:
- String the place holder thumbnail resource path
- See Also:
-