EventAction

class EventAction extends RestfulAction[SessionEvent]
class RestfulAction[SessionEvent]
trait ImportSupport[SessionEvent]
trait ExportSupport[SessionEvent]
trait EntityAction[SessionEvent]
trait EntitySupport[SessionEvent]
trait ActionSupport
trait Logging
trait ParamSupport
trait RouteSupport
trait MessageSupport
class Object
trait Matchable
class Any

Value members

Inherited methods

final protected def attribute[T](name: String, clazz: Class[T]): T
Inherited from:
ParamSupport
final protected def attribute(name: String): Any
Inherited from:
ParamSupport
protected def configExport(setting: ExportSetting): Unit
Inherited from:
ExportSupport
protected def configImport(setting: ImportSetting): Unit
Inherited from:
ImportSupport
protected def convertId[ID](entityType: EntityType, id: String): ID
Inherited from:
EntityAction
def edit(id: String): View
Inherited from:
RestfulAction
def editNew(): View
Inherited from:
RestfulAction
protected def editSetting(entity: SessionEvent): Unit
Inherited from:
RestfulAction
def exportData(): View

导出

导出

Inherited from:
ExportSupport
final protected def forward(action: To, message: String): View
Inherited from:
RouteSupport
final protected def forward(action: To): View
Inherited from:
RouteSupport
final protected def forward(view: String, message: String): PathView
Inherited from:
RouteSupport
final protected def forward(view: String): PathView
Inherited from:
RouteSupport
final protected def get[T](name: String, clazz: Class[T]): Option[T]
Inherited from:
ParamSupport
final protected def get[T](paramName: String, defaultValue: T): T
Inherited from:
ParamSupport
final protected def get(paramName: String): Option[String]
Inherited from:
ParamSupport
final protected def getAll[T : ClassTag](paramName: String, clazz: Class[T]): Iterable[T]
Inherited from:
ParamSupport
final protected def getAll(paramName: String): Iterable[Any]
Inherited from:
ParamSupport
final protected def getBoolean(name: String, defaultValue: Boolean): Boolean
Inherited from:
ParamSupport
final protected def getBoolean(name: String): Option[Boolean]
Inherited from:
ParamSupport
final protected def getDate(name: String): Option[LocalDate]
Inherited from:
ParamSupport
final protected def getDateTime(name: String): Option[LocalDateTime]
Inherited from:
ParamSupport
protected def getEntity[E](entityClass: Class[E], simpleName: String): E
Inherited from:
EntityAction
final protected def getFloat(name: String): Option[Float]
Inherited from:
ParamSupport
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

Inherited from:
EntitySupport
protected def getId(name: String): Option[String]
Inherited from:
EntitySupport
final protected def getInstant(name: String): Option[Instant]
Inherited from:
ParamSupport
final protected def getInt(name: String, defaultValue: Int): Int
Inherited from:
ParamSupport
final protected def getInt(name: String): Option[Int]
Inherited from:
ParamSupport
final protected def getLong(name: String): Option[Long]
Inherited from:
ParamSupport
protected def getModel[E](entityType: EntityType, id: Any): E
Inherited from:
EntityAction
protected def getModel(id: Any): T
Inherited from:
EntityAction
protected def getModels[E](entityType: EntityType, ids: Iterable[_]): Seq[E]
Inherited from:
EntityAction
final protected def getPageLimit: PageLimit

从request的参数或者cookie中(参数优先)取得分页信息

从request的参数或者cookie中(参数优先)取得分页信息

Inherited from:
EntityAction
final protected def getShort(name: String): Option[Short]
Inherited from:
ParamSupport
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

Inherited from:
EntitySupport
protected def id(name: String): String
Inherited from:
EntitySupport
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

Inherited from:
EntitySupport
def importData(): View

导入信息

导入信息

Inherited from:
ImportSupport
def importForm(): View
Inherited from:
ImportSupport
def index(): View
Inherited from:
RestfulAction
def info(id: String): View
Inherited from:
RestfulAction
final protected def intId(shortName: String): Int
Inherited from:
EntitySupport
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

Inherited from:
EntitySupport
final protected def longId(shortName: String): Long
Inherited from:
EntitySupport
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

Inherited from:
EntitySupport
final protected def populate[E <: Entity[_]](entity: E, params: Map[String, Object]): E
Inherited from:
EntityAction
final protected def populate[E <: Entity[_]](obj: E, simpleName: String): E
Inherited from:
EntityAction
final protected def populate[E <: Entity[_]](clazz: Class[E], simpleName: String): E

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

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

Inherited from:
EntityAction
final protected def populate[E <: Entity[_]](clazz: Class[E]): E
Inherited from:
EntityAction
final protected def populateConditions(builder: OqlBuilder[_], exclusiveAttrNames: String): Unit
Inherited from:
EntityAction
final protected def populateConditions(builder: OqlBuilder[_]): Unit
Inherited from:
EntityAction
protected def populateEntity[E](entityClass: Class[E], simpleEntityName: String): E
Inherited from:
EntityAction
protected def populateEntity[E <: Entity[_]](entityType: EntityType, simpleEntityName: String): E
Inherited from:
EntityAction
protected def populateEntity(): T
Inherited from:
EntityAction
final protected def put(key: String, value: Any): Unit
Inherited from:
ParamSupport
final protected def redirect(action: To, message: String): View
Inherited from:
RouteSupport
final protected def redirect(method: String, params: String, message: String): View
Inherited from:
RouteSupport
final protected def redirect(method: String, message: String): View
Inherited from:
RouteSupport
final protected def redirect(method: String): View
Inherited from:
RouteSupport
def remove(): View
Inherited from:
RestfulAction
protected def remove[E](obj: E): Unit
Inherited from:
EntityAction
protected def remove[E](list: Seq[E]): Unit
Inherited from:
EntityAction
protected def removeAndRedirect(entities: Seq[SessionEvent]): View
Inherited from:
RestfulAction
def save(): View
Inherited from:
RestfulAction
protected def saveAndRedirect(entity: SessionEvent): View
Inherited from:
RestfulAction
protected def saveOrUpdate[E](obj: E): Unit
Inherited from:
EntityAction
protected def saveOrUpdate[E](list: Iterable[E]): Unit
Inherited from:
EntityAction
def search(): View
Inherited from:
RestfulAction
protected def simpleEntityName: String
Inherited from:
EntitySupport
final protected def to(uri: String): To
Inherited from:
RouteSupport
final protected def to(uri: String, params: String): ToURI
Inherited from:
RouteSupport
final protected def to(clazz: Class[_], method: String, params: String): ToClass
Inherited from:
RouteSupport
final protected def to(clazz: Class[_], method: String): ToClass
Inherited from:
RouteSupport
final protected def to(obj: Object, method: String, params: String): ToClass
Inherited from:
RouteSupport
final protected def to(obj: Object, method: String): ToClass
Inherited from:
RouteSupport
def update(id: String): View
Inherited from:
RestfulAction

Concrete fields

var domainService: DomainService

Inherited fields

val entityClass: Class[SessionEvent]
Inherited from:
EntitySupport
var entityDao: EntityDao
Inherited from:
EntityAction
protected val logger: Logger
Inherited from:
Logging