As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I can get a list of aspects applied to a node by using NodeService#getAspects(). Now how do I distinguish between mandatory and non-mandatory aspects?
What will I have to do to search properties added through aspects?
When programatically creating a node that has at least one mandatory aspect associated with it, is it the responsibility of the caller to add the mandatory aspect(s)? Or does this happen automatically (inside Alfresco code)? If the latter, then how and where? What happens if a mandatory aspect is not added to a node?