PopulateHelper

org.beangle.webmvc.support.helper.PopulateHelper

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

final def getType(clazz: Class[_]): EntityType
final def getType(obj: Entity[_]): EntityType
def populate[T <: Entity[_]](clazz: Class[T], name: String): T

将request中的参数设置到clazz对应的bean。

将request中的参数设置到clazz对应的bean。

Attributes

def populate[T <: Entity[_]](clazz: Class[T]): T
def populate(entityType: EntityType, name: String): Object
def populate[T <: Entity[_]](obj: T, entityType: EntityType, name: String): T
def populate[T <: Entity[_]](obj: T, params: Map[String, Any]): T
def populate[T <: Entity[_]](obj: T, entityType: EntityType, params: Map[String, Any]): T

Concrete fields

var populator: ConvertPopulator