cancel
Showing results for 
Search instead for 
Did you mean: 

New NodeService

ghernando
Champ in-the-making
Champ in-the-making
I'd like to be able to reference content from another system within Alfresco.
On the forums I've seen a reference to the idea of creating a custom NodeService via 'spoofing'.  Are there any simple examples of how to create a new NodeService?
Which areas of the source code should I focus on looking at?
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

For an example of a 'spoofed' node service look at org.alfresco.repo.version.NodeServiceImpl.

Hope this helps,
Roy

ghernando
Champ in-the-making
Champ in-the-making
Thanks for the reference.

I have checked it out.
I apologize for not digging more independently to find out why, but I wonder why Versions have a special NodeService implementation.
I would think there might be an Aspect added to contain version-specific information as well as some sort of associations between all versions.

I also have come across dbNodeServiceImpl as an example.