org.exoplatform.clouddrive.ecms.thumbnail
Class CloudDriveThumbnailServiceImpl

java.lang.Object
  extended by org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
      extended by org.exoplatform.clouddrive.ecms.thumbnail.CloudDriveThumbnailServiceImpl
All Implemented Interfaces:
org.exoplatform.services.cms.thumbnail.ThumbnailService

public class CloudDriveThumbnailServiceImpl
extends org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl

TODO not finished! not used. Created by The eXo Platform SAS

Version:
$Id: CloudDriveThumbnailServiceImpl.java 00000 May 21, 2014 pnedonosko $
Author:
Peter Nedonosko

Field Summary
protected  org.exoplatform.clouddrive.CloudDriveService cloudDrives
           
 
Fields inherited from interface org.exoplatform.services.cms.thumbnail.ThumbnailService
BIG_SIZE, EXO_THUMBNAIL, EXO_THUMBNAILS, EXO_THUMBNAILS_FOLDER, HIDDENABLE_NODETYPE, MEDIUM_SIZE, SMALL_SIZE, THUMBNAIL_LAST_MODIFIED
 
Constructor Summary
CloudDriveThumbnailServiceImpl(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.clouddrive.CloudDriveService cloudDrives)
           
 
Method Summary
 void addThumbnailImage(javax.jcr.Node thumbnailNode, BufferedImage image, String propertyName)
          
 javax.jcr.Node addThumbnailNode(javax.jcr.Node node)
          
 void createSpecifiedThumbnail(javax.jcr.Node node, BufferedImage image, String propertyName)
          
 void createThumbnailImage(javax.jcr.Node node, BufferedImage image, String mimeType)
          
 InputStream getThumbnailImage(javax.jcr.Node node, String thumbnailType)
          
 javax.jcr.Node getThumbnailNode(javax.jcr.Node node)
          
 
Methods inherited from class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
addPlugin, getAllFileInNode, getComponentPlugins, getFileNodesByType, getFlowImages, getMimeTypes, isEnableThumbnail, processRemoveThumbnail, processThumbnailList, setEnableThumbnail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cloudDrives

protected final org.exoplatform.clouddrive.CloudDriveService cloudDrives
Constructor Detail

CloudDriveThumbnailServiceImpl

public CloudDriveThumbnailServiceImpl(org.exoplatform.container.xml.InitParams initParams,
                                      org.exoplatform.clouddrive.CloudDriveService cloudDrives)
                               throws Exception
Parameters:
initParams -
Throws:
Exception
Method Detail

getThumbnailImage

public InputStream getThumbnailImage(javax.jcr.Node node,
                                     String thumbnailType)
                              throws Exception

Specified by:
getThumbnailImage in interface org.exoplatform.services.cms.thumbnail.ThumbnailService
Overrides:
getThumbnailImage in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
Throws:
Exception

addThumbnailImage

public void addThumbnailImage(javax.jcr.Node thumbnailNode,
                              BufferedImage image,
                              String propertyName)
                       throws Exception

Specified by:
addThumbnailImage in interface org.exoplatform.services.cms.thumbnail.ThumbnailService
Overrides:
addThumbnailImage in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
Throws:
Exception

createSpecifiedThumbnail

public void createSpecifiedThumbnail(javax.jcr.Node node,
                                     BufferedImage image,
                                     String propertyName)
                              throws Exception

Specified by:
createSpecifiedThumbnail in interface org.exoplatform.services.cms.thumbnail.ThumbnailService
Overrides:
createSpecifiedThumbnail in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
Throws:
Exception

createThumbnailImage

public void createThumbnailImage(javax.jcr.Node node,
                                 BufferedImage image,
                                 String mimeType)
                          throws Exception

Specified by:
createThumbnailImage in interface org.exoplatform.services.cms.thumbnail.ThumbnailService
Overrides:
createThumbnailImage in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
Throws:
Exception

addThumbnailNode

public javax.jcr.Node addThumbnailNode(javax.jcr.Node node)
                                throws Exception

Specified by:
addThumbnailNode in interface org.exoplatform.services.cms.thumbnail.ThumbnailService
Overrides:
addThumbnailNode in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
Throws:
Exception

getThumbnailNode

public javax.jcr.Node getThumbnailNode(javax.jcr.Node node)
                                throws Exception

Specified by:
getThumbnailNode in interface org.exoplatform.services.cms.thumbnail.ThumbnailService
Overrides:
getThumbnailNode in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
Throws:
Exception


Copyright © 2003–2015 eXo Platform SAS. All rights reserved.