Interface CommentResource


@CTAware @Generated("") @ProviderType public interface CommentResource
To access this resource, run: curl -u your@email.com:yourpassword -D - http://localhost:8080/o/headless-delivery/v1.0
Generated:
  • Method Details

    • getBlogPostingCommentsPage

      com.liferay.portal.vulcan.pagination.Page<Comment> getBlogPostingCommentsPage(Long blogPostingId, String search, com.liferay.portal.vulcan.aggregation.Aggregation aggregation, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.vulcan.pagination.Pagination pagination, com.liferay.portal.kernel.search.Sort[] sorts) throws Exception
      Throws:
      Exception
    • postBlogPostingCommentsPageExportBatch

      javax.ws.rs.core.Response postBlogPostingCommentsPageExportBatch(Long blogPostingId, String search, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.kernel.search.Sort[] sorts, String callbackURL, String contentType, String fieldNames) throws Exception
      Throws:
      Exception
    • postBlogPostingComment

      Comment postBlogPostingComment(Long blogPostingId, Comment comment) throws Exception
      Throws:
      Exception
    • postBlogPostingCommentBatch

      javax.ws.rs.core.Response postBlogPostingCommentBatch(Long blogPostingId, String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • deleteComment

      void deleteComment(Long commentId) throws Exception
      Throws:
      Exception
    • deleteCommentBatch

      javax.ws.rs.core.Response deleteCommentBatch(String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • getComment

      Comment getComment(Long commentId) throws Exception
      Throws:
      Exception
    • putComment

      Comment putComment(Long commentId, Comment comment) throws Exception
      Throws:
      Exception
    • putCommentBatch

      javax.ws.rs.core.Response putCommentBatch(String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • getCommentCommentsPage

      com.liferay.portal.vulcan.pagination.Page<Comment> getCommentCommentsPage(Long parentCommentId, String search, com.liferay.portal.vulcan.aggregation.Aggregation aggregation, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.vulcan.pagination.Pagination pagination, com.liferay.portal.kernel.search.Sort[] sorts) throws Exception
      Throws:
      Exception
    • postCommentComment

      Comment postCommentComment(Long parentCommentId, Comment comment) throws Exception
      Throws:
      Exception
    • getDocumentCommentsPage

      com.liferay.portal.vulcan.pagination.Page<Comment> getDocumentCommentsPage(Long documentId, String search, com.liferay.portal.vulcan.aggregation.Aggregation aggregation, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.vulcan.pagination.Pagination pagination, com.liferay.portal.kernel.search.Sort[] sorts) throws Exception
      Throws:
      Exception
    • postDocumentCommentsPageExportBatch

      javax.ws.rs.core.Response postDocumentCommentsPageExportBatch(Long documentId, String search, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.kernel.search.Sort[] sorts, String callbackURL, String contentType, String fieldNames) throws Exception
      Throws:
      Exception
    • postDocumentComment

      Comment postDocumentComment(Long documentId, Comment comment) throws Exception
      Throws:
      Exception
    • postDocumentCommentBatch

      javax.ws.rs.core.Response postDocumentCommentBatch(Long documentId, String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • deleteSiteBlogPostingByExternalReferenceCodeBlogPostingExternalReferenceCodeCommentByExternalReferenceCode

      void deleteSiteBlogPostingByExternalReferenceCodeBlogPostingExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String blogPostingExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • getSiteBlogPostingByExternalReferenceCodeBlogPostingExternalReferenceCodeCommentByExternalReferenceCode

      Comment getSiteBlogPostingByExternalReferenceCodeBlogPostingExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String blogPostingExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • putSiteBlogPostingByExternalReferenceCodeBlogPostingExternalReferenceCodeCommentByExternalReferenceCode

      Comment putSiteBlogPostingByExternalReferenceCodeBlogPostingExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String blogPostingExternalReferenceCode, String externalReferenceCode, Comment comment) throws Exception
      Throws:
      Exception
    • deleteSiteCommentByExternalReferenceCodeParentCommentExternalReferenceCodeCommentByExternalReferenceCode

      void deleteSiteCommentByExternalReferenceCodeParentCommentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String parentCommentExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • getSiteCommentByExternalReferenceCodeParentCommentExternalReferenceCodeCommentByExternalReferenceCode

      Comment getSiteCommentByExternalReferenceCodeParentCommentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String parentCommentExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • putSiteCommentByExternalReferenceCodeParentCommentExternalReferenceCodeCommentByExternalReferenceCode

      Comment putSiteCommentByExternalReferenceCodeParentCommentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String parentCommentExternalReferenceCode, String externalReferenceCode, Comment comment) throws Exception
      Throws:
      Exception
    • deleteSiteDocumentByExternalReferenceCodeDocumentExternalReferenceCodeCommentByExternalReferenceCode

      void deleteSiteDocumentByExternalReferenceCodeDocumentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String documentExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • getSiteDocumentByExternalReferenceCodeDocumentExternalReferenceCodeCommentByExternalReferenceCode

      Comment getSiteDocumentByExternalReferenceCodeDocumentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String documentExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • putSiteDocumentByExternalReferenceCodeDocumentExternalReferenceCodeCommentByExternalReferenceCode

      Comment putSiteDocumentByExternalReferenceCodeDocumentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String documentExternalReferenceCode, String externalReferenceCode, Comment comment) throws Exception
      Throws:
      Exception
    • deleteSiteStructuredContentByExternalReferenceCodeStructuredContentExternalReferenceCodeCommentByExternalReferenceCode

      void deleteSiteStructuredContentByExternalReferenceCodeStructuredContentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String structuredContentExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • getSiteStructuredContentByExternalReferenceCodeStructuredContentExternalReferenceCodeCommentByExternalReferenceCode

      Comment getSiteStructuredContentByExternalReferenceCodeStructuredContentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String structuredContentExternalReferenceCode, String externalReferenceCode) throws Exception
      Throws:
      Exception
    • putSiteStructuredContentByExternalReferenceCodeStructuredContentExternalReferenceCodeCommentByExternalReferenceCode

      Comment putSiteStructuredContentByExternalReferenceCodeStructuredContentExternalReferenceCodeCommentByExternalReferenceCode(Long siteId, String structuredContentExternalReferenceCode, String externalReferenceCode, Comment comment) throws Exception
      Throws:
      Exception
    • getStructuredContentCommentsPage

      com.liferay.portal.vulcan.pagination.Page<Comment> getStructuredContentCommentsPage(Long structuredContentId, String search, com.liferay.portal.vulcan.aggregation.Aggregation aggregation, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.vulcan.pagination.Pagination pagination, com.liferay.portal.kernel.search.Sort[] sorts) throws Exception
      Throws:
      Exception
    • postStructuredContentCommentsPageExportBatch

      javax.ws.rs.core.Response postStructuredContentCommentsPageExportBatch(Long structuredContentId, String search, com.liferay.portal.kernel.search.filter.Filter filter, com.liferay.portal.kernel.search.Sort[] sorts, String callbackURL, String contentType, String fieldNames) throws Exception
      Throws:
      Exception
    • postStructuredContentComment

      Comment postStructuredContentComment(Long structuredContentId, Comment comment) throws Exception
      Throws:
      Exception
    • postStructuredContentCommentBatch

      javax.ws.rs.core.Response postStructuredContentCommentBatch(Long structuredContentId, String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • setContextAcceptLanguage

      default void setContextAcceptLanguage(com.liferay.portal.vulcan.accept.language.AcceptLanguage contextAcceptLanguage)
    • setContextCompany

      void setContextCompany(com.liferay.portal.kernel.model.Company contextCompany)
    • setContextHttpServletRequest

      default void setContextHttpServletRequest(javax.servlet.http.HttpServletRequest contextHttpServletRequest)
    • setContextHttpServletResponse

      default void setContextHttpServletResponse(javax.servlet.http.HttpServletResponse contextHttpServletResponse)
    • setContextUriInfo

      default void setContextUriInfo(javax.ws.rs.core.UriInfo contextUriInfo)
    • setContextUser

      void setContextUser(com.liferay.portal.kernel.model.User contextUser)
    • setExpressionConvert

      void setExpressionConvert(com.liferay.portal.odata.filter.ExpressionConvert<com.liferay.portal.kernel.search.filter.Filter> expressionConvert)
    • setFilterParserProvider

      void setFilterParserProvider(com.liferay.portal.odata.filter.FilterParserProvider filterParserProvider)
    • setGroupLocalService

      void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
    • setResourceActionLocalService

      void setResourceActionLocalService(com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService)
    • setResourcePermissionLocalService

      void setResourcePermissionLocalService(com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService)
    • setRoleLocalService

      void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
    • setSortParserProvider

      void setSortParserProvider(com.liferay.portal.odata.sort.SortParserProvider sortParserProvider)
    • setVulcanBatchEngineExportTaskResource

      void setVulcanBatchEngineExportTaskResource(com.liferay.portal.vulcan.batch.engine.resource.VulcanBatchEngineExportTaskResource vulcanBatchEngineExportTaskResource)
    • setVulcanBatchEngineImportTaskResource

      void setVulcanBatchEngineImportTaskResource(com.liferay.portal.vulcan.batch.engine.resource.VulcanBatchEngineImportTaskResource vulcanBatchEngineImportTaskResource)
    • toFilter

      default com.liferay.portal.kernel.search.filter.Filter toFilter(String filterString)
    • toFilter

      default com.liferay.portal.kernel.search.filter.Filter toFilter(String filterString, Map<String,List<String>> multivaluedMap)
    • toSorts

      default com.liferay.portal.kernel.search.Sort[] toSorts(String sortsString)