Hi kalpana,
AET is used when you want a link to database and not the way you are using.
In the same eh_onsearch method there will be some code written for get_query_result( ). Filter the result collection based on that search parameter value. Thats it.
Regards,
Bhushan