简体   繁体   中英

Relationship between 2 folders - Alfresco

I'm reading the book AlfrescoCMIS, and the book refers a creation of a relationship between two folders in Alfresco. I run the code and I don't understand what is in fact this relationship, can anyone help me to understand what is a relationship between two folders or between two files?

A relationship or association is a link between two objects. A concrete example is "related documents". Suppose you create a PDF in your CMIS repository and that PDF is related to N other PDFs. You'd like to be able to ask that PDF for all of its related documents. So, one way to implement that is to create a "related documents" relationship between the source PDF and all of its related PDFs.

Relationships are typed, so you can define any kind of relationship that makes sense for your requirements.

My example describes a relationship between documents, but relationships can be created between folders and between folders and documents as well.

For a more detailed discussion on relationships, please refer to relationships section in the CMIS specification .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM