Adem,
In NotificationPostBAPI class you can see there is a method called setParameters() which initiate the loop for setting NotifItemParameter(). I would suggest please override setParameters() and call NotifItemParameter(). It will give you the value of "i".
Hope this helps you.
Ajitesh