Hey all,
I'm looking for a bit of advise on how to get what I need out from the
insert transaction events, which is no more than a transaction
listener/plugin to know the actual inserted features or at least its
feature ids.
Right now it looks like there's no way for a transaction listener to get
a handle to the inserted feature ids nor de actual inserted features, as
InsertElementHandler doesn't provide neither, nor Transaction does for
the TransactionPlugins?
As for InsertElementHandler, it wouldn't even help if it issued a
POST_INSERT event as is, since the source feature collection wouldn't
have the newly generated fids.
May be the easiest way forward would be for the
TransactionPlugin.afterTransaction(TransactionType request, boolean
committed) method to also receive the TransactionResponseType response
so implementations can get to the InsertResultsType and grab the list of
inserted feature ids?
And in the process may be also remove the
TransactionEventType.POST_INSERT constant as it looks it's not used
anywhere and it's confusing for it to be there?
TIA,
Gabriel
--
Gabriel Roldan
groldan@anonymised.com
Expert service straight from the developers