MenuAction

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

Value members

Concrete methods

def activate(): View

禁用或激活一个或多个模块

禁用或激活一个或多个模块

override protected
def editSetting(menu: Menu): Unit
Definition Classes
RestfulAction
def exportToXml(): View
override
def getQueryBuilder: OqlBuilder[Menu]
Definition Classes
EntityAction
def importFromXml(): View
override protected
def indexSetting(): Unit
Definition Classes
RestfulAction
override
def info(@param("id") id: String): View
Definition Classes
RestfulAction
@ignore
override protected
def removeAndRedirect(entities: Seq[Menu]): View
Definition Classes
RestfulAction
@ignore
override protected
def saveAndRedirect(menu: Menu): View
Definition Classes
RestfulAction
override
def search(): View
Definition Classes
RestfulAction

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
@ignore
protected
def configExport(setting: ExportSetting): Unit
Inherited from
ExportSupport
protected
def configImport(setting: ImportSetting): Unit
Inherited from
ImportSupport
protected
def convertId[ID](id: String): ID
Inherited from
EntityAction
@mapping(value = "{id}/edit")
def edit(@param("id") id: String): View
Inherited from
RestfulAction
@mapping(value = "new", view = "new,form")
def editNew(): View
Inherited from
RestfulAction
@ignore
final protected
def entityName: String
Inherited from
EntitySupport
@mapping("export")
def exportData(): View

导出

导出

Inherited from
ExportSupport
@ignore
final protected
def forward(action: To, message: String): View
Inherited from
RouteSupport
@ignore
final protected
def forward(action: To): View
Inherited from
RouteSupport
@ignore
final protected
def forward(view: String, message: String): PathView
Inherited from
RouteSupport
@ignore
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], simpleEntityName: String): E
Inherited from
EntityAction
protected
def getEntity[E <: Entity[_]](entityName: String, name: 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](entityName: String, id: Any): E
Inherited from
EntityAction
protected
def getModel(id: Serializable): Menu
Inherited from
EntityAction
protected
def getModels[E](entityName: String, ids: Iterable[_]): Seq[E]
Inherited from
EntityAction
final protected
def getPageIndex: Int
Inherited from
EntityAction
final protected
def getPageLimit: PageLimit

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

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

Inherited from
EntityAction
final protected
def getPageSize: Int
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
@ignore
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
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[_]](entity: E, entityName: String, params: Map[String, Any]): E
Inherited from
EntityAction
final protected
def populate[E <: Entity[_]](obj: E, entityName: String, simpleEntityName: String): E
Inherited from
EntityAction
final protected
def populate(entityName: String, simpleEntityName: String): Object
Inherited from
EntityAction
final protected
def populate(entityName: String): Object
Inherited from
EntityAction
final protected
def populate[E <: Entity[_]](clazz: Class[E]): E
Inherited from
EntityAction
final protected
def populate[E <: Entity[_]](obj: E, simpleEntityName: String): E
Inherited from
EntityAction
final protected
def populate[E <: Entity[_]](clazz: Class[E], simpleEntityName: String): E

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

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

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[_]](entityName: String, simpleEntityName: String): E
Inherited from
EntityAction
protected
def populateEntity(): Menu
Inherited from
EntityAction
final protected
def put(key: String, value: Any): Unit
Inherited from
ParamSupport
@ignore
final protected
def redirect(action: To, message: String): View
Inherited from
RouteSupport
@ignore
final protected
def redirect(method: String, params: String, message: String): View
Inherited from
RouteSupport
@ignore
final protected
def redirect(method: String, message: String): View
Inherited from
RouteSupport
@ignore
final protected
def redirect(method: String): View
Inherited from
RouteSupport
@mapping(method = "delete")
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
@mapping(method = "post")
def save(): 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
@ignore
protected
def simpleEntityName: String
Inherited from
EntitySupport
@ignore
final protected
def to(uri: String): To
Inherited from
RouteSupport
@ignore
final protected
def to(uri: String, params: String): ToURI
Inherited from
RouteSupport
@ignore
final protected
def to(clazz: Class[_], method: String, params: String): ToClass
Inherited from
RouteSupport
@ignore
final protected
def to(clazz: Class[_], method: String): ToClass
Inherited from
RouteSupport
@ignore
final protected
def to(obj: Object, method: String, params: String): ToClass
Inherited from
RouteSupport
@ignore
final protected
def to(obj: Object, method: String): ToClass
Inherited from
RouteSupport
@mapping(value = "{id}", method = "put")
def update(@param("id") id: String): View
Inherited from
RestfulAction

Concrete fields

var appService: AppService
var domainService: DomainService

Inherited fields

var config: PropertyConfig
Inherited from
EntityAction
var entityDao: EntityDao
Inherited from
EntityAction
@noreflect
val entityType: Class[Menu]
Inherited from
EntitySupport
protected
val logger: Logger
Inherited from
Logging