AnsweredAssumed Answered

How to intercept add/get content and metadata calls?

Question asked by nenad982 on Sep 4, 2018
Latest reply on Sep 20, 2018 by hardik1512

Hello everybody,

 

I need advice.

 

I would like in Alfresco v5.1.g to intercept all calls (in  Java API) which will create/get content and create/get its metadata.  So my questions are:

 

1. Is this possible at all?

1. Is there a single place in Java API where these calls can be intercepted and where to look at?

 

Since now I found that:

 

org.alfresco.repo.node.db.DbNodeServiceImpl#createNode

org.alfresco.repo.contentAbstractContentWriter#putContent

 

will be used in this communication.

 

Does anybody have some advice related to this?

 

Thanks in advance

Outcomes