Re: Adding the documents with the custom properties.

2012-08-30 Thread me
Assuming you are asking about setting a multi-valued property with createDocument, the Map.Entry value must be a List. Example (which would be good to add to [2] and/or [3]): Map properties = new HashMap(); properties.put(PropertyIds.OBJECT_TYPE_ID, "Email"); List values = new ArrayList();

Re: question on Folder and Document info via CMIS

2012-08-30 Thread Mark Streit
Jeff Wow - thanks for the lightning fast response :-) You're of course right - just select the single property cmis:contentStreamLength instead of the * - good point. Will look at the Paging on the result set. On Thu, Aug 30, 2012 at 5:40 PM, Jeff Potts wrote: > Yeah, what you'd like to be ab

Re: question on Folder and Document info via CMIS

2012-08-30 Thread Jeff Potts
Yeah, what you'd like to be able to do is a SELECT sum(cmis:contentStreamLength) from cmis:document where... But you can't. :) So you'll have to iterate. Couple of thoughts, though: - Ask for the cmis:contentStreamLength specifically--don't use * if all you need is that length property. That

[jira] [Resolved] (CMIS-566) Browser Binding: getContentStream should support the HTTP headers Last-Modified and If-Modified-Since

2012-08-30 Thread JIRA
[ https://issues.apache.org/jira/browse/CMIS-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Müller resolved CMIS-566. - Resolution: Fixed Fix Version/s: OpenCMIS 0.8.0 If getContentStream() returns a LastModified

[jira] [Created] (CMIS-566) Browser Binding: getContentStream should support the HTTP headers Last-Modified and If-Modified-Since

2012-08-30 Thread JIRA
Florian Müller created CMIS-566: --- Summary: Browser Binding: getContentStream should support the HTTP headers Last-Modified and If-Modified-Since Key: CMIS-566 URL: https://issues.apache.org/jira/browse/CMIS-566

[jira] [Commented] (CMIS-523) Inconsistency when updating properties

2012-08-30 Thread JIRA
[ https://issues.apache.org/jira/browse/CMIS-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444861#comment-13444861 ] Michael Dürig commented on CMIS-523: I agree with Jose. The solution in the patch is too

[jira] [Resolved] (CMIS-562) DefaultDocumentTypeHandler.createDocument is not open for extensions

2012-08-30 Thread JIRA
[ https://issues.apache.org/jira/browse/CMIS-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig resolved CMIS-562. Resolution: Fixed Fix Version/s: DotCMIS 0.5 Fixed at revision 1378879 Thanks Ivan Vasiliev fo

[jira] [Commented] (CMIS-557) Issues with JcrRepository.getJcrNode and ID format

2012-08-30 Thread JIRA
[ https://issues.apache.org/jira/browse/CMIS-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444850#comment-13444850 ] Michael Dürig commented on CMIS-557: This doesn't work for me. With the patch applied, I

[jira] [Resolved] (CMIS-563) JcrConverter.setProperty escaping issues

2012-08-30 Thread JIRA
[ https://issues.apache.org/jira/browse/CMIS-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig resolved CMIS-563. Resolution: Fixed Fix Version/s: OpenCMIS 0.8.0 Fixed at revision 1378875. Thanks Ivan Vasilie

Re: Unit tests for JCR bridge (CMIS-73?)

2012-08-30 Thread Michael Dürig
Hi Ivan, AFAIK there are currently no specific plans for the JCR bridge. So any contributions would be welcome. Its already a long time since I wrote the initial code for the JCR bridge. In the meanwhile the test environment developed further and the JCR bridge might have gotten quite out of

Re: Unit tests for JCR bridge (CMIS-73?)

2012-08-30 Thread Ivan Vasiliev
Hi Florian, Are there any plans to brings unit tests back to this module? I would like to contribute, but I don't want to spend time on something which will be not relevant and rejected. Could you please share your vision on how test environment for chemistry-jcr bridge should look like, so I can