net.liftweb.ldap

MetaLDAPProtoUser

trait MetaLDAPProtoUser [ModelType <: LDAPProtoUser[ModelType]] extends MetaMegaProtoUser[ModelType]

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

Type Members

  1. type AnyBound = T forSome { type T }

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

  3. type FieldPF = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    Mapper
  4. trait FieldPointerBridge extends AnyRef

    Attributes
    protected
  5. type FieldPointerType = net.liftweb.mapper.MappedField[_, MetaLDAPProtoUser.this.TheUserType]

    What's a field pointer for the underlying CRUDify

    What's a field pointer for the underlying CRUDify

    Definition Classes
    MetaMegaProtoUserProtoUser
  6. type KeyedMapperType = ModelType

    Definition Classes
    KeyedMapperBaseKeyedMapper
  7. type MapperType = ModelType

    Definition Classes
    MapperBaseMapper
  8. case class MenuItem (name: String, path: List[String], loggedIn: Boolean) extends Product with Serializable

    A helper class that holds menu items for the path

  9. class MyPointer extends FieldPointerBridge

    Attributes
    protected
  10. class MyUserBridge extends UserBridge

    Bridges from TheUserType to methods used in this class

  11. type OtherMapper = net.liftweb.mapper.KeyedMapper[_, _]

    Definition Classes
    MetaMapper
  12. type OtherMetaMapper = net.liftweb.mapper.KeyedMetaMapper[_, _]

    Definition Classes
    MetaMapper
  13. type Q = net.liftweb.mapper.MappedForeignKey[MetaLDAPProtoUser.this.AnyBound,ModelType,OO] with net.liftweb.mapper.MappedField[MetaLDAPProtoUser.this.AnyBound,ModelType] forSome { type OO <: net.liftweb.mapper.KeyedMapper[MetaLDAPProtoUser.this.AnyBound,OO] }

    Definition Classes
    KeyedMetaMapper
  14. type RealType = ModelType

    Definition Classes
    MetaMapperBaseMetaMapper
  15. type TheKeyType = Long

    Definition Classes
    KeyedMapperBaseKeyedMapper
  16. type TheUserType = ModelType

    The underlying record for the User

    The underlying record for the User

    Definition Classes
    MetaMegaProtoUserProtoUser
  17. trait UserBridge extends AnyRef

    Bridges from TheUserType to methods used in this class

