public function getAllowedCandidateList()
 {
     $accessFlowStateMachineService = new AccessFlowStateMachineService();
     $allowedCandidateIdList = $accessFlowStateMachineService->getAllowedCandidateList(InterviewerUserRoleDecorator::INTERVIEWER, $this->getEmployeeNumber());
     $existingIdList = $this->user->getAllowedCandidateList();
     if (is_null($allowedCandidateIdList)) {
         return $existingIdList;
     } else {
         $allowedCandidateIdList = array_unique(array_merge($allowedCandidateIdList, $existingIdList));
         return $allowedCandidateIdList;
     }
 }
 public function getAllowedCandidateListToDelete()
 {
     $accessFlowStateMachineService = new AccessFlowStateMachineService();
     $allowedCandidateIdListToDelete = $accessFlowStateMachineService->getAllowedCandidateList(AdminUserRoleDecorator::ADMIN_USER, null);
     $existingIdList = $this->user->getAllowedCandidateListToDelete();
     if (is_null($allowedCandidateIdListToDelete)) {
         return $existingIdList;
     } else {
         $allowedCandidateIdListToDelete = array_unique(array_merge($allowedCandidateIdListToDelete, $existingIdList));
         return $allowedCandidateIdListToDelete;
     }
 }
 public function getAllowedCandidateListToDelete()
 {
     $accessFlowStateMachineService = new AccessFlowStateMachineService();
     $allowedCandidateIdListToDelete = $accessFlowStateMachineService->getAllowedCandidateList(HiringManagerUserRoleDecorator::HIRING_MANAGER, $this->getEmployeeNumber());
     $existingIdList = $this->user->getAllowedCandidateListToDelete();
     if (is_null($allowedCandidateIdListToDelete)) {
         return $existingIdList;
     } else {
         $allowedCandidateIdListToDelete = array_unique(array_merge($allowedCandidateIdListToDelete, $existingIdList));
         return $allowedCandidateIdListToDelete;
     }
 }