Package | Description |
---|---|
org.alfresco.repo.thumbnail | |
org.alfresco.rest.api.impl |
Modifier and Type | Method and Description |
---|---|
ThumbnailDefinition |
ThumbnailRenditionConvertor.convert(RenditionDefinition renditionDefinition) |
ThumbnailDefinition |
ThumbnailRegistry.getThumbnailDefinition(String thumbnailName)
Get the definition of a named thumbnail
|
Modifier and Type | Method and Description |
---|---|
List<ThumbnailDefinition> |
ThumbnailRegistry.getThumbnailDefinitions()
Get a list of all the thumbnail definitions
|
List<ThumbnailDefinition> |
ThumbnailRegistry.getThumbnailDefinitions(String mimetype)
Deprecated.
use overloaded version with sourceSize parameter.
|
List<ThumbnailDefinition> |
ThumbnailRegistry.getThumbnailDefinitions(String mimetype,
long sourceSize) |
List<ThumbnailDefinition> |
ThumbnailRegistry.getThumbnailDefinitions(String sourceUrl,
String mimetype,
long sourceSize) |
List<ThumbnailDefinition> |
ThumbnailRegistry.getThumnailDefintions(String mimetype)
Deprecated.
Use
ThumbnailRegistry.getThumbnailDefinitions(String) instead. |
Modifier and Type | Method and Description |
---|---|
void |
ThumbnailRegistry.addThumbnailDefinition(ThumbnailDefinition thumbnailDetails)
Add a thumbnail details
|
RenditionDefinition |
ThumbnailRenditionConvertor.convert(ThumbnailDefinition thumbnailDefinition,
ThumbnailParentAssociationDetails assocDetails)
Given the specified
thumbnailDefinition and
assocDetails ,
create and return an equivalent RenditionDefinition object. |
static Action |
ThumbnailHelper.createCreateThumbnailAction(ThumbnailDefinition thumbnailDef,
ServiceRegistry services) |
long |
ThumbnailRegistry.getMaxSourceSizeBytes(String sourceMimetype,
ThumbnailDefinition thumbnailDefinition)
Returns the maximum source size of any content that may transformed between the supplied
sourceMimetype and thumbnailDefinition's targetMimetype using its transformation options.
|
boolean |
ThumbnailRegistry.isThumbnailDefinitionAvailable(String sourceUrl,
String sourceMimetype,
long sourceSize,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
ThumbnailDefinition thumbnailDefinition)
Checks to see if at this moment in time, the specified
ThumbnailDefinition
is able to thumbnail the source mimetype. |
boolean |
ThumbnailRegistry.isThumbnailDefinitionAvailable(String sourceUrl,
String sourceMimeType,
long sourceSize,
ThumbnailDefinition thumbnailDefinition)
Checks to see if at this moment in time, the specified
ThumbnailDefinition
is able to thumbnail the source mimetype. |
void |
ThumbnailDefinitionSpringRegisterer.setThumbnailDefinition(ThumbnailDefinition thumbnailDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
ThumbnailRegistry.setThumbnailDefinitions(List<ThumbnailDefinition> thumbnailDefinitions)
This method is used to inject the thumbnail definitions.
|
Modifier and Type | Method and Description |
---|---|
protected Rendition |
RenditionsImpl.toApiRendition(ThumbnailDefinition thumbnailDefinition) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.