public class CloudDriveThumbnailRESTService
extends org.exoplatform.wcm.connector.collaboration.ThumbnailRESTService
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.clouddrive.CloudDriveService |
cloudDrives |
| Constructor and Description |
|---|
CloudDriveThumbnailRESTService(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cms.thumbnail.ThumbnailService thumbnailService,
org.exoplatform.services.cms.link.NodeFinder nodeFinder,
org.exoplatform.services.cms.link.LinkManager linkManager,
org.exoplatform.clouddrive.CloudDriveService cloudDrives) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(String workspaceName,
String nodePath) |
javax.ws.rs.core.Response |
getCoverImage(String repoName,
String workspaceName,
String nodePath,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getCustomImage(String size,
String repoName,
String workspaceName,
String nodePath,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getLargeImage(String repoName,
String workspaceName,
String nodePath,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getOriginImage(String repoName,
String workspaceName,
String nodePath,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getSmallImage(String repoName,
String workspaceName,
String nodePath,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getThumbnailImage(String repoName,
String workspaceName,
String nodePath,
String ifModifiedSince) |
protected javax.ws.rs.core.Response |
ok() |
public CloudDriveThumbnailRESTService(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cms.thumbnail.ThumbnailService thumbnailService,
org.exoplatform.services.cms.link.NodeFinder nodeFinder,
org.exoplatform.services.cms.link.LinkManager linkManager,
org.exoplatform.clouddrive.CloudDriveService cloudDrives)
repositoryService - thumbnailService - nodeFinder - linkManager - public javax.ws.rs.core.Response getThumbnailImage(String repoName, String workspaceName, String nodePath, @HeaderParam(value="If-Modified-Since") String ifModifiedSince) throws Exception
getThumbnailImage in class org.exoplatform.wcm.connector.collaboration.ThumbnailRESTServiceExceptionpublic javax.ws.rs.core.Response getCoverImage(String repoName, String workspaceName, String nodePath, @HeaderParam(value="If-Modified-Since") String ifModifiedSince) throws Exception
getCoverImage in class org.exoplatform.wcm.connector.collaboration.ThumbnailRESTServiceExceptionpublic javax.ws.rs.core.Response getLargeImage(String repoName, String workspaceName, String nodePath, @HeaderParam(value="If-Modified-Since") String ifModifiedSince) throws Exception
getLargeImage in class org.exoplatform.wcm.connector.collaboration.ThumbnailRESTServiceExceptionpublic javax.ws.rs.core.Response getSmallImage(String repoName, String workspaceName, String nodePath, @HeaderParam(value="If-Modified-Since") String ifModifiedSince) throws Exception
getSmallImage in class org.exoplatform.wcm.connector.collaboration.ThumbnailRESTServiceExceptionpublic javax.ws.rs.core.Response getCustomImage(String size, String repoName, String workspaceName, String nodePath, @HeaderParam(value="If-Modified-Since") String ifModifiedSince) throws Exception
getCustomImage in class org.exoplatform.wcm.connector.collaboration.ThumbnailRESTServiceExceptionpublic javax.ws.rs.core.Response getOriginImage(String repoName, String workspaceName, String nodePath, @HeaderParam(value="If-Modified-Since") String ifModifiedSince) throws Exception
getOriginImage in class org.exoplatform.wcm.connector.collaboration.ThumbnailRESTServiceExceptionprotected boolean accept(String workspaceName, String nodePath) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected javax.ws.rs.core.Response ok()
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.