Alfresco CMIS限制大小和时间查询 [英] Alfresco CMIS limit size and time query

查看:79
本文介绍了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 参数添加到有效负载中。请参阅:
http://docs.oasis-open.org/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: http://docs.oasis-open.org/cmis/CMIS/v1.0/cs01/cmis-spec-v1.0.html#_Toc243905541

这篇关于Alfresco CMIS限制大小和时间查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