Trait

net.liftweb.mapper

MetaMegaProtoUser

Related Doc: package mapper

Permalink

trait MetaMegaProtoUser[ModelType <: MegaProtoUser[ModelType]] extends KeyedMetaMapper[Long, ModelType] with proto.ProtoUser

Mix this trait into the the Mapper singleton for User and you get a bunch of user functionality including password reset, etc.

Self Type
MetaMegaProtoUser[ModelType] with ModelType
Linear Supertypes
proto.ProtoUser, KeyedMetaMapper[Long, ModelType], KeyedMapper[Long, ModelType], BaseKeyedMapper, MetaMapper[ModelType], Mapper[ModelType], SourceInfo, Serializable, Serializable, BaseMapper, FieldContainer, BaseMetaMapper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MetaMegaProtoUser
  2. ProtoUser
  3. KeyedMetaMapper
  4. KeyedMapper
  5. BaseKeyedMapper
  6. MetaMapper
  7. Mapper
  8. SourceInfo
  9. Serializable
  10. Serializable
  11. BaseMapper
  12. FieldContainer
  13. BaseMetaMapper
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type AnyBound = T forSome {type T}

    Permalink
    Definition Classes
    MetaMapper
  2. case class FieldHolder(name: String, method: Method, field: MappedField[_, A]) extends Product with Serializable

    Permalink
    Definition Classes
    MetaMapper
  3. type FieldPF = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Permalink
    Definition Classes
    Mapper
  4. trait FieldPointerBridge extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  5. type FieldPointerType = MappedField[_, (MetaMegaProtoUser.this)#TheUserType]

    Permalink

    What's a field pointer for the underlying CRUDify

    What's a field pointer for the underlying CRUDify

    Definition Classes
    MetaMegaProtoUser → ProtoUser
  6. type KeyedMapperType = ModelType

    Permalink
    Definition Classes
    KeyedMapperBaseKeyedMapper
  7. type MapperType = ModelType

    Permalink
    Definition Classes
    MapperBaseMapper
  8. case class MenuItem extends Product with Serializable

    Permalink
    Definition Classes
    ProtoUser
  9. class MyPointer extends (MetaMegaProtoUser.this)#FieldPointerBridge

    Permalink
    Attributes
    protected
  10. class MyUserBridge extends (MetaMegaProtoUser.this)#UserBridge

    Permalink

    Bridges from TheUserType to methods used in this class

    Bridges from TheUserType to methods used in this class

    Attributes
    protected
  11. type OtherMapper = KeyedMapper[_, _]

    Permalink
    Definition Classes
    MetaMapper
  12. type OtherMetaMapper = KeyedMetaMapper[_, _]

    Permalink
    Definition Classes
    MetaMapper
  13. type Q = MappedForeignKey[(MetaMegaProtoUser.this)#AnyBound, ModelType, OO] with MappedField[(MetaMegaProtoUser.this)#AnyBound, ModelType] forSome {type OO <: KeyedMapper[(MetaMegaProtoUser.this)#AnyBound, OO]}

    Permalink
    Definition Classes
    KeyedMetaMapper
  14. type RealType = ModelType

    Permalink
    Definition Classes
    MetaMapperBaseMetaMapper
  15. type TheKeyType = Long

    Permalink
    Definition Classes
    KeyedMapperBaseKeyedMapper
  16. type TheUserType = ModelType

    Permalink
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  17. trait UserBridge extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser

Abstract Value Members

  1. abstract def getSingleton: KeyedMetaMapper[Long, ModelType]

    Permalink
    Definition Classes
    KeyedMapperMapper
  2. abstract def primaryKeyField: MappedField[Long, ModelType] with IndexedField[Long]

    Permalink
    Definition Classes
    KeyedMapperBaseKeyedMapper

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val ItemList: List[(MetaMegaProtoUser.this)#MenuItem]

    Permalink
    Definition Classes
    ProtoUser
  5. final def _dbTableNameLC: String

    Permalink

    The table name, to lower case...

    The table name, to lower case... ensures that it works on all DBs

    Definition Classes
    MetaMapperBaseMetaMapper
  6. def actionsAfterSignup(theUser: (MetaMegaProtoUser.this)#TheUserType, func: () ⇒ Nothing): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  7. def addEndStuffs(in: String, params: List[QueryParam[ModelType]], conn: SuperConnection): (String, Box[Long], Box[Long])

    Permalink
    Attributes
    protected
    Definition Classes
    MetaMapper
  8. def addFormSnippet(html: NodeSeq): NodeSeq

    Permalink

    Base add form snippet.

    Base add form snippet. Fetches object from addSnippetSetup and invokes addSnippetCallback when the form is submitted.

    Definition Classes
    KeyedMetaMapper
  9. def addSnippetCallback(obj: ModelType): Unit

    Permalink

    Default callback behavior of the add snippet.

    Default callback behavior of the add snippet. Called when the user presses submit. Saves the passed in object.

    obj

    mapped object of this metamapper's type

    Definition Classes
    KeyedMetaMapper
  10. def addSnippetSetup: ModelType

    Permalink

    Default setup behavior for the add snippet.

    Default setup behavior for the add snippet. Creates a new mapped object.

    returns

    new mapped object

    Definition Classes
    KeyedMetaMapper
  11. object addlQueryParams extends RequestVar[List[QueryParam[A]]]

    Permalink
    Definition Classes
    MetaMapper
  12. def afterCommit: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  13. def afterCreate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  14. def afterDelete: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  15. def afterSave: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  16. def afterSchemifier: Unit

    Permalink
    Definition Classes
    KeyedMetaMapperMetaMapperBaseMetaMapper
  17. def afterUpdate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  18. def afterValidation: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  19. def afterValidationOnCreate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  20. def afterValidationOnUpdate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  21. def allFieldNames(): Seq[(String, SourceFieldMetadata)]

    Permalink

    Get a list of all the fields

    Get a list of all the fields

    returns

    a list of all the fields

    Definition Classes
    Mapper → SourceInfo
  22. def allFields: Seq[BaseField]

    Permalink
    Definition Classes
    Mapper → FieldContainer
  23. def appendFieldToStrings(in: ModelType): String

    Permalink
    Definition Classes
    MetaMapper
  24. def appendFieldTransform(transform: CssSel): Unit

    Permalink
    Definition Classes
    Mapper
  25. def asHtml(toLine: ModelType): NodeSeq

    Permalink
    Definition Classes
    MetaMapper
  26. def asHtml: NodeSeq

    Permalink
    Definition Classes
    Mapper
  27. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  28. def asJs(actual: ModelType): JsExp

    Permalink
    Definition Classes
    MetaMapper
  29. def asJs: JsExp

    Permalink

    Convert the model to a JavaScript object

    Convert the model to a JavaScript object

    Definition Classes
    Mapper
  30. def asSafeJs(actual: ModelType, f: KeyObfuscator): JsExp

    Permalink
    Definition Classes
    KeyedMetaMapper
  31. def asSafeJs(f: KeyObfuscator): JsExp

    Permalink
    Definition Classes
    KeyedMapper
  32. def asValid: Box[ModelType]

    Permalink

    Returns the instance in a Full Box if the instance is valid, otherwise returns a Failure with the validation errors

    Returns the instance in a Full Box if the instance is valid, otherwise returns a Failure with the validation errors

    Definition Classes
    Mapper
  33. var autologinFunc: Box[() ⇒ Unit]

    Permalink
    Definition Classes
    ProtoUser
  34. def basePath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  35. def bccEmail: Box[String]

    Permalink
    Definition Classes
    ProtoUser
  36. def beforeCreate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  37. def beforeDelete: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  38. def beforeSave: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  39. def beforeSchemifier: Unit

    Permalink
    Definition Classes
    MetaMapperBaseMetaMapper
  40. def beforeUpdate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  41. def beforeValidation: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  42. def beforeValidationOnCreate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  43. def beforeValidationOnUpdate: List[(ModelType) ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapper
  44. implicit def boundedFieldToItem(in: (MappedField[String, ModelType], Int)): BoundedIndexField[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  45. implicit def buildFieldBridge(from: (MetaMegaProtoUser.this)#FieldPointerType): (MetaMegaProtoUser.this)#FieldPointerBridge

    Permalink

    Based on a FieldPointer, build a FieldPointerBridge

    Based on a FieldPointer, build a FieldPointerBridge

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  46. def buildMapper(rs: ResultSet): List[Box[(ResultSet, Int, ModelType) ⇒ Unit]]

    Permalink
    Definition Classes
    MetaMapper
  47. def buildSelectString(fields: Seq[SelectableField], conn: SuperConnection, by: QueryParam[ModelType]*): (String, Box[Long], Box[Long], List[QueryParam[ModelType]])

    Permalink

    Given fields, a connection and the query parameters, build a query and return the query String, and Start or MaxRows values (depending on whether the driver supports LIMIT and OFFSET) and the complete List of QueryParams based on any synthetic query parameters calculated during the query creation.

    Given fields, a connection and the query parameters, build a query and return the query String, and Start or MaxRows values (depending on whether the driver supports LIMIT and OFFSET) and the complete List of QueryParams based on any synthetic query parameters calculated during the query creation.

    fields

    -- a Seq of the fields to be selected

    conn

    -- the SuperConnection to be used for calculating the query

    by

    -- the varg of QueryParams

    returns

    a Tuple of the Query String, Start (offset), MaxRows (limit), and the list of all query parameters including and synthetic query parameters

    Definition Classes
    MetaMapper
  48. def bulkDelete_!!(dbId: ConnectionIdentifier, by: QueryParam[ModelType]*): Boolean

    Permalink
    Definition Classes
    MetaMapper
  49. def bulkDelete_!!(by: QueryParam[ModelType]*): Boolean

    Permalink
    Definition Classes
    MetaMapper
  50. def capturePreLoginState(): () ⇒ Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  51. def changePassword: NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  52. def changePasswordMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  53. def changePasswordMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  54. lazy val changePasswordPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  55. def changePasswordSubmitButton(name: String, func: () ⇒ Any): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  56. def changePasswordSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  57. def changePasswordXhtml: Elem

    Permalink
    Definition Classes
    ProtoUser
  58. def checkNames: Unit

    Permalink
    Definition Classes
    Mapper
  59. def clean_?(toCheck: ModelType): Boolean

    Permalink

    Returns true if none of the fields are dirty

    Returns true if none of the fields are dirty

    Definition Classes
    MetaMapper
  60. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. val columnNamesForInsert: String

    Permalink
    Definition Classes
    MetaMapper
  62. def columnPrimaryKey_?(name: String): Boolean

    Permalink

    This method returns true if the named column is the primary key and it is autogenerated

    This method returns true if the named column is the primary key and it is autogenerated

    Definition Classes
    MetaMapper
  63. val columnQueriesForInsert: String

    Permalink
    Definition Classes
    MetaMapper
  64. def comparePrimaryKeys(other: ModelType): Boolean

    Permalink
    Definition Classes
    KeyedMapperMapper
  65. def computeFieldFromPointer(instance: (MetaMegaProtoUser.this)#TheUserType, pointer: (MetaMegaProtoUser.this)#FieldPointerType): Box[BaseField]

    Permalink

    Given a field pointer and an instance, get the field on that instance

    Given a field pointer and an instance, get the field on that instance

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  66. def connectionIdentifier: ConnectionIdentifier

    Permalink
    Definition Classes
    Mapper
  67. def connectionIdentifier(id: ConnectionIdentifier): ModelType

    Permalink
    Definition Classes
    Mapper
  68. def count(by: QueryParam[ModelType]*): Long

    Permalink
    Definition Classes
    MetaMapper
  69. def count: Long

    Permalink
    Definition Classes
    MetaMapper
  70. def countByInsecureSql(query: String, checkedBy: IHaveValidatedThisSQL): Long

    Permalink
    Definition Classes
    MetaMapper
  71. def countByInsecureSqlDb(dbId: ConnectionIdentifier, query: String, checkedBy: IHaveValidatedThisSQL): Long

    Permalink
    Definition Classes
    MetaMapper
  72. def countDb(dbId: ConnectionIdentifier, by: QueryParam[ModelType]*): Long

    Permalink
    Definition Classes
    MetaMapper
  73. def countryField: Box[MappedCountry[ModelType]]

    Permalink
    Definition Classes
    Mapper
  74. def create: ModelType

    Permalink
    Definition Classes
    MetaMapper
  75. def createInstance: ModelType

    Permalink
    Definition Classes
    MetaMapper
  76. def createInstance(dbId: ConnectionIdentifier, rs: ResultSet, mapFuncs: List[Box[(ResultSet, Int, ModelType) ⇒ Unit]]): ModelType

    Permalink
    Definition Classes
    MetaMapper
  77. def createInstances[T](dbId: ConnectionIdentifier, rs: ResultSet, start: Box[Long], omax: Box[Long], f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  78. def createInstances(dbId: ConnectionIdentifier, rs: ResultSet, start: Box[Long], omax: Box[Long]): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  79. def createNewUserInstance(): (MetaMegaProtoUser.this)#TheUserType

    Permalink

    Create a new instance of the User

    Create a new instance of the User

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  80. def createUserMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  81. def createUserMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  82. def crudSnippets: SnippetPF

    Permalink

    Defines the default CRUD snippets.

    Defines the default CRUD snippets. Override if you want to change the names of the snippets. Defaults are "add", "edit", and "view".

    (No, there's no D in CRUD.)

    Definition Classes
    KeyedMetaMapper
  83. def crudSnippets_?: Boolean

    Permalink

    Override this definition in your model to enable CRUD snippets for that model.

    Override this definition in your model to enable CRUD snippets for that model. Set to false by default.

    Remember to override editSnippetSetup and viewSnippetSetup as well, as the defaults are broken.

    returns

    false

    Definition Classes
    KeyedMetaMapper
  84. def currentUser: Box[(MetaMegaProtoUser.this)#TheUserType]

    Permalink
    Definition Classes
    ProtoUser
  85. def currentUserId: Box[String]

    Permalink
    Definition Classes
    ProtoUser
  86. def dbAddTable: Box[() ⇒ Unit]

    Permalink
    Definition Classes
    MetaMapperBaseMetaMapper
  87. def dbCalculateConnectionIdentifier: PartialFunction[ModelType, ConnectionIdentifier]

    Permalink
    Definition Classes
    Mapper
  88. def dbDefaultConnectionIdentifier: ConnectionIdentifier

    Permalink
    Definition Classes
    MetaMapper
  89. def dbIndexes: List[BaseIndex[ModelType]]

    Permalink
    Definition Classes
    MetaMapperBaseMetaMapper
  90. def dbName: String

    Permalink

    The name of the mapped object

    The name of the mapped object

    Definition Classes
    MetaMapperMapperBaseMapper
  91. def dbSelectDBConnectionForFind: PartialFunction[Long, ConnectionIdentifier]

    Permalink
    Definition Classes
    KeyedMetaMapper
  92. def dbStringToKey(in: String): Box[Long]

    Permalink
    Definition Classes
    KeyedMetaMapper
  93. def dbTableName: String

    Permalink

    The name of the database table.

    The name of the database table. Override this method if you want to change the table to something other than the name of the Mapper class

    Definition Classes
    MetaMapperBaseMetaMapper
  94. def db_can_delete_?: Boolean

    Permalink

    Can this model object be deleted?

    Can this model object be deleted?

    Definition Classes
    Mapper
  95. def decodeFromJSON_!(json: JObject, markFieldsAsDirty: Boolean): ModelType

    Permalink

    Decode the fields from a JSON Object.

    Decode the fields from a JSON Object. Should the fields be marked as dirty?

    Attributes
    protected
    Definition Classes
    MetaMapper
  96. def delete_!(toDelete: ModelType): Boolean

    Permalink
    Definition Classes
    MetaMapper
  97. def delete_!: Boolean

    Permalink

    Delete the model from the RDBMS

    Delete the model from the RDBMS

    Definition Classes
    Mapper
  98. def destroySessionOnLogin: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  99. def dirty_?(toTest: ModelType): Boolean

    Permalink
    Definition Classes
    MetaMapper
  100. def dirty_?: Boolean

    Permalink
    Definition Classes
    Mapper
  101. var displayFieldAsLineElement: (NodeSeq) ⇒ NodeSeq

    Permalink

    This function converts an element into the appropriate XHTML format for displaying across a line formatted block.

    This function converts an element into the appropriate XHTML format for displaying across a line formatted block. The default is <td> for use in XHTML tables. If you change this function, the change will be used for this MetaMapper unless you override the doHtmlLine method.

    Definition Classes
    MetaMapper
  102. var displayNameToHeaderElement: (String) ⇒ NodeSeq

    Permalink

    This function converts a header name into the appropriate XHTML format for displaying across the headers of a formatted block.

    This function converts a header name into the appropriate XHTML format for displaying across the headers of a formatted block. The default is <th> for use in XHTML tables. If you change this function, the change will be used for this MetaMapper unless you override the htmlHeades method

    Definition Classes
    MetaMapper
  103. lazy val doAllFieldNames: Seq[(String, SourceFieldMetadata)]

    Permalink

    Get a list of all the fields

    Get a list of all the fields

    returns

    a list of all the fields

    Definition Classes
    MetaMapper
  104. def doHtmlLine(toLine: ModelType): NodeSeq

    Permalink
    Definition Classes
    MetaMapper
  105. def doPostCommit(func: () ⇒ Unit): ModelType

    Permalink

    Append a function to perform after the commit happens

    Append a function to perform after the commit happens

    func

    - the function to perform after the commit happens

    Definition Classes
    Mapper
  106. def doWithUser[T](u: Box[(MetaMegaProtoUser.this)#TheUserType])(f: ⇒ T): T

    Permalink
    Definition Classes
    ProtoUser
  107. def edit: NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  108. def editFields: List[(MetaMegaProtoUser.this)#FieldPointerType]

    Permalink

    The list of fields presented to the user for editing

    The list of fields presented to the user for editing

    Definition Classes
    MetaMegaProtoUser → ProtoUser
  109. def editFormSnippet(html: NodeSeq): NodeSeq

    Permalink

    Base edit form snippet.

    Base edit form snippet. Fetches object from editSnippetSetup and invokes editSnippetCallback when the form is submitted.

    Definition Classes
    KeyedMetaMapper
  110. lazy val editPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  111. def editSnippetCallback(obj: ModelType): Unit

    Permalink

    Default callback behavior of the edit snippet.

    Default callback behavior of the edit snippet. Called when the user presses submit. Saves the passed in object.

    obj

    mapped object of this metamapper's type

    Definition Classes
    KeyedMetaMapper
  112. def editSnippetSetup: ModelType

    Permalink

    Default setup behavior for the edit snippet.

    Default setup behavior for the edit snippet. BROKEN! MUST OVERRIDE IF USING CRUD SNIPPETS!

    returns

    a mapped object of this metamapper's type

    Definition Classes
    KeyedMetaMapper
  113. def editSubmitButton(name: String, func: () ⇒ Any): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  114. def editSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  115. def editUserMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  116. def editUserMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  117. def editXhtml(user: (MetaMegaProtoUser.this)#TheUserType): Elem

    Permalink
    Definition Classes
    ProtoUser
  118. val elemName: String

    Permalink
    Definition Classes
    MetaMapper
  119. def emailFrom: String

    Permalink
    Definition Classes
    ProtoUser
  120. def encodeAsJSON_!(toEncode: ModelType): JObject

    Permalink

    This method will encode the instance as JSON.

    This method will encode the instance as JSON. It may reveal data in fields that might otherwise be proprietary. It should be used with caution and only exposed as a public method after a security review.

    Attributes
    protected
    Definition Classes
    MetaMapper
  121. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  122. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    KeyedMapper → AnyRef → Any
  123. def fieldByName[T](fieldName: String, actual: ModelType): Box[MappedField[T, ModelType]]

    Permalink

    Get a field by the field name

    Get a field by the field name

    fieldName

    -- the name of the field to get

    actual

    -- the instance to get the field on

    returns

    Box[The Field] (Empty if the field is not found)

    Definition Classes
    MetaMapper
  124. def fieldByName[T](fieldName: String): Box[MappedField[T, ModelType]]

    Permalink

    Find the field by name

    Find the field by name

    fieldName

    -- the name of the field to find

    returns

    Box[MappedField]

    Definition Classes
    Mapper
  125. def fieldMapperTransforms(fieldHtml: (BaseOwnedMappedField[ModelType]) ⇒ NodeSeq, mappedObject: ModelType): Seq[CssSel]

    Permalink

    A set of CssSels that can be used to bind this MetaMapper's fields.

    A set of CssSels that can be used to bind this MetaMapper's fields.

    Elements with a class matching the field name are mapped to the NodeSeq produced by the fieldHtml function that is passed in.

    So, with a MetaMapper that has three fields, name, date, and description, the resulting CSS selector transforms are:

    Seq(
      ".name" #> fieldHtml(-name field-),
      ".date" #> fieldHtml(-date field-),
      ".description" #> fieldHtml(-description field-)
    )

    Above, -name field-, -date field-, and -description field- refer to the actual MappedField objects for those fields.

    Definition Classes
    MetaMapper
  126. def fieldMapperTransforms(fieldTransform: (BaseOwnedMappedField[ModelType]) ⇒ NodeSeq): Seq[CssSel]

    Permalink

    Given a function that takes a mapper field and returns a NodeSeq for the field, return, for this mapper instance, a set of CSS selector transforms that will transform a form for those fields into a fully-bound form that will interact with this instance.

    Given a function that takes a mapper field and returns a NodeSeq for the field, return, for this mapper instance, a set of CSS selector transforms that will transform a form for those fields into a fully-bound form that will interact with this instance.

    Definition Classes
    Mapper
  127. lazy val fieldMatcher: PartialFunction[(ModelType, String), MappedField[Any, ModelType]]

    Permalink

    A partial function that takes an instance of A and a field name and returns the mapped field

    A partial function that takes an instance of A and a field name and returns the mapped field

    Definition Classes
    MetaMapper
  128. lazy val fieldNamesAsMap: Map[String, SourceFieldMetadata]

    Permalink

    Get a list of all the fields as a map

    Get a list of all the fields as a map

    returns

    a list of all the fields

    Definition Classes
    MetaMapper
  129. def fieldOrder: List[BaseOwnedMappedField[ModelType]]

    Permalink
    Definition Classes
    MetaMapper
  130. implicit def fieldToItem[T](in: MappedField[T, ModelType]): IndexItem[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  131. def fieldTransforms: Seq[CssSel]

    Permalink

    A list of CSS selector transforms that will help render the fields of this mapper object.

    A list of CSS selector transforms that will help render the fields of this mapper object.

    Definition Classes
    Mapper
  132. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  133. def find(by: QueryParam[ModelType]*): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  134. def find(dbId: ConnectionIdentifier, key: String): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  135. def find(key: String): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  136. def find(key: List[String]): Box[ModelType]

    Permalink

    Find the element based on the first element of the List

    Find the element based on the first element of the List

    Definition Classes
    KeyedMetaMapper
  137. def find(key: Any): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  138. def findAll(by: QueryParam[ModelType]*): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  139. def findAll(): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  140. def findAllByInsecureSql(query: String, checkedBy: IHaveValidatedThisSQL): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  141. def findAllByInsecureSqlDb(dbId: ConnectionIdentifier, query: String, checkedBy: IHaveValidatedThisSQL): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  142. def findAllByPreparedStatement(dbId: ConnectionIdentifier, stmt: PreparedStatement): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  143. def findAllByPreparedStatement(f: (SuperConnection) ⇒ PreparedStatement): List[ModelType]

    Permalink

    Execute a PreparedStatement and return a List of Mapper instances.

    Execute a PreparedStatement and return a List of Mapper instances. f is where the user will do the work of creating the PreparedStatement and preparing it for execution.

    f

    A function that takes a SuperConnection and returns a PreparedStatement.

    returns

    A List of Mapper instances.

    Definition Classes
    MetaMapper
  144. def findAllByPreparedStatementDb[T](dbId: ConnectionIdentifier, stmt: PreparedStatement)(f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  145. def findAllDb(dbId: ConnectionIdentifier, by: QueryParam[ModelType]*): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  146. def findAllDb(dbId: ConnectionIdentifier): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  147. def findAllFields(fields: Seq[SelectableField], by: QueryParam[ModelType]*): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  148. def findAllFieldsDb(dbId: ConnectionIdentifier, fields: Seq[SelectableField], by: QueryParam[ModelType]*): List[ModelType]

    Permalink
    Definition Classes
    MetaMapper
  149. def findApplier(name: String, inst: AnyRef): Box[(ModelType, AnyRef) ⇒ Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    MetaMapper
  150. def findByKey(key: Long): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  151. def findDb(dbId: ConnectionIdentifier, fields: Seq[SelectableField], by: QueryParam[ModelType]*): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  152. def findDb(dbId: ConnectionIdentifier, by: QueryParam[ModelType]*): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  153. def findDb(dbId: ConnectionIdentifier, key: Any): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  154. def findDbByKey(dbId: ConnectionIdentifier, fields: Seq[SelectableField], key: Long): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  155. def findDbByKey(dbId: ConnectionIdentifier, key: Long): Box[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  156. def findMap[T](by: QueryParam[ModelType]*)(f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  157. def findMapByInsecureSql[T](query: String, checkedBy: IHaveValidatedThisSQL)(f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  158. def findMapByInsecureSqlDb[T](dbId: ConnectionIdentifier, query: String, checkedBy: IHaveValidatedThisSQL)(f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  159. def findMapDb[T](dbId: ConnectionIdentifier, by: QueryParam[ModelType]*)(f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  160. def findMapFieldDb[T](dbId: ConnectionIdentifier, fields: Seq[SelectableField], by: QueryParam[ModelType]*)(f: (ModelType) ⇒ Box[T]): List[T]

    Permalink
    Definition Classes
    MetaMapper
  161. def findOrCreate(key: List[String]): ModelType

    Permalink

    Find an element by primary key or create a new one

    Find an element by primary key or create a new one

    Definition Classes
    KeyedMetaMapper
  162. def findOrCreate(key: Any): ModelType

    Permalink

    Find an element by primary key or create a new one

    Find an element by primary key or create a new one

    Definition Classes
    KeyedMetaMapper
  163. def findSourceField(name: String): Box[SourceFieldInfo]

    Permalink

    Given a name, look up the field

    Given a name, look up the field

    name

    the name of the field

    returns

    the metadata

    Definition Classes
    Mapper → SourceInfo
  164. def findUserByUniqueId(id: String): Box[(MetaMegaProtoUser.this)#TheUserType]

    Permalink

    Given a unique id, find the user

    Given a unique id, find the user

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  165. def findUserByUserName(email: String): Box[(MetaMegaProtoUser.this)#TheUserType]

    Permalink

    Given an username (probably email address), find the user

    Given an username (probably email address), find the user

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  166. def flatMapFieldTitleForm[T](toMap: ModelType, func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ Seq[T]): List[T]

    Permalink

    flat map the fields titles and forms to generate a list

    flat map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    MetaMapper
  167. def flatMapFieldTitleForm[T](func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ Seq[T]): List[T]

    Permalink

    flat map the fields titles and forms to generate a list

    flat map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    Mapper
  168. def flatMapFieldTitleForm2[T](toMap: ModelType, func: (NodeSeq, MappedField[_, ModelType], NodeSeq) ⇒ Seq[T]): List[T]

    Permalink

    flat map the fields titles and forms to generate a list

    flat map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    MetaMapper
  169. def flatMapFieldTitleForm2[T](func: (NodeSeq, MappedField[_, ModelType], NodeSeq) ⇒ Seq[T]): List[T]

    Permalink

    flat map the fields titles and forms to generate a list

    flat map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    Mapper
  170. def formFields(toMap: ModelType): List[MappedField[_, ModelType]]

    Permalink

    Get the fields (in order) for displaying a form

    Get the fields (in order) for displaying a form

    Definition Classes
    MetaMapper
  171. def formFields: List[MappedField[_, ModelType]]

    Permalink

    Get the fields (in order) for displaying a form

    Get the fields (in order) for displaying a form

    Definition Classes
    Mapper
  172. def formSnippet(html: NodeSeq, obj: ModelType, cleanup: (ModelType) ⇒ Unit): NodeSeq

    Permalink

    Provides basic transformation of html to a form for the given obj.

    Provides basic transformation of html to a form for the given obj. When the form is submitted, cleanup is run.

    Definition Classes
    KeyedMetaMapper
  173. var formatFormElement: (NodeSeq, NodeSeq) ⇒ NodeSeq

    Permalink

    This function converts a name and form for a given field in the model to XHTML for presentation in the browser.

    This function converts a name and form for a given field in the model to XHTML for presentation in the browser. By default, a table row ( <tr> ) is presented, but you can change the function to display something else.

    Definition Classes
    MetaMapper
  174. def formatFormLine(displayName: NodeSeq, form: NodeSeq): NodeSeq

    Permalink
    Definition Classes
    MetaMapper
  175. def generateResetEmailBodies(user: (MetaMegaProtoUser.this)#TheUserType, resetLink: String): List[MailBodyType]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  176. def generateValidationEmailBodies(user: (MetaMegaProtoUser.this)#TheUserType, resetLink: String): List[MailBodyType]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  177. def getActualBaseField(actual: ModelType, protoField: BaseOwnedMappedField[ModelType]): BaseOwnedMappedField[ModelType]

    Permalink

    Given the prototype field (the field on the Singleton), get the field from the instance

    Given the prototype field (the field on the Singleton), get the field from the instance

    actual

    -- the Mapper instance

    protoField

    -- the field from the MetaMapper (Singleton)

    returns

    the field from the actual object

    Definition Classes
    MetaMapper
  178. def getActualField[T](actual: ModelType, protoField: MappedField[T, ModelType]): MappedField[T, ModelType]

    Permalink

    Given the prototype field (the field on the Singleton), get the field from the instance

    Given the prototype field (the field on the Singleton), get the field from the instance

    actual

    -- the Mapper instance

    protoField

    -- the field from the MetaMapper (Singleton)

    returns

    the field from the actual object

    Definition Classes
    MetaMapper
  179. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  180. def globalUserLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  181. def hashCode(): Int

    Permalink
    Definition Classes
    KeyedMapper → AnyRef → Any
  182. def homePage: String

    Permalink
    Definition Classes
    ProtoUser
  183. def htmlHeaders: NodeSeq

    Permalink
    Definition Classes
    MetaMapper
  184. def htmlLine: NodeSeq

    Permalink
    Definition Classes
    Mapper
  185. def indexedField(toSave: ModelType): Box[MappedField[Any, ModelType]]

    Permalink
    Definition Classes
    MetaMapper
  186. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  187. def localForm(user: (MetaMegaProtoUser.this)#TheUserType, ignorePassword: Boolean, fields: List[(MetaMegaProtoUser.this)#FieldPointerType]): NodeSeq

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  188. def localeField: Box[MappedLocale[ModelType]]

    Permalink

    If there's a field in this record that defines the locale, return it

    If there's a field in this record that defines the locale, return it

    Definition Classes
    Mapper
  189. def logUserIdIn(id: String): Unit

    Permalink
    Definition Classes
    ProtoUser
  190. def logUserIn(who: (MetaMegaProtoUser.this)#TheUserType): Unit

    Permalink
    Definition Classes
    ProtoUser
  191. def logUserIn(who: (MetaMegaProtoUser.this)#TheUserType, postLogin: () ⇒ Nothing): Nothing

    Permalink
    Definition Classes
    ProtoUser
  192. def logUserOut(): Unit

    Permalink
    Definition Classes
    ProtoUser
  193. def loggedIn_?: Boolean

    Permalink
    Definition Classes
    ProtoUser
  194. def login: NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  195. def loginFirst: If

    Permalink
    Definition Classes
    ProtoUser
  196. def loginMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  197. def loginMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  198. def loginPageURL: String

    Permalink
    Definition Classes
    ProtoUser
  199. lazy val loginPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  200. def loginSubmitButton(name: String, func: () ⇒ Any): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  201. def loginSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  202. def loginXhtml: Elem

    Permalink
    Definition Classes
    ProtoUser
  203. def logout: Nothing

    Permalink
    Definition Classes
    ProtoUser
  204. def logoutCurrentUser: Unit

    Permalink
    Definition Classes
    ProtoUser
  205. def logoutMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  206. def logoutMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  207. lazy val logoutPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  208. def logoutSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  209. def lostPassword: NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  210. def lostPasswordMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  211. def lostPasswordMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  212. lazy val lostPasswordPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  213. def lostPasswordSubmitButton(name: String, func: () ⇒ Any): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  214. def lostPasswordSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  215. def lostPasswordXhtml: Elem

    Permalink
    Definition Classes
    ProtoUser
  216. def mapFieldTitleForm[T](toMap: ModelType, func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ T): List[T]

    Permalink

    map the fields titles and forms to generate a list

    map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    MetaMapper
  217. def mapFieldTitleForm[T](func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ T): List[T]

    Permalink

    map the fields titles and forms to generate a list

    map the fields titles and forms to generate a list

    func

    called with displayHtml, fieldId, form

    Definition Classes
    Mapper
  218. lazy val mappedFields: Seq[BaseMappedField]

    Permalink

    The mapped fields

    The mapped fields

    Definition Classes
    MetaMapperBaseMetaMapper
  219. lazy val mappedFieldsForModel: List[MappedField[_, ModelType]]

    Permalink

    the mapped fields as MappedField rather than BaseMappedField

    the mapped fields as MappedField rather than BaseMappedField

    Definition Classes
    MetaMapper
  220. def menuNameSuffix: String

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  221. def menus: List[Menu]

    Permalink
    Definition Classes
    ProtoUser
  222. def mutateUserOnEdit(user: (MetaMegaProtoUser.this)#TheUserType): (MetaMegaProtoUser.this)#TheUserType

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  223. def mutateUserOnSignup(user: (MetaMegaProtoUser.this)#TheUserType): (MetaMegaProtoUser.this)#TheUserType

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  224. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  225. def niceName(inst: (MetaMegaProtoUser.this)#TheUserType): String

    Permalink
    Definition Classes
    ProtoUser
  226. def niceNameWEmailLink(inst: (MetaMegaProtoUser.this)#TheUserType): Elem

    Permalink
    Definition Classes
    ProtoUser
  227. def notLoggedIn_?: Boolean

    Permalink
    Definition Classes
    ProtoUser
  228. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  229. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  230. def objFromIndexedParam: Box[ModelType]

    Permalink

    Lame attempt at automatically getting an object from the HTTP parameters.

    Lame attempt at automatically getting an object from the HTTP parameters. BROKEN! DO NOT USE! Only here so that existing sub-classes KeyedMetaMapper don't have to implement new methods when I commit the CRUD snippets code.

    Definition Classes
    KeyedMetaMapper
  231. var onLogIn: List[((MetaMegaProtoUser.this)#TheUserType) ⇒ Unit]

    Permalink
    Definition Classes
    ProtoUser
  232. var onLogOut: List[(Box[(MetaMegaProtoUser.this)#TheUserType]) ⇒ Unit]

    Permalink
    Definition Classes
    ProtoUser
  233. def passwordReset(id: String): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  234. def passwordResetEmailSubject: String

    Permalink
    Definition Classes
    ProtoUser
  235. def passwordResetMailBody(user: (MetaMegaProtoUser.this)#TheUserType, resetLink: String): Elem

    Permalink
    Definition Classes
    ProtoUser
  236. lazy val passwordResetPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  237. def passwordResetSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  238. def passwordResetXhtml: Elem

    Permalink
    Definition Classes
    ProtoUser
  239. def prependFieldTransform(transform: CssSel): Unit

    Permalink
    Definition Classes
    Mapper
  240. def reload: ModelType

    Permalink
    Definition Classes
    KeyedMapper
  241. def resetPasswordMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  242. def resetPasswordMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  243. def resetPasswordSubmitButton(name: String, func: () ⇒ Any): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  244. val rootClass: Class[?0] forSome {type ?0 >: ?0, type ?0 <: MetaMapper[ModelType] with ModelType}

    Permalink
    Attributes
    protected
    Definition Classes
    MetaMapper
  245. def runSafe[T](f: ⇒ T): T

    Permalink
    Definition Classes
    Mapper
  246. def runValidationList(toValidate: ModelType): List[FieldError]

    Permalink

    Run the list of field validations, etc.

    Run the list of field validations, etc. This is the raw validation, without the notifications. This method can be over-ridden.

    Attributes
    protected
    Definition Classes
    MetaMapper
  247. final def safe_?: Boolean

    Permalink
    Definition Classes
    Mapper
  248. def save(toSave: ModelType): Boolean

    Permalink
    Definition Classes
    MetaMapper
  249. def save(): Boolean

    Permalink
    Definition Classes
    MapperBaseMapper
  250. def saveMe(): ModelType

    Permalink

    Save the instance and return the instance

    Save the instance and return the instance

    Definition Classes
    Mapper
  251. def saved_?(toSave: ModelType): Boolean

    Permalink
    Definition Classes
    MetaMapper
  252. def saved_?: Boolean

    Permalink
    Definition Classes
    Mapper
  253. def screenWrap: Box[Node]

    Permalink
    Definition Classes
    ProtoUser
  254. def sendPasswordReset(email: String): Unit

    Permalink
    Definition Classes
    ProtoUser
  255. def sendValidationEmail(user: (MetaMegaProtoUser.this)#TheUserType): Unit

    Permalink
    Definition Classes
    ProtoUser
  256. def shortName(inst: (MetaMegaProtoUser.this)#TheUserType): String

    Permalink
    Definition Classes
    ProtoUser
  257. lazy val signUpPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  258. def signUpSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  259. def signup: NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  260. def signupFields: List[(MetaMegaProtoUser.this)#FieldPointerType]

    Permalink

    The list of fields presented to the user at sign-up

    The list of fields presented to the user at sign-up

    Definition Classes
    MetaMegaProtoUser → ProtoUser
  261. def signupMailBody(user: (MetaMegaProtoUser.this)#TheUserType, validationLink: String): Elem

    Permalink
    Definition Classes
    ProtoUser
  262. def signupMailSubject: String

    Permalink
    Definition Classes
    ProtoUser
  263. def signupSubmitButton(name: String, func: () ⇒ Any): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  264. def signupXhtml(user: (MetaMegaProtoUser.this)#TheUserType): Elem

    Permalink
    Definition Classes
    ProtoUser
  265. lazy val sitemap: List[Menu]

    Permalink
    Definition Classes
    ProtoUser
  266. def sitemapMutator: (SiteMap) ⇒ SiteMap

    Permalink
    Definition Classes
    ProtoUser
  267. def skipEmailValidation: Boolean

    Permalink
    Definition Classes
    ProtoUser
  268. def snarfLastItem: String

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  269. def standardSubmitButton(name: String, func: () ⇒ Any): Elem

    Permalink
    Definition Classes
    ProtoUser
  270. def superUser_?: Boolean

    Permalink
    Definition Classes
    ProtoUser
  271. def suplementalJs(ob: Box[KeyObfuscator]): List[(String, JsExp)]

    Permalink

    If the instance calculates any additional fields for JSON object, put the calculated fields here

    If the instance calculates any additional fields for JSON object, put the calculated fields here

    Definition Classes
    Mapper
  272. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  273. def testLoggedIn(page: String): Boolean

    Permalink
    Definition Classes
    ProtoUser
  274. lazy val testLogginIn: If

    Permalink
    Definition Classes
    ProtoUser
  275. lazy val testSuperUser: If

    Permalink
    Definition Classes
    ProtoUser
  276. def thePath(end: String): List[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  277. implicit def thisToMappee(in: Mapper[ModelType]): ModelType

    Permalink
    Definition Classes
    Mapper
  278. def timeZoneField: Box[MappedTimeZone[ModelType]]

    Permalink
    Definition Classes
    Mapper
  279. def toForm(toMap: ModelType): NodeSeq

    Permalink
    Definition Classes
    MetaMapper
  280. def toForm(button: Box[String], redoSnippet: (NodeSeq) ⇒ NodeSeq, onSuccess: (ModelType) ⇒ Unit): NodeSeq

    Permalink
    Definition Classes
    Mapper
  281. def toForm(button: Box[String], f: (ModelType) ⇒ Any): NodeSeq

    Permalink

    Present the model as a form and execute the function on submission of the form

    Present the model as a form and execute the function on submission of the form

    button

    - If it's Full, put a submit button on the form with the value of the parameter

    f

    - the function to execute on form submission

    returns

    the form

    Definition Classes
    Mapper
  282. def toForm(button: Box[String], onSuccess: String): NodeSeq

    Permalink

    Present the model as a form and execute the function on submission of the form

    Present the model as a form and execute the function on submission of the form

    button

    - If it's Full, put a submit button on the form with the value of the parameter

    onSuccess

    - redirect to the URL if the model validates, otherwise display the errors

    returns

    the form

    Definition Classes
    Mapper
  283. def toHtml(toMap: ModelType): NodeSeq

    Permalink

    Present the model as a HTML using the same formatting as toForm

    Present the model as a HTML using the same formatting as toForm

    toMap

    the instance to generate the HTML for

    returns

    the html view of the model

    Definition Classes
    MetaMapper
  284. def toHtml: NodeSeq

    Permalink

    Present the model as a HTML using the same formatting as toForm

    Present the model as a HTML using the same formatting as toForm

    returns

    the html view of the model

    Definition Classes
    Mapper
  285. def toString(): String

    Permalink
    Definition Classes
    Mapper → AnyRef → Any
  286. def toXml(what: ModelType): Elem

    Permalink
    Definition Classes
    MetaMapper
  287. def toXml: Elem

    Permalink
    Definition Classes
    Mapper
  288. implicit def typeToBridge(in: (MetaMegaProtoUser.this)#TheUserType): (MetaMegaProtoUser.this)#UserBridge

    Permalink

    Convert an instance of TheUserType to the Bridge trait

    Convert an instance of TheUserType to the Bridge trait

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  289. def unapply(key: Any): Option[ModelType]

    Permalink
    Definition Classes
    KeyedMetaMapper
  290. def updateFromJSON_!(toUpdate: ModelType, json: JObject): ModelType

    Permalink

    This method will update the instance from JSON.

    This method will update the instance from JSON. It allows for attacks from untrusted JSON as it bypasses normal security. By default, the method is protected. You can write a proxy method to expose the functionality.

    Attributes
    protected
    Definition Classes
    MetaMapper
  291. def userFromStringId(id: String): Box[(MetaMegaProtoUser.this)#TheUserType]

    Permalink

    Given a String representing the User ID, find the user

    Given a String representing the User ID, find the user

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUser → ProtoUser
  292. def userMenu: List[Node]

    Permalink
    Definition Classes
    ProtoUser
  293. def userNameFieldString: String

    Permalink
    Definition Classes
    ProtoUser
  294. def userNameNotFoundString: String

    Permalink
    Definition Classes
    ProtoUser
  295. final def validate(toValidate: ModelType): List[FieldError]

    Permalink
    Definition Classes
    MetaMapper
  296. def validate: List[FieldError]

    Permalink
    Definition Classes
    Mapper
  297. def validateSignup(user: (MetaMegaProtoUser.this)#TheUserType): List[FieldError]

    Permalink
    Definition Classes
    ProtoUser
  298. def validateUser(id: String): NodeSeq

    Permalink
    Definition Classes
    ProtoUser
  299. def validateUserMenuLoc: Box[Menu]

    Permalink
    Definition Classes
    ProtoUser
  300. def validateUserMenuLocParams: List[LocParam[Unit]]

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser
  301. lazy val validateUserPath: List[String]

    Permalink
    Definition Classes
    ProtoUser
  302. def validateUserSuffix: String

    Permalink
    Definition Classes
    ProtoUser
  303. def validation: List[(ModelType) ⇒ List[FieldError]]

    Permalink

    If there are model-specific validations to perform, override this method and return an additional list of validations to perform

    If there are model-specific validations to perform, override this method and return an additional list of validations to perform

    Definition Classes
    MetaMapper
  304. def viewSnippetSetup: ModelType

    Permalink

    Default setup behavior for the view snippet.

    Default setup behavior for the view snippet. BROKEN! MUST OVERRIDE IF USING CRUD SNIPPETS!

    returns

    a mapped object of this metamapper's type

    Definition Classes
    KeyedMetaMapper
  305. def viewTransform(html: NodeSeq): NodeSeq

    Permalink

    Basic transformation of html to HTML for displaying the object from viewSnippetSetup.

    Basic transformation of html to HTML for displaying the object from viewSnippetSetup.

    Definition Classes
    KeyedMetaMapper
  306. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  307. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  308. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  309. def whatToSet(toSave: ModelType): String

    Permalink
    Definition Classes
    MetaMapper
  310. def wrapIt(in: NodeSeq): NodeSeq

    Permalink
    Attributes
    protected
    Definition Classes
    ProtoUser

Inherited from proto.ProtoUser

Inherited from KeyedMetaMapper[Long, ModelType]

Inherited from KeyedMapper[Long, ModelType]

Inherited from BaseKeyedMapper

Inherited from MetaMapper[ModelType]

Inherited from Mapper[ModelType]

Inherited from SourceInfo

Inherited from Serializable

Inherited from Serializable

Inherited from BaseMapper

Inherited from FieldContainer

Inherited from BaseMetaMapper

Inherited from AnyRef

Inherited from Any

Ungrouped