|
Maybe some scenarios will clarify my thinking...
Using the browser binding and I wish to display the document owner name, I would rather not contemplate consuming LDAP from a web browser. In a Local council implementation I wish to define a relationship between a resident and a document sent to them. If there was a standard 'cmis:person', which inherited from cmis:custom, then the resident could be defined as a cmis:person. Irrespective of best practice our customers routinely create groups internal to HP Trim. I would like to be able to do a SELECT * FROM cmis:group. Then use the id of the cmis:group to apply ACLs for that group. As I said in the last call I initiated this topic in response to the proposal for a custom object type (JIRA 723). If it was possible to create custom object types I would be very tempted to create person. So my question is, would any other repository even be tempted to create a custom person object type if JIRA 723 made it viable? If yes shall we discuss a standard approach, if no then I will wait to see what comes of JIRA 723 and make my choices then. Can "document" objects be used for this purpose? While the terminology may be misleading, the "document" type was intended to represent generic, independent information entities, not just documents in the conventional sense. (There was a big debate on the terminology in the early days but no one was able to come up with an ideal name for this type. In the end, the choice was semi-arbitrary.)
Granted, the document type is a bit heavy. But with secondary types, maybe some of the document type's properties can be redefined as secondary types so that the document primary type can be lighter. This is probably a v2.0 discussion. For the four root types in 1.0, each exhibits a different behavior (a different set of methods), while no new method is allowed for subtype. Is there a need for new methods for users and groups? |
|||||||||||||||||||||||||||||||||||||||
If CMIS is better without this then so be it. I suppose I am motivated by the vision of a person using a CMIS client who can see that something (a person, a group, an organisation?) has a particular relationship with this Document but, because the CMIS client software has not built a Trim specific add-in to retrieve more information all they can see is a cryptic principalId.