org.hippoecm.hst.jaxrs.services.content
Class AbstractContentResource
java.lang.Object
org.hippoecm.hst.jaxrs.services.AbstractResource
org.hippoecm.hst.jaxrs.services.content.AbstractContentResource
- Direct Known Subclasses:
- BaseImageSetContentResource, HippoDocumentContentResource, HippoFolderContentResource
public abstract class AbstractContentResource
- extends AbstractResource
AbstractContentResource
- Version:
- $Id$
Method Summary |
protected String |
deleteContentResource(javax.servlet.http.HttpServletRequest servletRequest,
HippoBean baseBean,
String relPath)
|
protected String |
getHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
String targetMountAlias)
|
protected HippoHtmlRepresentation |
getHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
String targetMountAlias)
|
protected javax.jcr.Node |
getRequestContentNode(HstRequestContext requestContext)
Deprecated. Use AbstractResource.getRequestContentBean(HstRequestContext) instead. |
protected String |
getRequestContentPath(HstRequestContext requestContext)
|
protected String |
updateHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
String htmlContent)
|
protected HippoHtmlRepresentation |
updateHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
HippoHtmlRepresentation htmlRepresentation)
|
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 |
AbstractContentResource
public AbstractContentResource()
getRequestContentPath
protected String getRequestContentPath(HstRequestContext requestContext)
getRequestContentNode
protected javax.jcr.Node getRequestContentNode(HstRequestContext requestContext)
- Deprecated. Use
AbstractResource.getRequestContentBean(HstRequestContext)
instead.
- Parameters:
requestContext
-
- Returns:
deleteContentResource
protected String deleteContentResource(javax.servlet.http.HttpServletRequest servletRequest,
HippoBean baseBean,
String relPath)
throws javax.jcr.RepositoryException,
ObjectBeanPersistenceException
- Throws:
javax.jcr.RepositoryException
ObjectBeanPersistenceException
getHippoHtmlRepresentation
protected HippoHtmlRepresentation getHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
String targetMountAlias)
updateHippoHtmlRepresentation
protected HippoHtmlRepresentation updateHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
HippoHtmlRepresentation htmlRepresentation)
getHippoHtmlContent
protected String getHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
String targetMountAlias)
updateHippoHtmlContent
protected String updateHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest,
String relPath,
String htmlContent)
Copyright © 2008-2012 Hippo. All Rights Reserved.