@Path(value="/hippostd:folder/") public class HippoFolderContentResource extends AbstractContentResource
HST_MOUNT_REL_PREFIX, HST_REST_RELATIONS_BASE_URI, MOUNT_ALIAS_ASSETS, MOUNT_ALIAS_GALLERY, MOUNT_ALIAS_REST, MOUNT_ALIAS_SITE
Constructor and Description |
---|
HippoFolderContentResource() |
Modifier and Type | Method and Description |
---|---|
String |
createDocumentResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String documentName,
String nodeTypeName) |
String |
createFolderResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String folderName) |
String |
deleteDocumentResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String documentName) |
String |
deleteFolderResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String folderName) |
HippoDocumentRepresentation |
getDocumentResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String documentName) |
HippoDocumentRepresentationDataset |
getDocumentResources(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
boolean sorted,
String beginIndex,
String endIndex) |
HippoFolderRepresentation |
getFolderResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo) |
HippoFolderRepresentation |
getFolderResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String folderName) |
HippoFolderRepresentationDataset |
getFolderResources(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
boolean sorted,
String beginIndex,
String endIndex) |
NodeRepresentationDataset |
searchDocumentResources(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String sortBy,
String sortDirection,
Set<String> nodeTypes,
String queryOperator,
String queryScope,
String beginIndex,
String endIndex,
String queryMatrixParam,
String queryParam) |
deleteContentResource, getHippoHtmlContent, getHippoHtmlRepresentation, getRequestContentPath, getResolvedContentRewriter, updateHippoHtmlContent, updateHippoHtmlRepresentation
deleteHippoBean, getAnnotatedClasses, getAnnotatedClassesResourcePath, getChildBeanByRelPathOrPrimaryNodeType, 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
@GET @Path(value="/") public HippoFolderRepresentation getFolderResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="/folders/") public HippoFolderRepresentationDataset getFolderResources(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="sorted") boolean sorted, @MatrixParam(value="begin") @DefaultValue(value="0") String beginIndex, @MatrixParam(value="end") @DefaultValue(value="100") String endIndex)
@GET @Path(value="/folders/{folderName}/") public HippoFolderRepresentation getFolderResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="folderName") String folderName)
@POST @Path(value="/folders/{folderName}/") public String createFolderResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="folderName") String folderName)
@DELETE @Path(value="/folders/{folderName}/") public String deleteFolderResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="folderName") String folderName)
@GET @Path(value="/documents/") public HippoDocumentRepresentationDataset getDocumentResources(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="sorted") boolean sorted, @MatrixParam(value="begin") @DefaultValue(value="0") String beginIndex, @MatrixParam(value="end") @DefaultValue(value="100") String endIndex)
@GET @Path(value="/documents/{documentName}/") public HippoDocumentRepresentation getDocumentResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="documentName") String documentName)
@POST @Path(value="/documents/{documentName}/") public String createDocumentResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="documentName") String documentName, @FormParam(value="type") String nodeTypeName)
@DELETE @Path(value="/documents/{documentName}/") public String deleteDocumentResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="documentName") String documentName)
@GET @Path(value="/search/") public NodeRepresentationDataset searchDocumentResources(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="sortby") String sortBy, @MatrixParam(value="sortdir") String sortDirection, @MatrixParam(value="type") Set<String> nodeTypes, @MatrixParam(value="op") @DefaultValue(value="contains") String queryOperator, @MatrixParam(value="scope") @DefaultValue(value=".") String queryScope, @MatrixParam(value="begin") @DefaultValue(value="0") String beginIndex, @MatrixParam(value="end") @DefaultValue(value="100") String endIndex, @MatrixParam(value="query") String queryMatrixParam, @QueryParam(value="query") String queryParam)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.