Abstract Value Members

  1. def getSingleton : KeyedMetaMapper[Long, ModelType]

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

    Attributes
    abstract
    Definition Classes
    KeyedMapperBaseKeyedMapper

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. object AddUserMenusAfter extends LocParam[Any] with Product with Serializable

    Insert this LocParam into your menu if you want the User's menu items to be inserted at the same level and after the item

  7. object AddUserMenusHere extends LocParam[Any] with Product with Serializable

    replace the menu that has this LocParam with the User's menu items

  8. object AddUserMenusUnder extends LocParam[Any] with Product with Serializable

    Insert this LocParam into your menu if you want the User's menu items to be children of that menu

  9. lazy val ItemList : List[MenuItem]

    Definition Classes
    ProtoUser
  10. def _dbTableNameLC : String

    The table name, to lower case.

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

    Attributes
    final
    Definition Classes
    MetaMapperBaseMetaMapper
  11. def actionsAfterSignup (theUser: TheUserType, func: () ⇒ Nothing): Nothing

    Override this method to do something else after the user signs up

    Override this method to do something else after the user signs up

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

    Attributes
    protected
    Definition Classes
    MetaMapper
  13. def addSnippet (xhtml: NodeSeq): NodeSeq

    Default add snippet.

    Default add snippet. Override to change behavior of the add snippet.

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

    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
  15. def addSnippetSetup : ModelType

    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
  16. object addlQueryParams extends RequestVar[List[QueryParam[A]]]

  17. def afterCommit : List[(ModelType) ⇒ Unit]

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

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

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

    Definition Classes
    MetaMapper
  21. def afterSchemifier : Unit

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

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

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

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

    Definition Classes
    MetaMapper
  26. def allFields : Seq[BaseField]

    Definition Classes
    MapperFieldContainer
  27. def appendField (pf: FieldPF): Unit

    Definition Classes
    Mapper
  28. def appendFieldToStrings (in: ModelType): String

    Definition Classes
    MetaMapper
  29. def asHtml (toLine: ModelType): NodeSeq

    Definition Classes
    MetaMapper
  30. def asHtml : NodeSeq

    Definition Classes
    Mapper
  31. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  32. def asJs (actual: ModelType): JsExp

    Definition Classes
    MetaMapper
  33. def asJs : JsExp

    Convert the model to a JavaScript object

    Convert the model to a JavaScript object

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

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

    Definition Classes
    KeyedMapper
  36. def asValid : Box[ModelType]

    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
  37. var autologinFunc : Box[() ⇒ Unit]

    This function is given a chance to log in a user programmatically when needed

    This function is given a chance to log in a user programmatically when needed

    Definition Classes
    ProtoUser
  38. def basePath : List[String]

    The base path for the user related URLs.

    The base path for the user related URLs. Override this method to change the base path

    Definition Classes
    ProtoUser
  39. def bccEmail : Box[String]

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

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

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

    Definition Classes
    MetaMapper
  43. def beforeSchemifier : Unit

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

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

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

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

    Definition Classes
    MetaMapper
  48. def bindAttributes (attrs: Attributes): Unit

  49. implicit def boundedFieldToItem (in: (MappedField[String, ModelType], Int)): BoundedIndexField[ModelType]

    Attributes
    implicit
    Definition Classes
    MetaMapper
  50. implicit def buildFieldBridge (from: FieldPointerType): FieldPointerBridge

    Based on a FieldPointer, build a FieldPointerBridge

    Based on a FieldPointer, build a FieldPointerBridge

    Attributes
    protected implicit
    Definition Classes
    MetaMegaProtoUserProtoUser
  51. def buildMapper (rs: ResultSet): List[Box[(ResultSet, Int, ModelType) ⇒ Unit]]

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

    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

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

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

    Definition Classes
    MetaMapper
  55. def capturePreLoginState (): () ⇒ Unit

    If there's any state that you want to capture pre-login to be set post-login (the session is destroyed), then set the state here.

    If there's any state that you want to capture pre-login to be set post-login (the session is destroyed), then set the state here. Just make a function that captures the state... that function will be applied post login.

    Attributes
    protected
    Definition Classes
    ProtoUser
  56. def changePassword : NodeSeq

    Definition Classes
    ProtoUser
  57. def changePasswordMenuLoc : Box[Menu]

    The menu item for changing password (make this "Empty" to disable)

    The menu item for changing password (make this "Empty" to disable)

    Definition Classes
    MetaLDAPProtoUserProtoUser
  58. def changePasswordMenuLocParams : List[LocParam[Unit]]

    The LocParams for the menu item for changing password.

    The LocParams for the menu item for changing password. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

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

    The computed path for change password screen

    The computed path for change password screen

    Definition Classes
    ProtoUser
  60. def changePasswordSuffix : String

    The path suffix for the change password screen

    The path suffix for the change password screen

    Definition Classes
    ProtoUser
  61. def changePasswordXhtml : Elem

    Definition Classes
    ProtoUser
  62. def checkNames : Unit

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

    Returns true if none of the fields are dirty

    Returns true if none of the fields are dirty

    Definition Classes
    MetaMapper
  64. def clone (): AnyRef

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

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

    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
  67. val columnQueriesForInsert : String

    Definition Classes
    MetaMapper
  68. def commonNameAttributeName : String

  69. def comparePrimaryKeys (other: ModelType): Boolean

    Definition Classes
    KeyedMapperMapper
  70. def computeFieldFromPointer (instance: TheUserType, pointer: FieldPointerType): Box[BaseField]

    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
    MetaMegaProtoUserProtoUser
  71. def connectionIdentifier : ConnectionIdentifier

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

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

    Definition Classes
    MetaMapper
  74. def count : Long

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

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

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

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

    Definition Classes
    Mapper
  79. def create : ModelType

    Definition Classes
    MetaMapper
  80. def createInstance : ModelType

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

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

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

    Definition Classes
    MetaMapper
  84. def createNewUserInstance (): TheUserType

    Create a new instance of the User

    Create a new instance of the User

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUserProtoUser
  85. def createUserMenuLoc : Box[Menu]

    The menu item for creating the user/sign up (make this "Empty" to disable)

    The menu item for creating the user/sign up (make this "Empty" to disable)

    Definition Classes
    MetaLDAPProtoUserProtoUser
  86. def createUserMenuLocParams : List[LocParam[Unit]]

    The LocParams for the menu item for creating the user/sign up.

    The LocParams for the menu item for creating the user/sign up. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

    Attributes
    protected
    Definition Classes
    ProtoUser
  87. def crudSnippets : SnippetPF

    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
  88. def crudSnippets_? : Boolean

    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
  89. def currentUser : Box[TheUserType]

    Definition Classes
    ProtoUser
  90. def currentUserId : Box[String]

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

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

    Definition Classes
    Mapper
  93. def dbDefaultConnectionIdentifier : ConnectionIdentifier

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

    Definition Classes
    MetaMapperBaseMetaMapper
  95. def dbName : String

    The name of the mapped object

    The name of the mapped object

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

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

    Definition Classes
    KeyedMetaMapper
  98. def dbTableName : String

    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
  99. def db_can_delete_? : Boolean

    Can this model object be deleted?

    Can this model object be deleted?

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

    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
  101. def delete_! (toDelete: ModelType): Boolean

    Definition Classes
    MetaMapper
  102. def delete_! : Boolean

    Delete the model from the RDBMS

    Delete the model from the RDBMS

    Definition Classes
    Mapper
  103. def destroySessionOnLogin : Boolean

    By default, destroy the session on login.

    By default, destroy the session on login. Change this is some of the session information needs to be preserved.

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

    Definition Classes
    MetaMapper
  105. def dirty_? : Boolean

    Definition Classes
    Mapper
  106. var displayFieldAsLineElement : (NodeSeq) ⇒ NodeSeq

    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
  107. var displayNameToHeaderElement : (String) ⇒ NodeSeq

    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
  108. def doHtmlLine (toLine: ModelType): NodeSeq

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

    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
  110. def edit : NodeSeq

    Definition Classes
    ProtoUser
  111. def editFields : List[FieldPointerType]

    The list of fields presented to the user for editing

    The list of fields presented to the user for editing

    Definition Classes
    MetaMegaProtoUserProtoUser
  112. object editFunc extends RequestVar[Box[() ⇒ NodeSeq]]

  113. lazy val editPath : List[String]

    The computed path for the edit screen

    The computed path for the edit screen

    Definition Classes
    ProtoUser
  114. def editSnippet (xhtml: NodeSeq): NodeSeq

    Default edit snippet.

    Default edit snippet. Override to change behavior of the edit snippet.

    Definition Classes
    KeyedMetaMapper
  115. def editSnippetCallback (obj: ModelType): Unit

    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
  116. def editSnippetSetup : ModelType

    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
  117. def editSuffix : String

    The path suffix for the edit screen

    The path suffix for the edit screen

    Definition Classes
    ProtoUser
  118. def editUserMenuLoc : Box[Menu]

    The menu item for editing the user (make this "Empty" to disable)

    The menu item for editing the user (make this "Empty" to disable)

    Definition Classes
    MetaLDAPProtoUserProtoUser
  119. def editUserMenuLocParams : List[LocParam[Unit]]

    The LocParams for the menu item for editing the user.

    The LocParams for the menu item for editing the user. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

    Attributes
    protected
    Definition Classes
    ProtoUser
  120. def editXhtml (user: TheUserType): Elem

    Definition Classes
    ProtoUser
  121. val elemName : String

    Definition Classes
    MetaMapper
  122. def emailFrom : String

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

    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
  124. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  125. def equals (other: Any): Boolean

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

    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
  127. def fieldByName [T] (fieldName: String): Box[MappedField[T, ModelType]]

    Find the field by name

    Find the field by name

    fieldName

    -- the name of the field to find

    returns

    Box[MappedField]

    Definition Classes
    Mapper
  128. def fieldMapperPF (transform: (BaseOwnedMappedField[ModelType]) ⇒ NodeSeq, actual: ModelType): PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    MetaMapper
  129. def fieldMapperPF (transform: (BaseOwnedMappedField[ModelType]) ⇒ NodeSeq): FieldPF

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

    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
  131. def fieldOrder : List[FieldPointerType]

    Definition Classes
    MetaLDAPProtoUserMetaMapper
  132. def fieldPF : FieldPF

    Definition Classes
    Mapper
  133. implicit def fieldToItem [T] (in: MappedField[T, ModelType]): IndexItem[ModelType]

    Attributes
    implicit
    Definition Classes
    MetaMapper
  134. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  135. def find (by: QueryParam[ModelType]*): Box[ModelType]

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

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

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

    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
  139. def find (key: Any): Box[ModelType]

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

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

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

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

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

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

    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
  146. def findAllByPreparedStatementDb [T] (dbId: ConnectionIdentifier, stmt: PreparedStatement)(f: (ModelType) ⇒ Box[T]): List[T]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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
  164. def findOrCreate (key: Any): ModelType

    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
  165. def findUserByUniqueId (id: String): Box[TheUserType]

    Given a unique id, find the user

    Given a unique id, find the user

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUserProtoUser
  166. def findUserByUserName (email: String): Box[TheUserType]

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

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

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUserProtoUser
  167. def flatMapFieldTitleForm [T] (toMap: ModelType, func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ Seq[T]): List[T]

    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
  168. def flatMapFieldTitleForm [T] (func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ Seq[T]): List[T]

    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
  169. def flatMapFieldTitleForm2 [T] (toMap: ModelType, func: (NodeSeq, net.liftweb.mapper.MappedField[_, ModelType], NodeSeq) ⇒ Seq[T]): List[T]

    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
  170. def flatMapFieldTitleForm2 [T] (func: (NodeSeq, net.liftweb.mapper.MappedField[_, ModelType], NodeSeq) ⇒ Seq[T]): List[T]

    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
  171. def formFields (toMap: ModelType): List[net.liftweb.mapper.MappedField[_, ModelType]]

    Get the fields (in order) for displaying a form

    Get the fields (in order) for displaying a form

    Definition Classes
    MetaMapper
  172. def formFields : List[net.liftweb.mapper.MappedField[_, ModelType]]

    Get the fields (in order) for displaying a form

    Get the fields (in order) for displaying a form

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

    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

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

    Generate the mail bodies to send with the password reset link.

    Generate the mail bodies to send with the password reset link. By default, just an HTML mail body is generated by calling passwordResetMailBody but you can send additional or alternative mail by overriding this method.

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

    Generate the mail bodies to send with the valdiation link.

    Generate the mail bodies to send with the valdiation link. By default, just an HTML mail body is generated by calling signupMailBody but you can send additional or alternative mail by override this method.

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

    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]

    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. def getClass (): java.lang.Class[_]

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

    If you want to include a LocParam (e.

    If you want to include a LocParam (e.g. LocGroup) on all the User menus, add them here

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

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

    The application's home page

    The application's home page

    Definition Classes
    ProtoUser
  183. def htmlHeaders : NodeSeq

    Definition Classes
    MetaMapper
  184. def htmlLine : NodeSeq

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

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

    Attributes
    final
    Definition Classes
    Any
  187. def ldapLogin (username: String, password: String): Boolean

  188. def ldapUserSearch : String

    User search sentence

  189. def ldapVendor : LDAPVendor

  190. def localForm (user: TheUserType, ignorePassword: Boolean, fields: List[FieldPointerType]): NodeSeq

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

    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
  192. def logUserIdIn (id: String): Unit

    Definition Classes
    ProtoUser
  193. def logUserIn (who: TheUserType): Unit

    Definition Classes
    ProtoUser
  194. def logUserIn (who: TheUserType, postLogin: () ⇒ Nothing): Nothing

    Definition Classes
    ProtoUser
  195. def logUserOut (): Unit

    Definition Classes
    ProtoUser
  196. def loggedIn_? : Boolean

    Definition Classes
    ProtoUser
  197. def login : NodeSeq

    Definition Classes
    MetaLDAPProtoUserProtoUser
  198. def loginErrorMessage : String

    Error messages

  199. def loginFirst : If

    A Menu.

    A Menu.LocParam for testing if the user is logged in and if they're not, redirect them to the login page

    Definition Classes
    ProtoUser
  200. def loginMenuLoc : Box[Menu]

    The menu item for login (make this "Empty" to disable)

    The menu item for login (make this "Empty" to disable)

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

    The LocParams for the menu item for login.

    The LocParams for the menu item for login. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

    Attributes
    protected
    Definition Classes
    ProtoUser
  202. def loginPageURL : String

    Return the URL of the "login" page

    Return the URL of the "login" page

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

    The computed path for the login screen

    The computed path for the login screen

    Definition Classes
    ProtoUser
  204. object loginRedirect extends SessionVar[Box[String]]

    If you want to redirect a user to a different page after login, put the page here

  205. def loginSuffix : String

    The path suffix for the login screen

    The path suffix for the login screen

    Definition Classes
    ProtoUser
  206. def loginXhtml : Elem

    Definition Classes
    MetaLDAPProtoUserProtoUser
  207. def logout : Nothing

    Definition Classes
    ProtoUser
  208. def logoutCurrentUser : Unit

    Definition Classes
    ProtoUser
  209. def logoutMenuLoc : Box[Menu]

    The menu item for logout (make this "Empty" to disable)

    The menu item for logout (make this "Empty" to disable)

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

    The LocParams for the menu item for logout.

    The LocParams for the menu item for logout. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

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

    The computed pat for logout

    The computed pat for logout

    Definition Classes
    ProtoUser
  212. def logoutSuffix : String

    The path suffix for the logout screen

    The path suffix for the logout screen

    Definition Classes
    ProtoUser
  213. def lostPassword : NodeSeq

    Definition Classes
    ProtoUser
  214. def lostPasswordMenuLoc : Box[Menu]

    The menu item for lost password (make this "Empty" to disable)

    The menu item for lost password (make this "Empty" to disable)

    Definition Classes
    MetaLDAPProtoUserProtoUser
  215. def lostPasswordMenuLocParams : List[LocParam[Unit]]

    The LocParams for the menu item for lost password.

    The LocParams for the menu item for lost password. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

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

    The computed path for the lost password screen

    The computed path for the lost password screen

    Definition Classes
    ProtoUser
  217. def lostPasswordSuffix : String

    The path suffix for the lost password screen

    The path suffix for the lost password screen

    Definition Classes
    ProtoUser
  218. def lostPasswordXhtml : Elem

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

    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
  220. def mapFieldTitleForm [T] (func: (NodeSeq, Box[NodeSeq], NodeSeq) ⇒ T): List[T]

    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
  221. lazy val mappedFields : Seq[BaseMappedField]

    The mapped fields

    The mapped fields

    Definition Classes
    MetaMapperBaseMetaMapper
  222. lazy val mappedFieldsForModel : List[net.liftweb.mapper.MappedField[_, ModelType]]

    the mapped fields as MappedField rather than BaseMappedField

    the mapped fields as MappedField rather than BaseMappedField

    Definition Classes
    MetaMapper
  223. def menuNameSuffix : String

    If you have more than 1 ProtoUser in your application, you'll need to distinguish the menu names.

    If you have more than 1 ProtoUser in your application, you'll need to distinguish the menu names. Do so by changing the menu name suffix so that there are no name clashes

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

    An alias for the sitemap property

    An alias for the sitemap property

    Definition Classes
    ProtoUser
  225. def modSnippet (xhtml: NodeSeq, obj: ModelType, cleanup: (ModelType) ⇒ Unit): NodeSeq

    Default snippet for modification.

    Default snippet for modification. Used by the default add and edit snippets.

    Definition Classes
    KeyedMetaMapper
  226. def mutateUserOnEdit (user: TheUserType): TheUserType

    If there's any mutation to do to the user on retrieval for editting, override this method and mutate the user.

    If there's any mutation to do to the user on retrieval for editting, override this method and mutate the user. This can be used to pull query parameters from the request and assign certain fields. Issue #722

    user

    the user to mutate

    returns

    the mutated user

    Attributes
    protected
    Definition Classes
    ProtoUser
  227. def mutateUserOnSignup (user: TheUserType): TheUserType

    If there's any mutation to do to the user on creation for signup, override this method and mutate the user.

    If there's any mutation to do to the user on creation for signup, override this method and mutate the user. This can be used to pull query parameters from the request and assign certain fields. . Issue #722

    user

    the user to mutate

    returns

    the mutated user

    Attributes
    protected
    Definition Classes
    ProtoUser
  228. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  229. def niceName (inst: TheUserType): String

    Get a nice name for the user

    Get a nice name for the user

    Definition Classes
    ProtoUser
  230. def niceNameWEmailLink (inst: TheUserType): Elem

    Get an email link for the user

    Get an email link for the user

    Definition Classes
    ProtoUser
  231. def notLoggedIn_? : Boolean

    Inverted loggedIn_?

    Inverted loggedIn_?

    Definition Classes
    ProtoUser
  232. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  233. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  234. def objFromIndexedParam : Box[ModelType]

    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
  235. var onLogIn : List[(TheUserType) ⇒ Unit]

    Definition Classes
    ProtoUser
  236. var onLogOut : List[(Box[TheUserType]) ⇒ Unit]

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

    Definition Classes
    ProtoUser
  238. def passwordResetEmailSubject : String

    Definition Classes
    ProtoUser
  239. def passwordResetMailBody (user: TheUserType, resetLink: String): Elem

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

    The computed path for the reset password screen

    The computed path for the reset password screen

    Definition Classes
    ProtoUser
  241. def passwordResetSuffix : String

    The path suffix for the reset password screen

    The path suffix for the reset password screen

    Definition Classes
    ProtoUser
  242. def passwordResetXhtml : Elem

    Definition Classes
    ProtoUser
  243. def prependField (pf: FieldPF): Unit

    Definition Classes
    Mapper
  244. def reload : ModelType

    Definition Classes
    KeyedMapper
  245. def resetPasswordMenuLoc : Box[Menu]

    The menu item for resetting the password (make this "Empty" to disable)

    The menu item for resetting the password (make this "Empty" to disable)

    Definition Classes
    MetaLDAPProtoUserProtoUser
  246. def resetPasswordMenuLocParams : List[LocParam[Unit]]

    The LocParams for the menu item for resetting the password.

    The LocParams for the menu item for resetting the password. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

    Attributes
    protected
    Definition Classes
    ProtoUser
  247. val rootClass : java.lang.Class[_ >: ?0]

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

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

    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
  250. def safe_? : Boolean

    Attributes
    final
    Definition Classes
    Mapper
  251. def save (toSave: ModelType): Boolean

    Definition Classes
    MetaMapper
  252. def save (): Boolean

    Definition Classes
    MapperBaseMapper
  253. def saveMe (): ModelType

    Save the instance and return the instance

    Save the instance and return the instance

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

    Definition Classes
    MetaMapper
  255. def saved_? : Boolean

    Definition Classes
    Mapper
  256. def screenWrap : Box[Node]

    What template are you going to wrap the various nodes in

    What template are you going to wrap the various nodes in

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

    Send password reset email to the user.

    Send password reset email to the user. The XHTML version of the mail body is generated by calling passwordResetMailBody. You can customize the mail sent to users by overriding generateResetEmailBodies to send non-HTML mail or alternative mail bodies.

    Definition Classes
    ProtoUser
  258. def sendValidationEmail (user: TheUserType): Unit

    Send validation email to the user.

    Send validation email to the user. The XHTML version of the mail body is generated by calling signupMailBody. You can customize the mail sent to users by override generateValidationEmailBodies to send non-HTML mail or alternative mail bodies.

    Definition Classes
    ProtoUser
  259. def shortName (inst: TheUserType): String

    Get a nice name for the user

    Get a nice name for the user

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

    The computed path for the sign up screen

    The computed path for the sign up screen

    Definition Classes
    ProtoUser
  261. def signUpSuffix : String

    The path suffix for the sign up screen

    The path suffix for the sign up screen

    Definition Classes
    ProtoUser
  262. def signup : NodeSeq

    Definition Classes
    ProtoUser
  263. def signupFields : List[FieldPointerType]

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

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

    Definition Classes
    MetaLDAPProtoUserMetaMegaProtoUserProtoUser
  264. object signupFunc extends RequestVar[Box[() ⇒ NodeSeq]]

    Attributes
    protected
  265. def signupMailBody (user: TheUserType, validationLink: String): Elem

    Definition Classes
    ProtoUser
  266. def signupMailSubject : String

    Definition Classes
    ProtoUser
  267. def signupXhtml (user: TheUserType): Elem

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

    Definition Classes
    ProtoUser
  269. def sitemapMutator : (SiteMap) ⇒ SiteMap

    The SiteMap mutator function

    The SiteMap mutator function

    Definition Classes
    ProtoUser
  270. def skipEmailValidation : Boolean

    Definition Classes
    ProtoUser
  271. def snarfLastItem : String

    Attributes
    protected
    Definition Classes
    ProtoUser
  272. def superUser_? : Boolean

    Is there a user logged in and are they a superUser?

    Is there a user logged in and are they a superUser?

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

    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
  274. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  275. def testLoggedIn (page: String): Boolean

    Definition Classes
    ProtoUser
  276. lazy val testLogginIn : If

    A Menu.

    A Menu.LocParam to test if the user is logged in

    Definition Classes
    ProtoUser
  277. lazy val testSuperUser : If

    A Menu.

    A Menu.LocParam to test if the user is a super user

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

    Calculate the path given a suffix by prepending the basePath to the suffix

    Calculate the path given a suffix by prepending the basePath to the suffix

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

    Attributes
    implicit
    Definition Classes
    Mapper
  280. def timeZoneField : Box[MappedTimeZone[ModelType]]

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

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

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

    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
  284. def toForm (button: Box[String], onSuccess: String): NodeSeq

    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
  285. def toHtml (toMap: ModelType): NodeSeq

    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
  286. def toHtml : NodeSeq

    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
  287. def toString (): String

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

    Definition Classes
    MetaMapper
  289. def toXml : Elem

    Definition Classes
    Mapper
  290. implicit def typeToBridge (in: TheUserType): UserBridge

    Convert an instance of TheUserType to the Bridge trait

    Convert an instance of TheUserType to the Bridge trait

    Attributes
    protected implicit
    Definition Classes
    MetaMegaProtoUserProtoUser
  291. def uidAttributeName : String

  292. def unapply (key: Any): Option[ModelType]

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

    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
  294. def userFromStringId (id: String): Box[TheUserType]

    Given a String representing the User ID, find the user

    Given a String representing the User ID, find the user

    Attributes
    protected
    Definition Classes
    MetaMegaProtoUserProtoUser
  295. def userMenu : List[Node]

    Definition Classes
    ProtoUser
  296. def userNameFieldString : String

    How do we prompt the user for the username.

    How do we prompt the user for the username. By default, it's S.??("email.address"), you can can change it to something else

    Definition Classes
    ProtoUser
  297. def userNameNotFoundString : String

    The string that's generated when the user name is not found.

    The string that's generated when the user name is not found. By default: S.??("email.address.not.found")

    Definition Classes
    ProtoUser
  298. def validate (toValidate: ModelType): List[FieldError]

    Attributes
    final
    Definition Classes
    MetaMapper
  299. def validate : List[FieldError]

    Definition Classes
    Mapper
  300. def validateSignup (user: TheUserType): List[FieldError]

    Override this method to validate the user signup (eg by adding captcha verification)

    Override this method to validate the user signup (eg by adding captcha verification)

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

    Definition Classes
    ProtoUser
  302. def validateUserMenuLoc : Box[Menu]

    The menu item for validating a user (make this "Empty" to disable)

    The menu item for validating a user (make this "Empty" to disable)

    Definition Classes
    MetaLDAPProtoUserProtoUser
  303. def validateUserMenuLocParams : List[LocParam[Unit]]

    The LocParams for the menu item for validating a user.

    The LocParams for the menu item for validating a user. Overwrite in order to add custom LocParams. Attention: Not calling super will change the default behavior!

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

    The calculated path to the user validation screen

    The calculated path to the user validation screen

    Definition Classes
    ProtoUser
  305. def validateUserSuffix : String

    The path suffix for the validate user screen

    The path suffix for the validate user screen

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

    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
  307. def viewSnippet (xhtml: NodeSeq): NodeSeq

    Default view snippet.

    Default view snippet. Override to change behavior of the view snippet.

    Definition Classes
    KeyedMetaMapper
  308. def viewSnippetSetup : ModelType

    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
  309. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  312. def whatToSet (toSave: ModelType): String

    Definition Classes
    MetaMapper
  313. def wrapIt (in: NodeSeq): NodeSeq

    Attributes
    protected
    Definition Classes
    ProtoUser

Inherited from MetaMegaProtoUser[ModelType]

Inherited from ProtoUser

Inherited from KeyedMetaMapper[Long, ModelType]

Inherited from KeyedMapper[Long, ModelType]

Inherited from BaseKeyedMapper

Inherited from MetaMapper[ModelType]

Inherited from Mapper[ModelType]

Inherited from BaseMapper

Inherited from FieldContainer

Inherited from BaseMetaMapper

Inherited from AnyRef

Inherited from Any