Package org.alfresco.repo.thumbnail
Class ThumbnailDefinition
java.lang.Object
org.alfresco.repo.thumbnail.ThumbnailDefinition
Deprecated.
The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
This class provides the thumbnail details to the thumbnail service.
- Author:
- Roy Wetherall
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructorThumbnailDefinition(String destinationMimetype, TransformationOptions options) Deprecated.ConstructorThumbnailDefinition(String mimetype, TransformationOptions options, String thumbnailName) Deprecated.Constructor.ThumbnailDefinition(String mimetype, TransformationOptions options, String thumbnailName, String placeHolderResourcePath) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Get thefailure options.Deprecated.Deprecated.Get the destination mimetypegetName()Deprecated.Gets the name of the thumbnailDeprecated.getRunAs()Deprecated.Deprecated.Gets the thumbnail registryDeprecated.Get the transformation optionsinthashCode()Deprecated.voidregister()Deprecated.Registers the thumbnail definition with the thumbnail registry.voidsetFailureHandlingOptions(FailureHandlingOptions failureOptions) Deprecated.Set thefailure options.voidsetMimeAwarePlaceHolderResourcePath(String mimeAwarePlaceHolderResourcePath) Deprecated.This method sets the mime-aware placeholder resource path template.voidsetMimetype(String mimetype) Deprecated.Set the destination mimetypevoidDeprecated.Sets the name of the thumbnailvoidsetPlaceHolderResourcePath(String placeHolderResourcePath) Deprecated.This method sets the placeholder resource path.voidDeprecated.voidsetThumbnailRegistry(ThumbnailRegistry thumbnailRegistry) Deprecated.Sets the thumbnail registryvoidDeprecated.Set the transformation options
-
Constructor Details
-
ThumbnailDefinition
public ThumbnailDefinition()Deprecated.Default constructor -
ThumbnailDefinition
Deprecated.Constructor- Parameters:
destinationMimetype- Stringoptions- TransformationOptions
-
ThumbnailDefinition
Deprecated.Constructor. Specify the name of the thumbnail.- Parameters:
thumbnailName- the name of the thumbnail, can be null
-
ThumbnailDefinition
public ThumbnailDefinition(String mimetype, TransformationOptions options, String thumbnailName, String placeHolderResourcePath) Deprecated.Constructor. Specify the place holder thumbnail path.- Parameters:
mimetype- Stringoptions- TransformationOptionsthumbnailName- StringplaceHolderResourcePath- String
-
-
Method Details
-
setMimetype
Deprecated.Set the destination mimetype- Parameters:
mimetype- the destination minetype
-
getMimetype
Deprecated.Get the destination mimetype- Returns:
- the destination mimetype
-
setTransformationOptions
Deprecated.Set the transformation options- Parameters:
options- the transformation options
-
getTransformationOptions
Deprecated.Get the transformation options- Returns:
- the transformation options
-
setFailureHandlingOptions
Deprecated.Set thefailure options.- Parameters:
failureOptions- the failure options.- Since:
- 3.5.0
-
getFailureHandlingOptions
Deprecated.Get thefailure options.- Returns:
- the failure options
- Since:
- 3.5.0
-
setName
Deprecated.Sets the name of the thumbnail- Parameters:
thumbnailName- the thumbnail name
-
getName
Deprecated.Gets the name of the thumbnail- Returns:
- String the name of the thumbnail, null if non specified
-
setRunAs
Deprecated. -
getRunAs
Deprecated. -
setPlaceHolderResourcePath
Deprecated.This method sets the placeholder resource path.- Parameters:
placeHolderResourcePath- String
-
getPlaceHolderResourcePath
Deprecated.- Returns:
- String
-
setMimeAwarePlaceHolderResourcePath
Deprecated.This method sets the mime-aware placeholder resource path template.- Parameters:
mimeAwarePlaceHolderResourcePath- String- Since:
- 3.4.1 (Team)
-
getMimeAwarePlaceHolderResourcePath
Deprecated.- Returns:
- String
- Since:
- 3.4.1 (Team)
-
getThumbnailRegistry
Deprecated.Gets the thumbnail registry- Returns:
- the thumbnail registry
-
setThumbnailRegistry
Deprecated.Sets the thumbnail registry- Parameters:
thumbnailRegistry- ThumbnailRegistry
-
register
public void register()Deprecated.Registers the thumbnail definition with the thumbnail registry.- See Also:
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-