org.hippoecm.hst.jaxrs.services.content
Class HippoDocumentContentResource

java.lang.Object
  extended by org.hippoecm.hst.jaxrs.services.AbstractResource
      extended by org.hippoecm.hst.jaxrs.services.content.AbstractContentResource
          extended by org.hippoecm.hst.jaxrs.services.content.HippoDocumentContentResource

public class HippoDocumentContentResource
extends AbstractContentResource

Version:
$Id$

Field Summary
 
Fields inherited from class org.hippoecm.hst.jaxrs.services.AbstractResource
BEANS_ANNOTATED_CLASSES_CONF_PARAM, HST_MOUNT_REL_PREFIX, HST_REST_RELATIONS_BASE_URI, MOUNT_ALIAS_ASSETS, MOUNT_ALIAS_GALLERY, MOUNT_ALIAS_REST, MOUNT_ALIAS_SITE
 
Constructor Summary
HippoDocumentContentResource()
           
 
Method Summary
 HippoDocumentRepresentation getDocumentResource(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo)
           
 String getHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo, String relPath, String targetMountAlias)
           
 HippoHtmlRepresentation getHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo, String relPath, String targetMountAlias)
           
 String updateHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo, String relPath, String htmlContent)
           
 HippoHtmlRepresentation updateHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo, String relPath, HippoHtmlRepresentation htmlRepresentation)
           
 
Methods inherited from class org.hippoecm.hst.jaxrs.services.content.AbstractContentResource
deleteContentResource, getHippoHtmlContent, getHippoHtmlRepresentation, getRequestContentNode, getRequestContentPath, updateHippoHtmlContent, updateHippoHtmlRepresentation
 
Methods inherited from class org.hippoecm.hst.jaxrs.services.AbstractResource
deleteHippoBean, getAnnotatedClasses, getAnnotatedClassesResourcePath, getChildBeanByRelPathOrPrimaryNodeType, getContentPersistenceManager, getContentRewriter, getHstQualifiedLinkRel, getHstQueryManager, getHstQueryManager, getLinkMountRelation, getMountContentBaseBean, getMountLink, getNodeLink, getObjectConverter, getPersistableSession, getPersistableSession, getPersistenceManager, getPersistenceManager, getQualifiedLinkRel, getQualifiedLinkRel, getRequestContentBean, getRequestContentBean, getRequestContext, getRestLink, getRestRelationsBaseUri, getSiteLink, isPageLinksExternal, setAnnotatedClasses, setAnnotatedClassesResourcePath, setContentRewriter, setHstQueryManagerFactory, setObjectConverter, setPageLinksExternal, setRestRelationsBaseUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HippoDocumentContentResource

public HippoDocumentContentResource()
Method Detail

getDocumentResource

public HippoDocumentRepresentation getDocumentResource(@Context
                                                       javax.servlet.http.HttpServletRequest servletRequest,
                                                       @Context
                                                       javax.servlet.http.HttpServletResponse servletResponse,
                                                       @Context
                                                       javax.ws.rs.core.UriInfo uriInfo)

getHippoHtmlRepresentation

public HippoHtmlRepresentation getHippoHtmlRepresentation(@Context
                                                          javax.servlet.http.HttpServletRequest servletRequest,
                                                          @Context
                                                          javax.servlet.http.HttpServletResponse servletResponse,
                                                          @Context
                                                          javax.ws.rs.core.UriInfo uriInfo,
                                                          String relPath,
                                                          String targetMountAlias)

updateHippoHtmlRepresentation

public HippoHtmlRepresentation updateHippoHtmlRepresentation(@Context
                                                             javax.servlet.http.HttpServletRequest servletRequest,
                                                             @Context
                                                             javax.servlet.http.HttpServletResponse servletResponse,
                                                             @Context
                                                             javax.ws.rs.core.UriInfo uriInfo,
                                                             String relPath,
                                                             HippoHtmlRepresentation htmlRepresentation)

getHippoHtmlContent

public String getHippoHtmlContent(@Context
                                  javax.servlet.http.HttpServletRequest servletRequest,
                                  @Context
                                  javax.servlet.http.HttpServletResponse servletResponse,
                                  @Context
                                  javax.ws.rs.core.UriInfo uriInfo,
                                  String relPath,
                                  String targetMountAlias)

updateHippoHtmlContent

public String updateHippoHtmlContent(@Context
                                     javax.servlet.http.HttpServletRequest servletRequest,
                                     @Context
                                     javax.servlet.http.HttpServletResponse servletResponse,
                                     @Context
                                     javax.ws.rs.core.UriInfo uriInfo,
                                     String relPath,
                                     String htmlContent)


Copyright © 2008-2012 Hippo. All Rights Reserved.