content: package com.example.demo.service;
  
  import com.example.demo.domain.JobHistory;
  import java.util.Optional;
  import org.springframework.data.domain.Page;
  import org.springframework.data.domain.Pageable;
  
  /**
   * Service Interface for managing {@link JobHistory}.
   */
  public interface JobHistoryService {
      /**
       * Save a jobHistory.
       *
       * @param jobHistory the entity to save.
       * @return the persisted entity.
       */
      JobHistory save(JobHistory jobHistory);
  
      /**
       * Partially updates a jobHistory.
       *
       * @param jobHistory the entity to update partially.
       * @return the persisted entity.
       */
      Optional<JobHistory> partialUpdate(JobHistory jobHistory);
  
      /**
       * Get all the jobHistories.
       *
       * @param pageable the pagination information.
       * @return the list of entities.
       */
      Page<JobHistory> findAll(Pageable pageable);
  
      /**
       * Get the "id" jobHistory.
       *
       * @param id the id of the entity.
       * @return the entity.
       */
      Optional<JobHistory> findOne(Long id);
  
      /**
       * Delete the "id" jobHistory.
       *
       * @param id the id of the entity.
       */
      void delete(Long id);
  }
  