Dear all,
I am using aspects to add additional information to instances of my content types. For example, there is an aspect "website" that can be applied to the instances of my content types "Person", "Institution", "Public Database", etc.
Here's my question: I need a way to quickly list all content instances that have, for example, the aspect "website" and the category "Switzerland". Can I do this using for instance the JavaScript API? Does it scale well?
Alternatively, I could add categorization to my content instances: If the instance has an aspect "website" it also has the category "website". In this way, I could use the Category API to do the search (and this will scale well, I guess). Drawback: How can I make sure that aspect "website" and category "website" are always added/removed together?
Or does Alfresco provide a way to "link" aspects and categories together in this sense? (I see a routine with the promising name getAllClassificationAspects() in the API but have no idea what it does.)
Many thanks for any hint!
Kaspar