Class RepoEventFilterHandler
java.lang.Object
org.alfresco.hxi_connector.live_ingester.adapters.messaging.repository.filter.RepoEventFilterHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleAndGetAllowed(org.apache.camel.Exchange exchange, Filter filter) Method handles event/node filtering.
-
Constructor Details
-
RepoEventFilterHandler
public RepoEventFilterHandler()
-
-
Method Details
-
handleAndGetAllowed
Method handles event/node filtering.
Returns whether node is allowed to be further processed.
In case of update event:
- When current version of the node is allowed but previous version was denied, then the type of the event is altered to 'Created'.
- When current version of the node is denied but previous version was allowed, then the type of the event is altered to 'Deleted'.
- Parameters:
exchange- Camel Exchange Objectfilter- Filter configuration
-