com.sapportals.wcm.repository.manager.thumbnail

Interface IResourceThumbnailPlugIn


public interface IResourceThumbnailPlugIn

The IResourcePreviewFilter is used to get the preview of a resource, docs...

Copyright (c) SAP AG 2003


Nested Class Summary
static class IResourceThumbnailPlugIn.StreamedImage
           
 
Method Summary
 IResourceThumbnailPlugIn.StreamedImage getContentThumbnail(IResource resource, ThumbnailPlugInInfo pluginInfo)
          Plugin Interface for creation of a thumbview for a resource.
 

Method Detail

getContentThumbnail

IResourceThumbnailPlugIn.StreamedImage getContentThumbnail(IResource resource,
                                                           ThumbnailPlugInInfo pluginInfo)
Plugin Interface for creation of a thumbview for a resource. Specific for resources of defined types (specified with the mime type) in the Portal KM Configuration. The Resource is given by the IResource resource parameter.

Parameters:
resource - the resource to create a thumbnail
pluginInfo - Additional information for thumbnail creation (e.g. height, width ..).
Returns:
JPeg Image with the content preview as stream and streamlength parameter
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2011 SAP AG Complete Copyright Notice