Skip navigation links
A C D E F G H I J K M N P R S T U 

A

ApiBaseController - Class in com.yunfinal.api.tpl.json
 
ApiBaseController() - Constructor for class com.yunfinal.api.tpl.json.ApiBaseController
 
ApiConfig - Class in com.yunfinal.api.tpl
com.yunfinal.api.tpl.ApiConfig
ApiConfig() - Constructor for class com.yunfinal.api.tpl.ApiConfig
 
ApiController - Class in com.yunfinal.api.tpl.json
JSON—UI 模版渲染
ApiController() - Constructor for class com.yunfinal.api.tpl.json.ApiController
 
ApiHandler - Class in com.yunfinal.api.tpl.json
对 /sql/ 下的 JF文件做定向到 TplController中
ApiHandler() - Constructor for class com.yunfinal.api.tpl.json.ApiHandler
 
ApiJsonInterceptor - Class in com.yunfinal.api.tpl.json
 
ApiJsonInterceptor() - Constructor for class com.yunfinal.api.tpl.json.ApiJsonInterceptor
 

C

com.yunfinal.api.tpl - package com.yunfinal.api.tpl
 
com.yunfinal.api.tpl.json - package com.yunfinal.api.tpl.json
 
com.yunfinal.api.tpl.kit - package com.yunfinal.api.tpl.kit
 
com.yunfinal.api.tpl.template - package com.yunfinal.api.tpl.template
 
com.yunfinal.api.tpl.template.directive - package com.yunfinal.api.tpl.template.directive
 
com.yunfinal.api.tpl.template.directive.db - package com.yunfinal.api.tpl.template.directive.db
 
compareToZERO(Object) - Method in class com.yunfinal.api.tpl.template.TemplateFn
和 obj.compareTo(BigDecimal.ZERO) 比较
config(Engine) - Static method in class com.yunfinal.api.tpl.EngineConfig
 
configConstant(Constants) - Method in class com.yunfinal.api.tpl.ApiConfig
 
configEngine(Engine) - Method in class com.yunfinal.api.tpl.ApiConfig
 
configHandler(Handlers) - Method in class com.yunfinal.api.tpl.ApiConfig
 
configInterceptor(Interceptors) - Method in class com.yunfinal.api.tpl.ApiConfig
 
configPlugin(Plugins) - Method in class com.yunfinal.api.tpl.ApiConfig
 
configRoute(Routes) - Method in class com.yunfinal.api.tpl.ApiConfig
 
contains(String, String) - Method in class com.yunfinal.api.tpl.template.TemplateFn
 

D

