| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- package jnpf.service;
- import jnpf.base.service.SuperService;
- import jnpf.entity.TableExampleEntity;
- import jnpf.model.tableexample.PaginationTableExample;
- import java.util.List;
- /**
- * 表格示例数据
- *
- * @author JNPF开发平台组
- * @version V3.1.0
- * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
- * @date 2019年9月26日 上午9:18
- */
- public interface TableExampleService extends SuperService<TableExampleEntity> {
- /**
- * 列表
- *
- * @return
- */
- List<TableExampleEntity> getList();
- /**
- * 列表(带关键字)
- *
- * @param keyword 关键字
- * @return
- */
- List<TableExampleEntity> getList(String keyword);
- /**
- * 列表
- *
- * @param typeId 类别主键
- * @param paginationTableExample
- * @return
- */
- List<TableExampleEntity> getList(String typeId, PaginationTableExample paginationTableExample);
- /**
- * 列表
- *
- * @param paginationTableExample
- * @return
- */
- List<TableExampleEntity> getList(PaginationTableExample paginationTableExample);
- /**
- * 信息
- *
- * @param id 主键值
- * @return
- */
- TableExampleEntity getInfo(String id);
- /**
- * 删除
- *
- * @param entity 实体对象
- */
- void delete(TableExampleEntity entity);
- /**
- * 创建
- *
- * @param entity 实体对象
- * @return
- */
- void create(TableExampleEntity entity);
- /**
- * 更新
- *
- * @param id 主键值
- * @param entity 实体对象
- * @return
- */
- boolean update(String id, TableExampleEntity entity);
- /**
- * 行编辑
- *
- * @param entity 实体对象
- * @return
- */
- boolean rowEditing(TableExampleEntity entity);
- }
|