org.alfresco.cmis.renditions
Class CMISRenditionServiceImpl

java.lang.Object
  extended by org.alfresco.cmis.renditions.CMISRenditionServiceImpl
All Implemented Interfaces:
CMISRenditionService

public class CMISRenditionServiceImpl
extends java.lang.Object
implements CMISRenditionService

Rendition Service Implementation


Constructor Summary
CMISRenditionServiceImpl()
           
 
Method Summary
 java.util.List getRenditions(org.alfresco.service.cmr.repository.NodeRef node, java.lang.String renditionFilter)
          Get renditions for a document.
 void setCustomRenditions(java.util.List renditions)
          Set custom renditions.
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
          Set the NodeService.
 void setRenditionKindMapping(java.util.Map renditionKinds)
          Set rendition kind mapping.
 void setThumbnailService(ThumbnailService thumbnailService)
          Set the ThumbnailService.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISRenditionServiceImpl

public CMISRenditionServiceImpl()
Method Detail

getRenditions

public java.util.List getRenditions(org.alfresco.service.cmr.repository.NodeRef node,
                                    java.lang.String renditionFilter)
                             throws CMISFilterNotValidException
Description copied from interface: CMISRenditionService
Get renditions for a document.

Specified by:
getRenditions in interface CMISRenditionService
Parameters:
node - node reference of document
renditionFilter - renditions filter
Returns:
list of renditions
Throws:
CMISFilterNotValidException
See Also:
CMISRenditionService.getRenditions(org.alfresco.service.cmr.repository.NodeRef, java.lang.String)

setRenditionKindMapping

public void setRenditionKindMapping(java.util.Map renditionKinds)
Set rendition kind mapping.

Parameters:
RenditionKind - to Thumbnail Definition mapping

setCustomRenditions

public void setCustomRenditions(java.util.List renditions)
Set custom renditions.

Parameters:
renditions - list of renditions

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the NodeService.

Parameters:
nodeService - NodeService

setThumbnailService

public void setThumbnailService(ThumbnailService thumbnailService)
Set the ThumbnailService.

Parameters:
thumbnailService - thumbnailService


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.