JSF (and PrimeFaces) How to pass parameter to a method in ManagedBean

I have an Employee object I am showing in inputtext. For example, the firstname of the employee is shown in an inputtext. When the value of this firstname changes it calls a method. Before this is ...