You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TBCodeService.java 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. package vn.azteam.tpf.service;
  2. import vn.azteam.tpf.service.dto.TBCodeDTO;
  3. import java.util.List;
  4. import java.util.Optional;
  5. /**
  6. * Service Interface for managing TBCode.
  7. */
  8. public interface TBCodeService {
  9. TBCodeDTO save(TBCodeDTO tBCodeDTO);
  10. List<TBCodeDTO> saveAll(List<TBCodeDTO> tBCodeDTOs);
  11. Optional<TBCodeDTO> findOne(Long id);
  12. Optional<TBCodeDTO> updateStatusTBCode(TBCodeDTO tBCodeDTO);
  13. // /**
  14. // * Update crop's PIC
  15. // * @param cropPersonInChargeDTO
  16. // * @return the persisted entity
  17. // */
  18. // Optional<TBCropDTO> updateCropPersonInCharge(CropPersonInChargeDTO cropPersonInChargeDTO);
  19. //
  20. // /**
  21. // * Get all the tBCrops.
  22. // *
  23. // * @param pageable the pagination information
  24. // * @return the list of entities
  25. // */
  26. // Page<TBCropDTO> findAll(Pageable pageable);
  27. //
  28. // /**
  29. // * Get all the TBCrop with eager load of many-to-many relationships.
  30. // *
  31. // * @return the list of entities
  32. // */
  33. // Page<TBCropDTO> findAllWithEagerRelationships(Pageable pageable);
  34. //
  35. // /**
  36. // * Get the "id" tBCrop.
  37. // *
  38. // * @param id the id of the entity
  39. // * @return the entity
  40. // */
  41. // Optional<TBCropDTO> findOne(Long id);
  42. //
  43. // /**
  44. // * Delete the "id" tBCrop.
  45. // *
  46. // * @param id the id of the entity
  47. // */
  48. // void delete(Long id);
  49. //
  50. // /**
  51. // * Search for the tBCrop corresponding to the query.
  52. // *
  53. // * @param query the query of the search
  54. // *
  55. // * @param pageable the pagination information
  56. // * @return the list of entities
  57. // */
  58. // Page<TBCropDTO> search(String query, Pageable pageable);
  59. //
  60. // /**
  61. // * Search for the tBCrop corresponding to the query, areaId or netHouseId.
  62. // *
  63. // * @param query the query of the search
  64. // * @param areaId the areaId of the search
  65. // * @param netHouseId the netHouseId of the search
  66. // *
  67. // * @param pageable the pagination information
  68. // * @return the list of entities
  69. // */
  70. // Page<TBCropDTO> searchCrop(String query, Long areaId, Long netHouseId, Pageable pageable);
  71. //
  72. // List<TBCustomerHasCropTypeDTO> getAllCustomerHasCropTypeByCustomerAndCropType(Long customerId, Long cropTypeId);
  73. //
  74. // List<Long> getListActivityTypeIdByByCustomerAndCropType(Long customerId, Long cropTypeId);
  75. //
  76. // List<String> getListActivityTypeNameByByCustomerAndCropType(Long customerId, Long cropTypeId);
  77. //
  78. // List<Long> getAllCropIdByCustomer(Long customerId);
  79. }