cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get node UUID of original and transformed content?

svolosh
Champ in-the-making
Champ in-the-making
Hi All,
am using 3.4 Community edition.
I need to make some content transformer that can feedback (response) to some JMS server with UUID of old content and new one created (got from transformation).
So, ive implemented new one content transformer and configured it. Now I have some transformer class such as next:

public class MyProxyContentTransformer extends ProxyContentTransformer {
………..
@Override
    protected void transformInternal(ContentReader reader, ContentWriter writer, TransformationOptions options) throws Exception {
    // doOwnTransform
    //
    super.transformInternal(reader, writer, options);
    // do send to JMS server
}
……….
}
This transformer assigned to some rule, so transformation does automatically.
But I need to know content node UUID! From ContentReader or ContentWriter we can just get 'store' path with some store UUID but not real NODE UID.
QUESTION: How can I get node UUID of original and transformed content from MyProxyContentTransformer  class?
1 REPLY 1

svolosh
Champ in-the-making
Champ in-the-making
Guys, you're so busy, I know it, but please, maybe you just show me the right way?