I looked at FileFolderService as an alternative, but since I really only wanted to copy the Properties, and set new content, and that FileFolderService returns a FileInfo object makes it add some additional steps…it seemed like it (FileFolderService.create or .copy) was trying to make things simpler, but in my case it would actually make things more complex. I appreciate the tip, though.
With further testing, I found that the actual/current issue was if you copy (all) the properties from one node to another, you necessarily copy all the sys-namespace properties, and many of those are, of course, unique and system-defined. One would THINK that even if I supply these properties as part of the nodeService.create( ), it would ignore them and generate its own – for example, passing a DBID to any node-create method should be ignored IMHO, but simply filtering-out all sys-namespace properties in my code seems to be working now (more testing needed, for sure).
But you absolutely touch-upon another issue I have not thoroughly resolved, and would think would be provided by some Alfresco API – but I haven't found it: Ensuring unique node-names within a folder (or within that part of the tree in general). Is there any util/method provided to pass a folder nodeRef (parent) and a "proposed name", and have Alfresco either validate that the name is unique, or return a "possible, unique alternative" (hopefully based upon the "proposed name"?
Thanks very much for the quick reply!
-AJ