/**
  *
  * @param CandidateSearchParameters $searchParam
  * @return CandidateSearchParameters
  */
 public function getSearchParamsBindwithFormData(CandidateSearchParameters $searchParam)
 {
     $searchParam->setJobTitleCode($this->getValue('jobTitle'));
     $searchParam->setVacancyId($this->getValue('jobVacancy'));
     $searchParam->setHiringManagerId($this->getValue('hiringManager'));
     $searchParam->setStatus($this->getValue('status'));
     $searchParam->setCandidateId($this->getValue('selectedCandidate'));
     $searchParam->setModeOfApplication($this->getValue('modeOfApplication'));
     $dateApplication = $this->getValue('dateApplication');
     $searchParam->setFromDate($dateApplication['from']);
     $searchParam->setToDate($dateApplication['to']);
     $searchParam->setKeywords($this->getValue('keywords'));
     $searchParam->setCandidateName($this->getValue('candidateName'));
     return $searchParam;
 }