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.3KB

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