Thumbnail Service: support for asyn creation of thumbnails (unit test's included)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-06-09 10:10:16 +00:00
parent 997b5c0ab5
commit 5e60154bf5
7 changed files with 259 additions and 34 deletions

View File

@@ -77,29 +77,4 @@ public class ThumbnailRegistry
{
return this.thumbnailDetails.get(thumbnailName);
}
// /**
// *
// * @param node
// * @param contentProperty
// * @param thumbnailName
// * @return
// */
// public NodeRef createThumbnail(NodeRef node, QName contentProperty, String thumbnailName)
// {
// // Check to see if we have details of the thumbnail in our list
// ThumbnailDetails details = getThumbnailDetails(thumbnailName);
// if (details == null)
// {
// throw new ThumbnailException("The thumbnail name '" + thumbnailName + "' is not recognised");
// }
//
// // Create the thumbnail
// return this.thumbnailService.createThumbnail(
// node,
// contentProperty,
// details.getMimetype(),
// details.getTransformationOptions(),
// thumbnailName);
// }
}