Example:- searchCriteria(jsonObject)
1.
jsonObject : { employeeId :"xx" ,
employeeName : "yy",
employeeDOB : "zz",
}
2.
jsonObject : {
SSN:"xx"
}
3.
jsonObject : { agentId:"xx",
agentType: "yy"
}
So basically, we want to build a custom search component(which can be reused for other search methods,only parameters will change) where we will pass jsonObject
which may change according to point1,point2,point3.