org.exoplatform.clouddrive.ecms.thumbnail
Class CloudDriveThumbnailServiceImpl
java.lang.Object
org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
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)
|
| 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 |
cloudDrives
protected final org.exoplatform.clouddrive.CloudDriveService cloudDrives
CloudDriveThumbnailServiceImpl
public CloudDriveThumbnailServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.clouddrive.CloudDriveService cloudDrives)
throws Exception
- Parameters:
initParams -
- Throws:
Exception
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–2014 eXo Platform SAS. All rights reserved.