concept cmis in category apache chemistry

appears as: cmis, cmis, The cmis, cmis
CMIS and Apache Chemistry in Action

This is an excerpt from Manning's book CMIS and Apache Chemistry in Action.

In the next chapter, you’ll see that two prominent domain objects covered by the specification are cmis:document and cmis:folder. That’s because the CMIS specification assumes a general document management use case: you’re using CMIS to manage documents (files) organized in a hierarchy of folders.

  • queryable—This Boolean attribute must be true to be able to use the object type in a CMIS Query and have the objects from this type be returned as part of the Query result set. For example, the CMIS specification includes an object type called cmis:relationship, which is used to establish relationships or associations between objects. If you look at the type definition for cmis:relationship, you’ll see that it’s not queryable. Therefore, you can never have a query that says SELECT * FROM cmis:relationship.
  • includedInSuperTypeQuery—If this Boolean attribute is true, then the objects of this object type may be returned when you query against one of its ancestor object types. If this attribute is false, the objects in the object type may still be returned when its queryable attribute (see the previous item in this list) is true. For example, included among the sample object types in the InMemory server that accompanies this book is a type called cmis:lyrics. Its parent type is cmisbook:text, whose parent is cmis:document. Because includedInSuperTypeQuery is set to true for cmis:lyrics and cmisbook:text, queries that select from cmis:document may return instances of cmis:lyrics because cmis:document is a supertype of cmis:lyrics.
  • Figure 5.2. Examine the type attributes for cmis:audio using the CMIS Workbench Types view.
  • DateTime using GMT time or time zone offset: SELECT * FROM cmis:document WHERE cmis:lastModificationDate >TIMESTAMP '2012-07-27T16:23:02.390Z'SELECT * FROM cmis:document WHERE cmis:creationDate < TIMESTAMP '2013-07-27T16:23:02.390+07:00'
  • SELECT * FROM cmis:document WHERE cmis:creationDate >=
         TIMESTAMP '2012-07-27T00:00:00.000Z'
         AND cmis:creationDate < TIMESTAMP '2012-07-28T00:00:00.000Z'