|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wcm.images.RESTImagesRendererService
public class RESTImagesRendererService
Created by The eXo Platform SAS Author : Hoa Pham hoa.phamvu@exoplatform.com Mar 31, 2009
| Constructor Summary | |
|---|---|
RESTImagesRendererService(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService)
Instantiates a new rEST images renderer service. |
|
| Method Summary | |
|---|---|
java.lang.String |
generateURI(javax.jcr.Node file)
Generate uri. |
java.lang.String |
generateURI(javax.jcr.Node file,
java.lang.String propertyName)
Generate uri. |
org.exoplatform.services.rest.Response |
serveImage(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.lang.String ifModifiedSince)
Serve image. |
org.exoplatform.services.rest.Response |
serveImage(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.lang.String propertyName,
java.lang.String ifModifiedSince)
Serve image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RESTImagesRendererService(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService)
repositoryService - the repository servicesessionProviderService - the session provider service| Method Detail |
|---|
public org.exoplatform.services.rest.Response serveImage(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.lang.String ifModifiedSince)
repository - the repositoryworkspace - the workspacenodeIdentifier - the node identifier
public org.exoplatform.services.rest.Response serveImage(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.lang.String propertyName,
java.lang.String ifModifiedSince)
repository - the repositoryworkspace - the workspacenodeIdentifier - the node identifierpropertyName - the property name
public java.lang.String generateURI(javax.jcr.Node file)
throws java.lang.Exception
file - the file
java.lang.Exception - the exception
public java.lang.String generateURI(javax.jcr.Node file,
java.lang.String propertyName)
throws java.lang.Exception
file - the filepropertyName - the property name
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||