TableExampleService.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package jnpf.service;
  2. import jnpf.base.service.SuperService;
  3. import jnpf.entity.TableExampleEntity;
  4. import jnpf.model.tableexample.PaginationTableExample;
  5. import java.util.List;
  6. /**
  7. * 表格示例数据
  8. *
  9. * @author JNPF开发平台组
  10. * @version V3.1.0
  11. * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
  12. * @date 2019年9月26日 上午9:18
  13. */
  14. public interface TableExampleService extends SuperService<TableExampleEntity> {
  15. /**
  16. * 列表
  17. *
  18. * @return
  19. */
  20. List<TableExampleEntity> getList();
  21. /**
  22. * 列表(带关键字)
  23. *
  24. * @param keyword 关键字
  25. * @return
  26. */
  27. List<TableExampleEntity> getList(String keyword);
  28. /**
  29. * 列表
  30. *
  31. * @param typeId 类别主键
  32. * @param paginationTableExample
  33. * @return
  34. */
  35. List<TableExampleEntity> getList(String typeId, PaginationTableExample paginationTableExample);
  36. /**
  37. * 列表
  38. *
  39. * @param paginationTableExample
  40. * @return
  41. */
  42. List<TableExampleEntity> getList(PaginationTableExample paginationTableExample);
  43. /**
  44. * 信息
  45. *
  46. * @param id 主键值
  47. * @return
  48. */
  49. TableExampleEntity getInfo(String id);
  50. /**
  51. * 删除
  52. *
  53. * @param entity 实体对象
  54. */
  55. void delete(TableExampleEntity entity);
  56. /**
  57. * 创建
  58. *
  59. * @param entity 实体对象
  60. * @return
  61. */
  62. void create(TableExampleEntity entity);
  63. /**
  64. * 更新
  65. *
  66. * @param id 主键值
  67. * @param entity 实体对象
  68. * @return
  69. */
  70. boolean update(String id, TableExampleEntity entity);
  71. /**
  72. * 行编辑
  73. *
  74. * @param entity 实体对象
  75. * @return
  76. */
  77. boolean rowEditing(TableExampleEntity entity);
  78. }