org
.
beangle
.
webmvc
.
entity
.
action
EntityAction
Related Doc:
package action
trait
EntityAction
[
T <:
Entity
[_]
]
extends
RouteSupport
with
ParamSupport
with
EntitySupport
[
T
] with
Logging
Linear Supertypes
Logging
,
EntitySupport
[
T
],
ParamSupport
,
RouteSupport
,
MessageSupport
,
AnyRef
,
Any
Known Subclasses
RestfulAction
,
RestfulService
Ordering
Alphabetic
By inheritance
Inherited
EntityAction
Logging
EntitySupport
ParamSupport
RouteSupport
MessageSupport
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
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
final
def
attribute
[
T
]
(
name:
String
,
clazz:
Class
[
T
]
)
:
T
Attributes
protected
Definition Classes
ParamSupport
final
def
attribute
(
name:
String
)
:
Any
Attributes
protected
Definition Classes
ParamSupport
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
config
:
PropertyConfig
def
convertId
[
ID
]
(
id:
String
)
:
ID
Attributes
protected
var
entityDao
:
EntityDao
var
entityMetaData
:
EntityMetadata
final
def
entityName
:
String
Definition Classes
EntitySupport
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
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
]
,
simpleEntityName:
String
)
:
E
Attributes
protected
def
getEntity
[
E <:
Entity
[_]
]
(
entityName:
String
,
name:
String
)
:
E
Attributes
protected
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
def
getModel
(
id:
Serializable
)
:
T
Attributes
protected
def
getModels
[
E
]
(
entityName:
String
,
ids:
Iterable
[_]
)
:
Seq
[
E
]
Attributes
protected
final
def
getPageIndex
:
Int
Attributes
protected
final
def
getPageLimit
:
PageLimit
从request的参数或者cookie中(参数优先)取得分页信息
从request的参数或者cookie中(参数优先)取得分页信息
Attributes
protected
final
def
getPageSize
:
Int
Attributes
protected
def
getQueryBuilder
()
:
OqlBuilder
[
T
]
Attributes
protected
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
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
final
def
populate
[
E <:
Entity
[_]
]
(
entity:
E
,
entityName:
String
,
params:
Map
[
String
,
Any
]
)
:
E
Attributes
protected
final
def
populate
[
E <:
Entity
[_]
]
(
obj:
E
,
entityName:
String
,
simpleEntityName:
String
)
:
E
Attributes
protected
final
def
populate
(
entityName:
String
,
simpleEntityName:
String
)
:
AnyRef
Attributes
protected
final
def
populate
(
entityName:
String
)
:
AnyRef
Attributes
protected
final
def
populate
[
E <:
Entity
[_]
]
(
clazz:
Class
[
E
]
)
:
E
Attributes
protected
final
def
populate
[
E <:
Entity
[_]
]
(
obj:
E
,
simpleEntityName:
String
)
:
E
Attributes
protected
final
def
populate
[
E <:
Entity
[_]
]
(
clazz:
Class
[
E
]
,
simpleEntityName:
String
)
:
E
将request中的参数设置到clazz对应的bean。
将request中的参数设置到clazz对应的bean。
Attributes
protected
final
def
populateConditions
(
builder:
OqlBuilder
[_]
,
exclusiveAttrNames:
String
)
:
Unit
Attributes
protected
final
def
populateConditions
(
builder:
OqlBuilder
[_]
)
:
Unit
Attributes
protected
def
populateEntity
[
E
]
(
entityClass:
Class
[
E
]
,
simpleEntityName:
String
)
:
E
Attributes
protected
def
populateEntity
[
E <:
Entity
[_]
]
(
entityName:
String
,
simpleEntityName:
String
)
:
E
Attributes
protected
def
populateEntity
()
:
T
Attributes
protected
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
[
E
]
(
obj:
E
)
:
Unit
Attributes
protected
def
remove
[
E
]
(
list:
Seq
[
E
]
)
:
Unit
Attributes
protected
def
removeAndRedirect
(
entities:
Seq
[
T
]
)
:
View
Attributes
protected
Annotations
@ignore
()
def
saveOrUpdate
[
E
]
(
obj:
E
)
:
Unit
Attributes
protected
def
saveOrUpdate
[
E
]
(
list:
Iterable
[
E
]
)
:
Unit
Attributes
protected
def
simpleEntityName
:
String
Attributes
protected
Definition Classes
EntitySupport
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
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
Logging
Inherited from
EntitySupport
[
T
]
Inherited from
ParamSupport
Inherited from
RouteSupport
Inherited from
MessageSupport
Inherited from
AnyRef
Inherited from
Any
Ungrouped