public class CloudDriveThumbnailServiceImpl
extends org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImpl
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.clouddrive.CloudDriveService |
cloudDrives
The cloud drives.
|
| Constructor and Description |
|---|
CloudDriveThumbnailServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.clouddrive.CloudDriveService cloudDrives)
Instantiates a new cloud drive thumbnail service impl.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
protected final org.exoplatform.clouddrive.CloudDriveService cloudDrives
public CloudDriveThumbnailServiceImpl(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.clouddrive.CloudDriveService cloudDrives)
throws Exception
initParams - the init paramscloudDrives - the cloud drivesException - the exceptionpublic InputStream getThumbnailImage(javax.jcr.Node node, String thumbnailType) throws Exception
getThumbnailImage in interface org.exoplatform.services.cms.thumbnail.ThumbnailServicegetThumbnailImage in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImplExceptionpublic void addThumbnailImage(javax.jcr.Node thumbnailNode,
BufferedImage image,
String propertyName)
throws Exception
addThumbnailImage in interface org.exoplatform.services.cms.thumbnail.ThumbnailServiceaddThumbnailImage in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImplExceptionpublic void createSpecifiedThumbnail(javax.jcr.Node node,
BufferedImage image,
String propertyName)
throws Exception
createSpecifiedThumbnail in interface org.exoplatform.services.cms.thumbnail.ThumbnailServicecreateSpecifiedThumbnail in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImplExceptionpublic void createThumbnailImage(javax.jcr.Node node,
BufferedImage image,
String mimeType)
throws Exception
createThumbnailImage in interface org.exoplatform.services.cms.thumbnail.ThumbnailServicecreateThumbnailImage in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImplExceptionpublic javax.jcr.Node addThumbnailNode(javax.jcr.Node node)
throws Exception
addThumbnailNode in interface org.exoplatform.services.cms.thumbnail.ThumbnailServiceaddThumbnailNode in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImplExceptionpublic javax.jcr.Node getThumbnailNode(javax.jcr.Node node)
throws Exception
getThumbnailNode in interface org.exoplatform.services.cms.thumbnail.ThumbnailServicegetThumbnailNode in class org.exoplatform.services.cms.thumbnail.impl.ThumbnailServiceImplExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.