Alfresco CMIS限制大小和时间查询

编程入门 行业动态 更新时间:2024-10-07 20:31:44
本文介绍了Alfresco CMIS限制大小和时间查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们正在开发与Alfresco集成的前端,我们正在使用CMIS协议针对Alfresco的不同距离执行查询,但是我们希望为查询的最大时间和最大结果设置一个限制可以给。这可以通过CMIS标准实现,还是只能通过alfresco.global.properties中的acl权限(阻止lucene)来管理?我们不想在Alfresco中更改这些设置。 谢谢

we are developing a front end integrated with Alfresco, we are using CMIS protocol to execute queries against different istances of Alfresco, but we would like to set a limit to a maximum time and a maximum results that a query could give. Is this achievable with CMIS standard, or is only manageable with acl permissions in alfresco.global.properties (blocking lucene)? We would like not to touch these settings in Alfresco. Thanks

推荐答案

如果您直接通过HTTP使用AtomPub绑定,并且正在使用HTTP GET,则可以将URL参数 maxItems 添加到查询URL。

If you are using the AtomPub binding via HTTP directly and you are using HTTP GET, then you can add the the URL parameter maxItems to the query URL.

如果对查询使用HTTP POST,则必须将 maxItems 参数添加到有效负载中。请参阅: docs.oasis-open/cmis/CMIS/v1.0/cs01/cmis-spec-v1.0.html#_Toc243905541

If you are using HTTP POST for the query, you have to add the maxItems parameters to the payload. See: docs.oasis-open/cmis/CMIS/v1.0/cs01/cmis-spec-v1.0.html#_Toc243905541

更多推荐

Alfresco CMIS限制大小和时间查询

本文发布于:2023-11-28 11:19:25,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642190.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:大小   时间   Alfresco   CMIS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!