You can... but as I said, I don't have that! The only way you can tell if it's a content retrieval being made is if NodeRevisionDescriptors is null. I only have NodeRevisionDescriptor (note singular!).
-----Original Message----- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 09:00 To: Slide Users Mailing List Subject: Re: custom ContentInterceptor and postRetrieveContent() Stuart MacPherson wrote: > I have written a custom ContentInterceptor, and as per the instructions I am > able to differentiate between the retrieval of content and the retrieval of > a descriptor when postRetrieveContent() is called (i.e. in the passed > parameters, if revisionDescriptors is null, it's a content retrieval, and if > revisionContent is null then it's a descriptor retrieval). Only problem is, > I want to do some stuff to the descriptors of a file after it has been > retrieved. and as such I need its URI. but I have no way of getting it! All > that is passed to postRetrieveContent() in that instance is the > NodeRevisionDescriptor, NodeRevisionContent and slideToken NONE of which I > can get the URI from! Hmm, have not checked it, yet, but I thought you can get the URI from NodeRevisionDescriptors using getUri() which should be passed to postRetrieveContent() as well. Can't you? Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
