cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS specification and naming convention

nikes
Champ on-the-rise
Champ on-the-rise
Hi All,

I am developing an application using CMIS API.

For search feature I am using CMIS property name definitions like cmis:name, cmis:creationDate etc..

My question is which is a good way to use property names, should i directly use
in preparing query or put it in a property/bundle file and fetch it.

Means if tomorrow CMIS specification changes property names to something else so I just need to change
bundle/properties file changing the key values.

Please give your comments.

Thanks.
2 REPLIES 2

alcibiade
Champ in-the-making
Champ in-the-making
You should use properties from a CMIS library like OpenCMIS.
This will allow you to have constants supplied and maintained for you.

In OpenCMIS, these values are available in org.apache.chemistry.opencmis.commons.PropertyIds

gclaussn
Champ in-the-making
Champ in-the-making
I think this is not a question about the CMIS specification.
It is a question of how to develop software, which will be asked in nearly every project.