Questions tagged [apache-chemistry]

Apache Chemistry is an open source implementation of the CMIS content management interchange standard

Apache Chemistry provides open source implementations of the Content Management Interoperability Services (CMIS) specification.

This tag should be used for questions around using the CMIS client libraries (in Java, .NET, Python or PHP), or for questions around using and embedding the Java server library in your application.

For more general CMIS related queries, the CMIS tag should normally be used.

105 questions
0
votes
0 answers

Apache CMIS: ORDER BY clause with custom properties

It seems like the query result can be ordered by document custom properties, because I always get Null exception, for example, this query is working: SELECT * FROM my:document ORDER BY cmis:name but when I replace cmis:name with something else, for…
Banana
  • 1,276
  • 2
  • 16
  • 19
0
votes
2 answers

OpenCMIS + Alfresco make file read-only

I'm developing an Alfresco client which uses the OpenCMIS (Apache Chemistry) to upload files into Alfresco. I would like to know if there is a way to make a single file read-only for everyone. Thanks, Miretz
Miretz
  • 154
  • 1
  • 12
0
votes
1 answer

Use ApacheClientHttpInvoker instead of DefaultHttpInvoker

Is there any setting in Apache Chemistry to force Apache HTTP Client for connections instead of default Java HTTP functionality? In package org.apache.chemistry.opencmis.client.bindings.spi.http there is ApacheClientHttpInvoker class that does what…
Brlja
  • 364
  • 3
  • 14
0
votes
1 answer

Case Study for CMIS and Alfresco

I am very new to enterprise content management concepts. I would like to do a small hands or a case study before we embark on the full fledged thing. My work will be mainly on the client side so I would like to get more experience in consuming…
saurav
  • 5,388
  • 10
  • 56
  • 101
0
votes
1 answer

How to differentiate between error due to authorization and wrong server url in OpenCMIS?

By default, the inmemory repository has no username or password. Is there a way I can setup a username and password for it? If not, the SessionFactory.createSession() always throws a CmisBaseException. How do i differentiate between failure due to…
Rajath S
  • 169
  • 1
  • 14
0
votes
0 answers

How to get the server URL back from the Session object in OpenCMIS?

I have a Session object. I want to get back the server url from it. IS it possible?
Rajath S
  • 169
  • 1
  • 14
0
votes
1 answer

Using addToFolder and removeFromFolder in Alfresco document with CMIS

I'm trying to use the document methods addToFolder and removeFromFolder in Alfresco via Chemistry CMIS Implementation with java. I want to be accessible a document from multiples user spaces but I don't want to copy each one to each space. The…
lodopidolo
  • 175
  • 2
  • 10
0
votes
1 answer

What is the difference between transient document and document in OpenCMIS?

I'm not sure of the difference. When is a transient document is requested, is the document automatically checked out and is it something similar to a private working copy?
Rajath S
  • 169
  • 1
  • 14
0
votes
1 answer

Error when saving document of custom type in Alfresco Share

I got this exception when trying to save a new document of custom type: org.alfresco.service.cmr.repository.MalformedNodeRefException: 06010026 Invalid node ref - does not contain forward slash: {node.nodeRef} Here is how the definition of the…
Horia Toma
  • 1,099
  • 2
  • 17
  • 29
0
votes
1 answer

How to split a cmis url into repository path and path with respect to repository?

I'm a GSoC'13 intern. I'm working on developing a CMIS UCP for Apache OpenOffice. I wanted to know how to divide a url into its parts. To fill the session parameters I need the url + path of the object in repo. separately. Is there any other way?
Rajath S
  • 169
  • 1
  • 14
0
votes
1 answer

Apache chemistry internal server error on setContentStream

I'm trying to replace a document on alfresco with Apache chemistry. I create an inputstream from a file stored on disk, i create a contenstream with the constructor ContentStreamImpl and i try to replace the document with the .setContentStream…
mikmontana
  • 101
  • 1
  • 9
0
votes
1 answer

Valid CMIS query

I work with Alfresco and OpenCMIS and want get folder and documents. Query: SELECT D.cmis:objectId, F.cmis:objectId FROM cmis:folder AS F JOIN cmis:document AS D WHERE IN_FOLDER('"+ folderId +"') AND cmis:name like '%name%'" but it doesn't work.…
archik
  • 455
  • 1
  • 5
  • 22
0
votes
1 answer

CMIS: cache data on server side

I'm writing a CMIS interface(server) for my application. The server needs to load data from a database to process the request. At the moment I'm loading the same data for every request. Is there a common way to cache this data. Are cookies supported…
Mimefilt
  • 650
  • 9
  • 20
-1
votes
1 answer

In alfresco repository how to create link for one folder to another folder using java api

Hi guys i am beginner in alfresco.I have done many services such as creating folder,subfolder,uploading document,downloading document,creating permissions using cmis. But i am not able to create link of one folder to another folder using…
-2
votes
1 answer

Convert from Object to anything (conditionally)

I have a method which needs to inspect the value of an Object and determine its datatype and then converts the passed in value to the appropriate formatted java datatype. Is there a more elegant way to do this? switch? Functional? I am using…
cicit
  • 581
  • 5
  • 24
1 2 3 4 5 6
7