org
.
beangle
.
webmvc
.
entity
.
action
RestfulAction
Related Doc:
package action
abstract
class
RestfulAction
[
T <:
Entity
[_]
]
extends
ActionSupport
with
EntityAction
[
T
]
Linear Supertypes
EntityAction
[
T
],
EntitySupport
[
T
],
ActionSupport
,
Logging
,
ParamSupport
,
RouteSupport
,
MessageSupport
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
RestfulAction
EntityAction
EntitySupport
ActionSupport
Logging
ParamSupport
RouteSupport
MessageSupport
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
RestfulAction
()
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
actionErrors
:
List
[
String
]
Attributes
protected
Definition Classes
MessageSupport
Annotations
@ignore
()
final
def
actionMessages
:
List
[
String
]
Attributes
protected
Definition Classes
MessageSupport
Annotations
@ignore
()
final
def
addError
(
msgKey:
String
,
args:
Any
*
)
:
Unit
Attributes
protected
Definition Classes
MessageSupport
final
def
addFlashError
(
msgKey:
String
,
args:
Any
*
)
:
Unit
Attributes
protected
Definition Classes
MessageSupport
final
def
addFlashMessage
(
msgKey:
String
,
args:
Any
*
)
:
Unit
Attributes
protected
Definition Classes
MessageSupport
final
def
addMessage
(
msgKey:
String
,
args:
Any
*
)
:
Unit
Attributes
protected
Definition Classes
MessageSupport
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
config
:
PropertyConfig
Definition Classes
EntityAction
def
convertId
[
ID
]
(
id:
String
)
:
ID
Attributes
protected
Definition Classes
EntityAction
def
edit
(
id:
String
)
:
String
Annotations
@mapping
()
def
editNew
()
:
String
Annotations
@mapping
()
def
editSetting
(
entity:
T
)
:
Unit
Attributes
protected
var
entityDao
:
EntityDao
Definition Classes
EntityAction
var
entityMetaData
:
EntityMetadata
Definition Classes
EntityAction
final
def
entityName
:
String
Definition Classes
EntityAction
Annotations
@ignore
()
val
entityType
:
Class
[
T
]
Definition Classes
EntitySupport
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
forward
(
action:
To
,
message:
String
)
:
View
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
forward
(
action:
To
)
:
View
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
forward
(
view:
String
,
message:
String
)
:
String
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
forward
(
view:
String
)
:
String
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
get
[
T
]
(
name:
String
,
clazz:
Class
[
T
]
)
:
Option
[
T
]
Attributes
protected
Definition Classes
ParamSupport
final
def
get
[
T
]
(
paramName:
String
,
defaultValue:
T
)
:
T
Attributes
protected
Definition Classes
ParamSupport
final
def
get
(
paramName:
String
)
:
Option
[
String
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getAll
[
T
]
(
paramName:
String
,
clazz:
Class
[
T
]
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
Iterable
[
T
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getAll
(
paramName:
String
)
:
Iterable
[
Any
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getAttribute
[
T
]
(
name:
String
,
clazz:
Class
[
T
]
)
:
T
Attributes
protected
Definition Classes
ParamSupport
final
def
getAttribute
(
name:
String
)
:
Any
Attributes
protected
Definition Classes
ParamSupport
final
def
getBoolean
(
name:
String
,
defaultValue:
Boolean
)
:
Boolean
Attributes
protected
Definition Classes
ParamSupport
final
def
getBoolean
(
name:
String
)
:
Option
[
Boolean
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getDate
(
name:
String
)
:
Option
[
Date
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getDateTime
(
name:
String
)
:
Option
[
Date
]
Attributes
protected
Definition Classes
ParamSupport
def
getEntity
[
E
]
(
entityClass:
Class
[
E
]
,
shortName:
String
)
:
E
Attributes
protected
Definition Classes
EntityAction
def
getEntity
[
E <:
Entity
[_]
]
(
entityName:
String
,
name:
String
)
:
E
Attributes
protected
Definition Classes
EntityAction
final
def
getFloat
(
name:
String
)
:
Option
[
Float
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getId
[
E
]
(
name:
String
,
clazz:
Class
[
E
]
)
:
Option
[
E
]
Attributes
protected
Definition Classes
EntitySupport
def
getId
(
name:
String
)
:
Option
[
String
]
Attributes
protected
Definition Classes
EntitySupport
final
def
getInt
(
name:
String
,
defaultValue:
Int
)
:
Int
Attributes
protected
Definition Classes
ParamSupport
final
def
getInt
(
name:
String
)
:
Option
[
Int
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getLong
(
name:
String
)
:
Option
[
Long
]
Attributes
protected
Definition Classes
ParamSupport
def
getModel
[
E
]
(
entityName:
String
,
id:
Any
)
:
E
Attributes
protected
Definition Classes
EntityAction
def
getModel
(
id:
Serializable
)
:
T
Attributes
protected
Definition Classes
EntityAction
def
getModels
[
E
]
(
entityName:
String
,
ids:
Iterable
[_]
)
:
Seq
[
E
]
Attributes
protected
Definition Classes
EntityAction
final
def
getPageIndex
:
Int
Attributes
protected
Definition Classes
EntityAction
final
def
getPageLimit
:
PageLimit
从request的参数或者cookie中(参数优先)取得分页信息
从request的参数或者cookie中(参数优先)取得分页信息
Attributes
protected
Definition Classes
EntityAction
final
def
getPageSize
:
Int
Attributes
protected
Definition Classes
EntityAction
def
getQueryBuilder
()
:
OqlBuilder
[
T
]
Attributes
protected
Definition Classes
EntityAction
final
def
getShort
(
name:
String
)
:
Option
[
Short
]
Attributes
protected
Definition Classes
ParamSupport
final
def
getText
(
key:
String
,
defaultValue:
String
,
args:
Any
*
)
:
String
Definition Classes
MessageSupport
final
def
getText
(
aTextName:
String
)
:
String
Definition Classes
MessageSupport
final
def
getTextInternal
(
msgKey:
String
,
args:
Any
*
)
:
String
Attributes
protected
Definition Classes
MessageSupport
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
id
[
E
]
(
name:
String
,
clazz:
Class
[
E
]
)
:
E
Attributes
protected
Definition Classes
EntitySupport
def
id
(
name:
String
)
:
String
Attributes
protected
Definition Classes
EntitySupport
Annotations
@ignore
()
final
def
ids
[
T
]
(
name:
String
,
clazz:
Class
[
T
]
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
List
[
T
]
Attributes
protected
Definition Classes
EntitySupport
def
index
()
:
String
def
indexSetting
()
:
Unit
Attributes
protected
def
info
(
id:
String
)
:
String
Annotations
@mapping
()
final
def
intId
(
shortName:
String
)
:
Int
Attributes
protected
Definition Classes
EntitySupport
final
def
intIds
(
shortName:
String
)
:
List
[
Int
]
Attributes
protected
Definition Classes
EntitySupport
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
logger
:
Logger
Attributes
protected
Definition Classes
Logging
final
def
longId
(
shortName:
String
)
:
Long
Attributes
protected
Definition Classes
EntitySupport
final
def
longIds
(
shortName:
String
)
:
List
[
Long
]
Attributes
protected
Definition Classes
EntitySupport
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
populate
[
E <:
Entity
[_]
]
(
entity:
E
,
params:
Map
[
String
,
AnyRef
]
)
:
E
Attributes
protected
Definition Classes
EntityAction
final
def
populate
[
E <:
Entity
[_]
]
(
entity:
E
,
entityName:
String
,
params:
Map
[
String
,
Any
]
)
:
E
Attributes
protected
Definition Classes
EntityAction
final
def
populate
[
E <:
Entity
[_]
]
(
obj:
E
,
entityName:
String
,
shortName:
String
)
:
E
Attributes
protected
Definition Classes
EntityAction
final
def
populate
(
entityName:
String
,
shortName:
String
)
:
AnyRef
Attributes
protected
Definition Classes
EntityAction
final
def
populate
(
entityName:
String
)
:
AnyRef
Attributes
protected
Definition Classes
EntityAction
final
def
populate
[
E <:
Entity
[_]
]
(
clazz:
Class
[
E
]
)
:
E
Attributes
protected
Definition Classes
EntityAction
final
def
populate
[
E <:
Entity
[_]
]
(
obj:
E
,
shortName:
String
)
:
E
Attributes
protected
Definition Classes
EntityAction
final
def
populate
[
E <:
Entity
[_]
]
(
clazz:
Class
[
E
]
,
shortName:
String
)
:
E
将request中的参数设置到clazz对应的bean。
将request中的参数设置到clazz对应的bean。
Attributes
protected
Definition Classes
EntityAction
final
def
populateConditions
(
builder:
OqlBuilder
[_]
,
exclusiveAttrNames:
String
)
:
Unit
Attributes
protected
Definition Classes
EntityAction
final
def
populateConditions
(
builder:
OqlBuilder
[_]
)
:
Unit
Attributes
protected
Definition Classes
EntityAction
def
populateEntity
[
E
]
(
entityClass:
Class
[
E
]
,
shortName:
String
)
:
E
Attributes
protected
Definition Classes
EntityAction
def
populateEntity
[
E <:
Entity
[_]
]
(
entityName:
String
,
shortName:
String
)
:
E
Attributes
protected
Definition Classes
EntityAction
def
populateEntity
()
:
T
Attributes
protected
Definition Classes
EntityAction
final
def
put
(
key:
String
,
value:
Any
)
:
Unit
Attributes
protected
Definition Classes
ParamSupport
final
def
redirect
(
action:
To
,
message:
String
)
:
View
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
redirect
(
method:
String
,
params:
String
,
message:
String
)
:
View
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
redirect
(
method:
String
,
message:
String
)
:
View
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
redirect
(
method:
String
)
:
View
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
def
remove
()
:
View
Annotations
@mapping
()
def
remove
[
E
]
(
obj:
E
)
:
Unit
Attributes
protected
Definition Classes
EntityAction
def
remove
[
E
]
(
list:
Seq
[
E
]
)
:
Unit
Attributes
protected
Definition Classes
EntityAction
def
removeAndRedirect
(
entities:
Seq
[
T
]
)
:
View
Attributes
protected
Definition Classes
EntityAction
Annotations
@ignore
()
def
save
()
:
View
Annotations
@mapping
()
def
saveAndRedirect
(
entity:
T
)
:
View
Attributes
protected
Annotations
@ignore
()
def
saveOrUpdate
[
E
]
(
obj:
E
)
:
Unit
Attributes
protected
Definition Classes
EntityAction
def
saveOrUpdate
[
E
]
(
list:
Iterable
[
E
]
)
:
Unit
Attributes
protected
Definition Classes
EntityAction
def
search
()
:
String
def
shortName
:
String
Attributes
protected
Definition Classes
EntityAction
Annotations
@ignore
()
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
to
(
uri:
String
)
:
ToURL
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
to
(
uri:
String
,
params:
String
)
:
ToURL
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
to
(
clazz:
Class
[_]
,
method:
String
,
params:
String
)
:
ToClass
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
to
(
clazz:
Class
[_]
,
method:
String
)
:
ToClass
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
to
(
obj:
AnyRef
,
method:
String
,
params:
String
)
:
ToClass
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
final
def
to
(
obj:
AnyRef
,
method:
String
)
:
ToClass
Attributes
protected
Definition Classes
RouteSupport
Annotations
@ignore
()
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
update
(
id:
String
)
:
View
Annotations
@mapping
()
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
EntityAction
[
T
]
Inherited from
EntitySupport
[
T
]
Inherited from
ActionSupport
Inherited from
Logging
Inherited from
ParamSupport
Inherited from
RouteSupport
Inherited from
MessageSupport
Inherited from
AnyRef
Inherited from
Any
Ungrouped