Grails Framework
目錄
1
簡介
2
入門
3
從 Grails 3.3.x 升級
4
組態
5
命令列
6
應用程式設定檔
7
物件關聯對應 (GORM)
8
Web 層
9
特質
10
REST
11
非同步程式設計
12
驗證
13
服務層
14
靜態類型檢查和編譯
15
測試
16
國際化
17
安全性
18
外掛程式
19
Grails 和 Spring
20
腳手架
21
部署
22
為 Grails 做出貢獻
快速參考
(
快速參考
)
改進此文件
套件
目的
執行 Grails 執行階段的封裝階段。這在其他腳本使用時特別有用。
範例
grails package
快速參考
(
隱藏
)
命令列
用法
bug-report
clean
compile
console
create-app
create-command
create-controller
create-domain-class
create-functional-test
create-hibernate-cfg-xml
create-integration-test
create-interceptor
create-plugin
create-profile
create-script
create-service
create-taglib
create-unit-test
dependency-report
docs
generate-all
generate-controller
generate-views
help
install-templates
list-plugins
list-profiles
package-plugin
套件
plugin-info
profile-info
run-app
run-command
run-script
schema-export
shell
stats
stop-app
test-app
war
約束
用法
attributes
bindable
blank
creditCard
email
inList
matches
max
maxSize
min
minSize
notEqual
nullable
range
scale
size
獨特
網址
驗證器
小工具
控制器
用法
actionName
allowedMethods
bindData
chain
controllerName
defaultAction
errors
flash
forward
grailsApplication
hasErrors
header
namespace
params
redirect
render
request
respond
response
responseFormats
scope
servletContext
session
withForm
withFormat
資料庫對應
用法
autoImport
autoTimestamp
batchSize
cache
cascade
column
comment
discriminator
dynamicInsert
dynamicUpdate
fetch
id
ignoreNotFound
indexColumn
insertable
joinTable
lazy
order
sort
table
type
updateable
version
網域類別
用法
addTo
attach
belongsTo
clearErrors
constraints
count
countBy
createCriteria
delete
discard
embedded
errors
executeQuery
executeUpdate
exists
fetchMode
find
findAll
findAllBy
findAllWhere
findBy
findOrCreateBy
findOrCreateWhere
findOrSaveBy
findOrSaveWhere
findWhere
first
get
getAll
getDirtyPropertyNames
getPersistentValue
hasErrors
hasMany
hasOne
ident
instanceOf
isAttached
isDirty
last
list
listOrderBy
load
lock
mapWith
mappedBy
mapping
merge
namedQueries
properties
read
refresh
removeFrom
save
transients
validate
where
whereAny
withCriteria
withNewSession
withSession
withTransaction
外掛程式
用法
網址對應
編解碼器
控制器
核心
dataSource
domainClasses
hibernate
i18n
記錄
鷹架
服務
servlets
服務
用法
scope
transactional
Servlet API
request
response
servletContext
session