This CodeLet add already implemented "Pass ids as arguments to page" on VBO. Place this CodeLet to your custom module, you can see the customization on Bulk Operations field on the image.