ProjectSupport

org.openurp.starter.web.support.ProjectSupport
trait ProjectSupport extends ParamSupport, ServletSupport

Attributes

Graph
Supertypes
trait ServletSupport
trait ParamSupport
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def entityDao: EntityDao

Concrete methods

protected def findInProject[T <: Entity[_]](clazz: Class[T], orderBy: String)(using project: Project): Seq[T]
protected def findInSchool[T <: Entity[_]](clazz: Class[T])(using project: Project): Seq[T]
def getCodes[T <: Code](clazz: Class[T])(using project: Project): Seq[T]
protected def getConfig[T](name: String, defaultValue: T)(using project: Project): T
protected def getConfig(f: Feature)(using project: Project): Any
protected def getDeparts(using project: Project): Seq[Department]
final protected def getProject: Project
protected def getSchoolDeparts(using project: Project): Seq[Department]
protected def getSemester(using project: Project): Semester
protected def getUser[A](clazz: Class[A]): A
protected def queryByDepart[T](query: OqlBuilder[T], departPath: String): OqlBuilder[T]

Inherited methods

final protected def attribute[T](name: String, clazz: Class[T]): T

Attributes

Inherited from:
ParamSupport
final protected def attribute(name: String): Any

Attributes

Inherited from:
ParamSupport
final protected def get[T](name: String, clazz: Class[T]): Option[T]

Attributes

Inherited from:
ParamSupport
final protected def get[T](paramName: String, defaultValue: T): T

Attributes

Inherited from:
ParamSupport
final protected def get(paramName: String): Option[String]

Attributes

Inherited from:
ParamSupport
final protected def getAll[T : ClassTag](paramName: String, clazz: Class[T]): Iterable[T]

Attributes

Inherited from:
ParamSupport
final protected def getAll(paramName: String): Iterable[Any]

Attributes

Inherited from:
ParamSupport
final protected def getBoolean(name: String, defaultValue: Boolean): Boolean

Attributes

Inherited from:
ParamSupport
final protected def getBoolean(name: String): Option[Boolean]

Attributes

Inherited from:
ParamSupport
final protected def getDate(name: String): Option[LocalDate]

Attributes

Inherited from:
ParamSupport
final protected def getDateTime(name: String): Option[LocalDateTime]

Attributes

Inherited from:
ParamSupport
final protected def getFloat(name: String): Option[Float]

Attributes

Inherited from:
ParamSupport
def getId[E](name: String, clazz: Class[E]): Option[E]

Attributes

Inherited from:
ParamSupport
def getId(name: String): Option[String]

Attributes

Inherited from:
ParamSupport
def getIds[X](name: String, clazz: Class[X]): List[X]

Attributes

Inherited from:
ParamSupport
def getIds(name: String): List[String]

Attributes

Inherited from:
ParamSupport
final protected def getInstant(name: String): Option[Instant]

Attributes

Inherited from:
ParamSupport
final protected def getInt(name: String, defaultValue: Int): Int

Attributes

Inherited from:
ParamSupport
final protected def getInt(name: String): Option[Int]

Attributes

Inherited from:
ParamSupport
def getIntId(shortName: String): Int

Attributes

Inherited from:
ParamSupport
def getIntIds(shortName: String): List[Int]

Attributes

Inherited from:
ParamSupport
final protected def getLong(name: String): Option[Long]

Attributes

Inherited from:
ParamSupport
def getLongId(shortName: String): Long

Attributes

Inherited from:
ParamSupport
def getLongIds(shortName: String): List[Long]

Attributes

Inherited from:
ParamSupport
final protected def getShort(name: String): Option[Short]

Attributes

Inherited from:
ParamSupport
final protected def put(key: String, value: Any): Unit

Attributes

Inherited from:
ParamSupport
final protected def request: HttpServletRequest

Attributes

Inherited from:
ServletSupport
final protected def response: HttpServletResponse

Attributes

Inherited from:
ServletSupport

Concrete fields

var codeService: CodeService
var configService: ProjectConfigService
var semesterService: SemesterService