Can CMIS be used to fetch node content from Alfresco?
The CMIS protocol was designed to provide easy access to upload / download documents and folders .
Can CMIS protocol be used to fetch node content in Alfresco? For example, is the following query valid? This tries to checkout all tasks from a repository that is not a folder or document.
SELECT * FROM bpm:task
Yes, this is a valid CMIS request and will receive the content you are looking for in Alfresco.
The Content Management Compatibility Protocol isn't designed to work with documents and folders: as its name suggests, it's all about content. In the CMS world, content is usually (and generally) identified as a piece of information with a type and metadata attached to it. In this sense, a bpm:task
in Alfresco becomes a Content element in CMIS.
Documents and folders are also Content, and as some special type of content, they have specific APIs in CMIS on top of the general ones.