Hi, > Thanks for the prompt reply. I need some more clarification... > >> a. Is it possible for us to identify with in the content interceptor >> the webdav command getting executed.?? > >>>Yes it is : pre/post methods are triggered before/after content to >>>be retrieved, stored (created or updated) or removed. > > So if I want to identify between the Put method and Propatch method > (both of which share the same events,eg; in the same event PreStore, > is there a way of distinguishing which Method triggered the event ...??
In this case I think it is possible : When preStore() method is called during a Propatch, NodeRevisionContent argument is null. >> b. In order to use the Content Interceptor in the multi user >> transaction environment we should be able to get a handle >> c. If the usage of the SERVICEACESSEXCEPTION inside the >> How do we get the access to the current service object. ??? > >>>ContentInterceptors could have been 'ServiceInterceptors' but they >>>are just made to react on content based events, not on service >>>based events. > > So if i trap any event say prestore method and i encounter an error, > now I am not able throw any serviceaccessexcpetion myself which needs > a Service parameter. So it means it is not much usable or is there a way ??? The code ContentInterceptors let you plug into slide does not have to instanciate ServiceAccessExceptions but only to propagate them. ServiceAccessExceptions may be instanciated by services you are calling from your code. these ones have a reference on themselves (this). Jp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
