Admin panel content type query filters

Awesome. i went down this road but was not sure. How can you distinguish which query is manipulated in the handler? this is where i got stuck. Like i would need to have custom query filter per custom type? I could look up the url params?