data() - Method in class com.yunfinal.api.tpl.json.ApiController
渲染SQL文件,数据统一存放在 resources/sql/*下面,name是相对路径
db() - Static method in class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
DbConfigName - Class in com.yunfinal.api.tpl.template.directive.db
切换数据源 #dbConfigName(main) 调用其他查询工具 #end
DbConfigName() - Constructor for class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
dbSave(String, Object) - Method in class com.yunfinal.api.tpl.kit.TplKit
 
dbSaveOrUpdateById(String, Object) - Method in class com.yunfinal.api.tpl.kit.TplKit
根据ID识别 是否是 dbSave 还是 dbUpdate
dbSaves(String, String, Object) - Method in class com.yunfinal.api.tpl.kit.TplKit
 
DbTxDirective - Class in com.yunfinal.api.tpl.template.directive.db
Db.use().tx( 数据库事务 #dbTx() 包裹代码 手动回滚: #set(DbTxResult=false) #end
DbTxDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.db.DbTxDirective
 
dbUpdate(String, Object) - Method in class com.yunfinal.api.tpl.kit.TplKit
 
dbUpdates(String, String, Object) - Method in class com.yunfinal.api.tpl.kit.TplKit
 

E

EngineConfig - Class in com.yunfinal.api.tpl
 
EngineConfig() - Constructor for class com.yunfinal.api.tpl.EngineConfig
 
eq(Object, Object) - Method in class com.yunfinal.api.tpl.template.TemplateFn
 
EvalDirective - Class in com.yunfinal.api.tpl.template.directive
Enjoy指令扩展eval指令动态化 #eval(val)
EvalDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.EvalDirective
 
exceptionName - Variable in class com.yunfinal.api.tpl.template.directive.TryDirective
 
exec(Env, Scope, Writer) - Method in class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
exec(Env, Scope, Writer) - Method in class com.yunfinal.api.tpl.template.directive.db.DbTxDirective
 
exec(Env, Scope, Writer) - Method in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 
exec(Env, Scope, Writer) - Method in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
exec(Env, Scope, Writer) - Method in class com.yunfinal.api.tpl.template.directive.EvalDirective
 
exec(Env, Scope, Writer) - Method in class com.yunfinal.api.tpl.template.directive.TryDirective
 
exprArray - Variable in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 

F

FindDirective - Class in com.yunfinal.api.tpl.template.directive.db
#sqlPara 指令方便定义SqlPara https://www.jfinal.com/doc/5-13
FindDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.db.FindDirective
 
FindFirstDirective - Class in com.yunfinal.api.tpl.template.directive.db
#sqlPara 指令方便定义SqlPara https://www.jfinal.com/doc/5-13
FindFirstDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.db.FindFirstDirective
 

G

get() - Static method in class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
getBaseTemplatePath() - Static method in class com.yunfinal.api.tpl.EngineConfig
 
getData(DbPro, SqlPara) - Method in class com.yunfinal.api.tpl.template.directive.db.FindDirective
 
getData(DbPro, SqlPara) - Method in class com.yunfinal.api.tpl.template.directive.db.FindFirstDirective
 
getData(DbPro, SqlPara) - Method in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 
getData(DbPro, SqlPara) - Method in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
getData(DbPro, SqlPara) - Method in class com.yunfinal.api.tpl.template.directive.db.UpdateDirective
 
getEnd() - Method in class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
getEndDate() - Method in class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
getName(Controller) - Static method in class com.yunfinal.api.tpl.json.ApiHandler
 
getStart() - Method in class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
getStartDate() - Method in class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
getTemplate(String) - Static method in class com.yunfinal.api.tpl.template.TemplateKit
获取一个模板对象

H

handle(String, HttpServletRequest, HttpServletResponse, boolean[]) - Method in class com.yunfinal.api.tpl.json.ApiHandler
 
hasEnd() - Method in class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
hasEnd() - Method in class com.yunfinal.api.tpl.template.directive.db.DbTxDirective
 
hasEnd() - Method in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
hasEnd() - Method in class com.yunfinal.api.tpl.template.directive.TryDirective
 

I

intercept(Invocation) - Method in class com.yunfinal.api.tpl.json.ApiJsonInterceptor
 
isContentTypeJson() - Method in class com.yunfinal.api.tpl.json.ApiBaseController
 
isGroupBySql - Variable in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 

J

json(int, String, Object) - Method in class com.yunfinal.api.tpl.json.ApiBaseController
 
jsonData() - Method in class com.yunfinal.api.tpl.json.ApiBaseController
注意本方法调用,并不会直接结束你的函数,需要使用 return
jsonData(Object) - Method in class com.yunfinal.api.tpl.json.ApiBaseController
注意本方法调用,并不会直接结束你的函数,需要使用 return 返回JSON参数
jsonData(String, Object) - Method in class com.yunfinal.api.tpl.json.ApiBaseController
 
jsonError() - Method in class com.yunfinal.api.tpl.json.ApiBaseController
注意本方法调用,并不会直接结束你的函数,如果需要不执行你后续的代码,应该配合使用 return 结束方法jsonError();这样子
jsonError(int, String) - Method in class com.yunfinal.api.tpl.json.ApiBaseController
注意本方法调用,并不会直接结束你的函数,如果需要不执行你后续的代码,应该配合使用 return 结束方法jsonError(500, "XX");这样子
jsonError(int, String, Object) - Method in class com.yunfinal.api.tpl.json.ApiBaseController
 
jsonPage(Page<Record>) - Method in class com.yunfinal.api.tpl.json.ApiBaseController
注意本方法调用,并不会直接结束你的函数,需要使用 return

K

key_pageNumber - Static variable in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 
key_pageSize - Static variable in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 

M

main(String[]) - Static method in class StartApp
 
MyDateKit - Class in com.yunfinal.api.tpl.kit
自动识别日期对象,字符串自动转Date,Date自动转字符串 (Date 转字符串 时 不用做判断,可直接传入,会自动返回null,节省编写代码)
MyDateKit() - Constructor for class com.yunfinal.api.tpl.kit.MyDateKit
 

N

name - Variable in class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
name - Variable in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
name - Variable in class com.yunfinal.api.tpl.template.directive.TryDirective
 
notEq(Object, Object) - Method in class com.yunfinal.api.tpl.template.TemplateFn
 
now() - Method in class com.yunfinal.api.tpl.template.TemplateFn
 

P

pageNumber - Variable in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 
pageSize - Variable in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 
PaginateDirective - Class in com.yunfinal.api.tpl.template.directive.db
#sqlPara 指令方便定义SqlPara https://www.jfinal.com/doc/5-13 https://jfinal.com/doc/5-6
PaginateDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 

R

render(String, Map<Object, Object>) - Static method in class com.yunfinal.api.tpl.template.TemplateKit
根据指定模板,返回渲染后的字符串

S

set(Object, String, Object) - Method in class com.yunfinal.api.tpl.template.TemplateFn
方便模板中 Record/Map/Controller对象赋值后,不输出任何内容,如: #(set(x, "name", r.name))
setDefaultName(String) - Method in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
setDefaultName(String) - Method in class com.yunfinal.api.tpl.template.directive.TryDirective
 
setEnd(String) - Method in class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
setEngine(Engine) - Static method in class com.yunfinal.api.tpl.template.TemplateKit
 
setExprList(ExprList) - Method in class com.yunfinal.api.tpl.template.directive.db.DbConfigName
 
setExprList(ExprList) - Method in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
setExprList(ExprList) - Method in class com.yunfinal.api.tpl.template.directive.TryDirective
 
setPageKey(String, String) - Static method in class com.yunfinal.api.tpl.template.directive.db.PaginateDirective
 
setStart(String) - Method in class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
splitToDate(String) - Method in class com.yunfinal.api.tpl.kit.TplKit
把字符串切割为TplDateSlot,start 和 end
SQL_PARA_KEY - Static variable in class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
SqlParaDirective - Class in com.yunfinal.api.tpl.template.directive.db
#sqlPara 指令方便定义SqlPara https://www.jfinal.com/doc/5-13
SqlParaDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.db.SqlParaDirective
 
StartApp - Class in <Unnamed>
启动项目,右键菜单》 Run
StartApp() - Constructor for class StartApp
 

T

TemplateFn - Class in com.yunfinal.api.tpl.template
Shared Method 扩展
TemplateFn() - Constructor for class com.yunfinal.api.tpl.template.TemplateFn
 
TemplateKit - Class in com.yunfinal.api.tpl.template
模板集中管理配置
TemplateKit() - Constructor for class com.yunfinal.api.tpl.template.TemplateKit
 
to(Object) - Static method in class com.yunfinal.api.tpl.kit.MyDateKit
 
to(Object, String) - Static method in class com.yunfinal.api.tpl.kit.MyDateKit
 
toJson(Object) - Method in class com.yunfinal.api.tpl.template.TemplateFn
 
toRecord(Object) - Method in class com.yunfinal.api.tpl.kit.TplKit
转换为Record对象
toRecord() - Method in class com.yunfinal.api.tpl.kit.TplKit
 
TplDateSlot() - Constructor for class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
TplDateSlot(String[]) - Constructor for class com.yunfinal.api.tpl.kit.TplKit.TplDateSlot
 
TplKit - Class in com.yunfinal.api.tpl.kit
配合UI 操作 的常用 公共函数
TplKit() - Constructor for class com.yunfinal.api.tpl.kit.TplKit
 
TplKit.TplDateSlot - Class in com.yunfinal.api.tpl.kit
UI经常会使用 一个值包含开始和结束日期,所以做一个区间日期 包装类,方便使用
TryDirective - Class in com.yunfinal.api.tpl.template.directive
#try(默认值Exception可设置) 包裹代码 #end #if(Exception) #(e.getMessage()) #end
TryDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.TryDirective
 

U

UpdateDirective - Class in com.yunfinal.api.tpl.template.directive.db
#sqlPara 指令方便定义SqlPara https://www.jfinal.com/doc/5-13
UpdateDirective() - Constructor for class com.yunfinal.api.tpl.template.directive.db.UpdateDirective
 
A C D E F G H I J K M N P R S T U 
Skip navigation links

Copyright © 2021. All rights reserved.