Thanks mroger for you response.
When you say "from parent folder only" I think you mean from "primary" parent only, right?
To be sure I have understood, an example: in Alfresco Web Client, if I run a script that invoke "space.addNode(nodeRef)" for n different spaces, after execution I could see the same document (nodeRef) in all n different spaces and I would like that document inherits from all parent spaces rather than "primary" parent only, if the flag "inherits" is set to "true" on document profile. Is it possible to change this behaviour? Via Alfresco Java API?