EntitySupport

org.beangle.web.action.support.EntitySupport
trait EntitySupport[T]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

protected def getId(name: String): Option[String]
final protected def getId[E](name: String, clazz: Class[E]): Option[E]

Get entity's id from shortname.id,shortnameId,id

Get entity's id from shortname.id,shortnameId,id

Attributes

protected def id(name: String): String
final protected def id[E](name: String, clazz: Class[E]): E

Get entity's id from shortname.id,shortnameId,id

Get entity's id from shortname.id,shortnameId,id

Attributes

final protected def ids[X](name: String, clazz: Class[X]): List[X]

Get entity's id array from parameters shortname.id,shortname.ids,shortnameIds

Get entity's id array from parameters shortname.id,shortname.ids,shortnameIds

Attributes

final protected def intId(shortName: String): Int
final protected def intIds(shortName: String): List[Int]

Get entity's long id array from parameters shortname.id,shortname.ids,shortnameIds

Get entity's long id array from parameters shortname.id,shortname.ids,shortnameIds

Attributes

final protected def longId(shortName: String): Long
final protected def longIds(shortName: String): List[Long]

Get entity's long id array from parameters shortname.id,shortname.ids,shortnameIds

Get entity's long id array from parameters shortname.id,shortname.ids,shortnameIds

Attributes

protected def simpleEntityName: String

Concrete fields

val entityClass: Class[T]