|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.jeecgframework.poi.excel.imports.base.ImportBaseService
public class ImportBaseService
导入基础和,普通方法和Sax共用
| 构造方法摘要 | |
|---|---|
ImportBaseService()
|
|
| 方法摘要 | |
|---|---|
void |
addEntityToMap(String targetId,
Field field,
ExcelImportEntity excelEntity,
Class<?> pojoClass,
List<Method> getMethods,
Map<String,ExcelImportEntity> temp)
把这个注解解析放到类型对象中 |
void |
getAllExcelField(String targetId,
Field[] fields,
Map<String,ExcelImportEntity> excelParams,
List<ExcelCollectionParams> excelCollection,
Class<?> pojoClass,
List<Method> getMethods)
获取需要导出的全部字段 |
void |
getExcelField(String targetId,
Field field,
ExcelImportEntity excelEntity,
Excel excel,
Class<?> pojoClass)
|
void |
getExcelFieldList(String targetId,
Field[] fields,
Class<?> pojoClass,
Map<String,ExcelImportEntity> temp,
List<Method> getMethods)
|
String |
getExcelName(String exportName,
String targetId)
判断在这个单元格显示的名称 |
Object |
getFieldBySomeMethod(List<Method> list,
Object t)
|
ExcelVerifyEntity |
getImportVerify(Field field)
获取导入校验参数 |
String |
getSaveExcelUrl(ImportParams params,
Class<?> pojoClass)
获取保存的Excel 的真实路径 |
void |
saveThisExcel(ImportParams params,
Class<?> pojoClass,
boolean isXSSFWorkbook,
org.apache.poi.ss.usermodel.Workbook book)
|
void |
setFieldBySomeMethod(List<Method> setMethods,
Object object,
Object value)
多个get 最后再set |
void |
setValues(ExcelImportEntity entity,
Object object,
Object value)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ImportBaseService()
| 方法详细信息 |
|---|
public void addEntityToMap(String targetId,
Field field,
ExcelImportEntity excelEntity,
Class<?> pojoClass,
List<Method> getMethods,
Map<String,ExcelImportEntity> temp)
throws Exception
targetId - field - excelEntity - pojoClass - getMethods - temp -
Exceptionpublic ExcelVerifyEntity getImportVerify(Field field)
field -
public void getAllExcelField(String targetId,
Field[] fields,
Map<String,ExcelImportEntity> excelParams,
List<ExcelCollectionParams> excelCollection,
Class<?> pojoClass,
List<Method> getMethods)
throws Exception
exclusions - targetId - 目标IDfields - excelCollection -
Exception
public void getExcelField(String targetId,
Field field,
ExcelImportEntity excelEntity,
Excel excel,
Class<?> pojoClass)
throws Exception
Exception
public void getExcelFieldList(String targetId,
Field[] fields,
Class<?> pojoClass,
Map<String,ExcelImportEntity> temp,
List<Method> getMethods)
throws Exception
Exception
public String getExcelName(String exportName,
String targetId)
exportName - targetId -
public Object getFieldBySomeMethod(List<Method> list,
Object t)
throws Exception
Exception
public void saveThisExcel(ImportParams params,
Class<?> pojoClass,
boolean isXSSFWorkbook,
org.apache.poi.ss.usermodel.Workbook book)
throws Exception
Exception
public String getSaveExcelUrl(ImportParams params,
Class<?> pojoClass)
throws Exception
params - pojoClass -
Exception
public void setFieldBySomeMethod(List<Method> setMethods,
Object object,
Object value)
throws Exception
setMethods - object -
Exception
public void setValues(ExcelImportEntity entity,
Object object,
Object value)
throws Exception
entity - object - value -
Exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||