@RequestMapping(value = "/{id:.+}", method = RequestMethod.DELETE)
 @ApiOperation(value = "Deletes the Employee instance associated with the given id.")
 public boolean deleteEmployee(@PathVariable("id") Integer id) throws EntityNotFoundException {
   LOGGER.debug("Deleting Employee with id: {}", id);
   Employee deleted = employeeService.delete(id);
   return deleted != null;
 }
 @RequestMapping(value = "/count", method = RequestMethod.GET)
 @ApiOperation(value = "Returns the total count of Employee instances.")
 public Long countAllEmployees() {
   LOGGER.debug("counting Employees");
   Long count = employeeService.countAll();
   return count;
 }
 @RequestMapping(value = "/{id:.+}", method = RequestMethod.GET)
 @ApiOperation(value = "Returns the Employee instance associated with the given id.")
 public Employee getEmployee(@PathVariable("id") Integer id) throws EntityNotFoundException {
   LOGGER.debug("Getting Employee with id: {}", id);
   Employee instance = employeeService.findById(id);
   LOGGER.debug("Employee details with id: {}", instance);
   return instance;
 }
 @RequestMapping(value = "/", method = RequestMethod.POST)
 @ApiOperation(value = "Creates a new Employee instance.")
 public Employee createEmployee(@RequestBody Employee instance) {
   LOGGER.debug("Create Employee with information: {}", instance);
   instance = employeeService.create(instance);
   LOGGER.debug("Created Employee with information: {}", instance);
   return instance;
 }
 @RequestMapping(value = "/{id:.+}", method = RequestMethod.PUT)
 @ApiOperation(value = "Updates the Employee instance associated with the given id.")
 public Employee editEmployee(@PathVariable("id") Integer id, @RequestBody Employee instance)
     throws EntityNotFoundException {
   LOGGER.debug("Editing Employee with id: {}", instance.getId());
   instance.setId(id);
   instance = employeeService.update(instance);
   LOGGER.debug("Employee details with id: {}", instance);
   return instance;
 }
 @RequestMapping(value = "/", method = RequestMethod.GET)
 @ApiOperation(value = "Returns the list of Employee instances.")
 public Page<Employee> getEmployees(Pageable pageable) {
   LOGGER.debug("Rendering Employees list");
   return employeeService.findAll(pageable);
 }
 @RequestMapping(value = "/search", method = RequestMethod.POST)
 @ApiOperation(value = "Returns the list of Employee instances matching the search criteria.")
 public Page<Employee> findEmployees(Pageable pageable, @RequestBody QueryFilter[] queryFilters) {
   LOGGER.debug("Rendering Employees list");
   return employeeService.findAll(queryFilters, pageable);
 }