net.liftweb.ldap

MetaLDAPProtoUser

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

linear super types: MetaMegaProtoUser[ModelType], ProtoUser, KeyedMetaMapper[Long, ModelType], KeyedMapper[Long, ModelType], BaseKeyedMapper, MetaMapper[ModelType], Mapper[ModelType], BaseMapper, FieldContainer, BaseMetaMapper, AnyRef, Any
self type: MetaLDAPProtoUser[ModelType] with ModelType
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
Impl.
  1. Concrete
  2. Abstract

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

  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

  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

Value Members

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

    attributes: final
    definition classes: AnyRef
  2. def != (arg0: Any) : Boolean

    o != arg0 is the same as !(o == (arg0)).

    o != arg0 is the same as !(o == (arg0)).

    arg0

    the object to compare against this object for dis-equality.

    returns

    false if the receiver object is equivalent to the argument; true otherwise.

    attributes: final
    definition classes: Any
  3. def ## () : Int

    attributes: final
    definition classes: AnyRef → Any
  4. def $asInstanceOf [T0] () : T0

    attributes: final
    definition classes: AnyRef
  5. def $isInstanceOf [T0] () : Boolean

    attributes: final
    definition classes: AnyRef
  6. def == (arg0: AnyRef) : Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: AnyRef
  7. def == (arg0: Any) : Boolean

    o == arg0 is the same as o.equals(arg0).

    o == arg0 is the same as o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: Any
  8. object AddUserMenusAfter extends LocParam[Any] with Product

    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

  9. object AddUserMenusHere extends LocParam[Any] with Product

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

  10. object AddUserMenusUnder extends LocParam[Any] with Product

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

  11. lazy val ItemList : List[MenuItem]

    definition classes: ProtoUser
  12. 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
  13. 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
  14. def addEndStuffs (in: String, params: List[QueryParam[ModelType]], conn: SuperConnection) : (String, Box[Long], Box[Long])

    attributes: protected
    definition classes: MetaMapper
  15. def addSnippet (xhtml: NodeSeq) : NodeSeq

    Default add snippet.

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

    definition classes: KeyedMetaMapper
  16. 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
  17. 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
  18. object addlQueryParams extends RequestVar[List[QueryParam[A]]]

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

    definition classes: MetaMapper
  20. def afterCreate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  21. def afterDelete : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  22. def afterSave : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  23. def afterSchemifier : Unit

    definition classes: KeyedMetaMapperMetaMapperBaseMetaMapper
  24. def afterUpdate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  25. def afterValidation : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  26. def afterValidationOnCreate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  27. def afterValidationOnUpdate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  28. def allFields : Seq[BaseField]

    definition classes: MapperFieldContainer
  29. def appendField (pf: FieldPF) : Unit

    definition classes: Mapper
  30. def appendFieldToStrings (in: ModelType) : String

    definition classes: MetaMapper
  31. def asHtml (toLine: ModelType) : NodeSeq

    definition classes: MetaMapper
  32. def asHtml : NodeSeq

    definition classes: Mapper
  33. def asInstanceOf [T0] : T0

    This method is used to cast the receiver object to be of type T0.

    This method is used to cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expressionList(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    the receiver object.

    attributes: final
    definition classes: Any
  34. def asJs (actual: ModelType) : JsExp

    definition classes: MetaMapper
  35. def asJs : JsExp

    Convert the model to a JavaScript object

    Convert the model to a JavaScript object

    definition classes: Mapper
  36. def asSafeJs (actual: ModelType, f: KeyObfuscator) : JsExp

    definition classes: KeyedMetaMapper
  37. def asSafeJs (f: KeyObfuscator) : JsExp

    definition classes: KeyedMapper
  38. 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
  39. 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
  40. val basePath : List[String]

    definition classes: ProtoUser
  41. def bccEmail : Box[String]

    definition classes: ProtoUser
  42. def beforeCreate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  43. def beforeDelete : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  44. def beforeSave : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  45. def beforeSchemifier : Unit

    definition classes: MetaMapperBaseMetaMapper
  46. def beforeUpdate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  47. def beforeValidation : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  48. def beforeValidationOnCreate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  49. def beforeValidationOnUpdate : List[(ModelType) ⇒ Unit]

    definition classes: MetaMapper
  50. def bindAttributes (attrs: Attributes) : Unit

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

    attributes: implicit
    definition classes: MetaMapper
  52. 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
  53. def buildMapper (rs: ResultSet) : List[Box[(ResultSet, Int, ModelType) ⇒ Unit]]

    definition classes: MetaMapper
  54. 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
  55. def bulkDelete_!! (dbId: ConnectionIdentifier, by: QueryParam[ModelType]*) : Boolean

    definition classes: MetaMapper
  56. def bulkDelete_!! (by: QueryParam[ModelType]*) : Boolean

    definition classes: MetaMapper
  57. 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
  58. def changePassword : NodeSeq

    definition classes: ProtoUser
  59. 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
  60. 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
  61. lazy val changePasswordPath : List[String]

    definition classes: ProtoUser
  62. def changePasswordSuffix : String

    definition classes: ProtoUser
  63. def changePasswordXhtml : Elem

    definition classes: ProtoUser
  64. def checkNames : Unit

    definition classes: Mapper
  65. 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
  66. def clone () : AnyRef

    This method creates and returns a copy of the receiver object.

    This method creates and returns a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    attributes: protected
    definition classes: AnyRef
  67. val columnNamesForInsert : String

    definition classes: MetaMapper
  68. 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
  69. val columnQueriesForInsert : String

    definition classes: MetaMapper
  70. def commonNameAttributeName : String

  71. def comparePrimaryKeys (other: ModelType) : Boolean

    definition classes: KeyedMapperMapper
  72. 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
  73. def connectionIdentifier : ConnectionIdentifier

    definition classes: Mapper
  74. def connectionIdentifier (id: ConnectionIdentifier) : ModelType

    definition classes: Mapper
  75. def count (by: QueryParam[ModelType]*) : Long

    definition classes: MetaMapper
  76. def count : Long

    definition classes: MetaMapper
  77. def countByInsecureSql (query: String, checkedBy: IHaveValidatedThisSQL) : Long

    definition classes: MetaMapper
  78. def countByInsecureSqlDb (dbId: ConnectionIdentifier, query: String, checkedBy: IHaveValidatedThisSQL) : Long

    definition classes: MetaMapper
  79. def countDb (dbId: ConnectionIdentifier, by: QueryParam[ModelType]*) : Long

    definition classes: MetaMapper
  80. def countryField : Box[MappedCountry[ModelType]]

    definition classes: Mapper
  81. def create : ModelType

    definition classes: MetaMapper
  82. def createInstance : ModelType

    definition classes: MetaMapper
  83. def createInstance (dbId: ConnectionIdentifier, rs: ResultSet, mapFuncs: List[Box[(ResultSet, Int, ModelType) ⇒ Unit]]) : ModelType

    definition classes: MetaMapper
  84. def createInstances [T] (dbId: ConnectionIdentifier, rs: ResultSet, start: Box[Long], omax: Box[Long], f: (ModelType) ⇒ Box[T]) : List[T]

    definition classes: MetaMapper
  85. def createInstances (dbId: ConnectionIdentifier, rs: ResultSet, start: Box[Long], omax: Box[Long]) : List[ModelType]

    definition classes: MetaMapper
  86. def createNewUserInstance () : TheUserType

    Create a new instance of the User

    Create a new instance of the User

    attributes: protected
    definition classes: MetaMegaProtoUserProtoUser
  87. 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
  88. 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
  89. 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
  90. 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
  91. def currentUser : Box[TheUserType]

    definition classes: ProtoUser
  92. def currentUserId : Box[String]

    definition classes: ProtoUser
  93. def dbAddTable : Box[() ⇒ Unit]

    definition classes: MetaMapperBaseMetaMapper
  94. def dbCalculateConnectionIdentifier : PartialFunction[ModelType, ConnectionIdentifier]

    definition classes: Mapper
  95. def dbDefaultConnectionIdentifier : ConnectionIdentifier

    definition classes: MetaMapper
  96. def dbIndexes : List[BaseIndex[ModelType]]

    definition classes: MetaMapperBaseMetaMapper
  97. def dbName : String

    The name of the mapped object

    The name of the mapped object

    definition classes: MetaMapperMapperBaseMapper
  98. def dbSelectDBConnectionForFind : PartialFunction[Long, ConnectionIdentifier]

    definition classes: KeyedMetaMapper
  99. def dbStringToKey (in: String) : Box[Long]

    definition classes: KeyedMetaMapper
  100. 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
  101. def db_can_delete_? : Boolean

    Can this model object be deleted?

    Can this model object be deleted?

    definition classes: Mapper
  102. 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
  103. def delete_! (toDelete: ModelType) : Boolean

    definition classes: MetaMapper
  104. def delete_! : Boolean

    Delete the model from the RDBMS

    Delete the model from the RDBMS

    definition classes: Mapper
  105. 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
  106. def dirty_? (toTest: ModelType) : Boolean

    definition classes: MetaMapper
  107. def dirty_? : Boolean

    definition classes: Mapper
  108. 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 &lt;td&gt; 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
  109. 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 &lt;th&gt; 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
  110. def doHtmlLine (toLine: ModelType) : NodeSeq

    definition classes: MetaMapper
  111. 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
  112. def edit : NodeSeq

    definition classes: ProtoUser
  113. 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
  114. object editFunc extends RequestVar[Box[() ⇒ NodeSeq]]

  115. lazy val editPath : List[String]

    definition classes: ProtoUser
  116. def editSnippet (xhtml: NodeSeq) : NodeSeq

    Default edit snippet.

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

    definition classes: KeyedMetaMapper
  117. 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
  118. 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
  119. def editSuffix : String

    definition classes: ProtoUser
  120. 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
  121. 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
  122. def editXhtml (user: TheUserType) : Elem

    definition classes: ProtoUser
  123. val elemName : String

    definition classes: MetaMapper
  124. def emailFrom : String

    definition classes: ProtoUser
  125. 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
  126. def eq (arg0: AnyRef) : Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of AnyRef: * It is reflexive: for any non-null instance x of type AnyRef, x.eq(x) returns true. * It is symmetric: for any non-null instances x and y of type AnyRef, x.eq(y) returns true if and only if y.eq(x) returns true. * It is transitive: for any non-null instances x, y, and z of type AnyRef if x.eq(y) returns true and y.eq(z) returns true, then x.eq(z) returns true.

    Additionally, the eq method has three other properties. * It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false. * For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false. * null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    arg0

    the object to compare against this object for reference equality.

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    attributes: final
    definition classes: AnyRef
  127. def equals (other: Any) : Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance x of type Any, x.equals(x) should return true. * It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true. * It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same scala.Int (o1.hashCode.equals(o2.hashCode)).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: KeyedMapper → AnyRef → Any
  128. 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
  129. 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
  130. def fieldMapperPF (transform: (BaseOwnedMappedField[ModelType]) ⇒ NodeSeq, actual: ModelType) : PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    definition classes: MetaMapper
  131. def fieldMapperPF (transform: (BaseOwnedMappedField[ModelType]) ⇒ NodeSeq) : FieldPF

    definition classes: Mapper
  132. lazy val fieldMatcher : PartialFunction[(ModelType, String), MappedField[Any, ModelType]]

    definition classes: MetaMapper
  133. def fieldOrder : List[FieldPointerType]

    definition classes: MetaLDAPProtoUserMetaMapper
  134. def fieldPF : FieldPF

    definition classes: Mapper
  135. implicit def fieldToItem [T] (in: MappedField[T, ModelType]) : IndexItem[ModelType]

    attributes: implicit
    definition classes: MetaMapper
  136. def finalize () : Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    The details of when and if the finalize method are invoked, as well as the interaction between finalizeand non-local returns and exceptions, are all platform dependent.

    attributes: protected
    definition classes: AnyRef
  137. def find (by: QueryParam[ModelType]*) : Box[ModelType]

    definition classes: KeyedMetaMapper
  138. def find (dbId: ConnectionIdentifier, key: String) : Box[ModelType]

    definition classes: KeyedMetaMapper
  139. def find (key: String) : Box[ModelType]

    definition classes: KeyedMetaMapper
  140. 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
  141. def find (key: Any) : Box[ModelType]

    definition classes: KeyedMetaMapper
  142. def findAll (by: QueryParam[ModelType]*) : List[ModelType]

    definition classes: MetaMapper
  143. def findAll () : List[ModelType]

    definition classes: MetaMapper
  144. def findAllByInsecureSql (query: String, checkedBy: IHaveValidatedThisSQL) : List[ModelType]

    definition classes: MetaMapper
  145. def findAllByInsecureSqlDb (dbId: ConnectionIdentifier, query: String, checkedBy: IHaveValidatedThisSQL) : List[ModelType]

    definition classes: MetaMapper
  146. def findAllByPreparedStatement (dbId: ConnectionIdentifier, stmt: PreparedStatement) : List[ModelType]

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

    definition classes: MetaMapper
  149. def findAllDb (dbId: ConnectionIdentifier, by: QueryParam[ModelType]*) : List[ModelType]

    definition classes: MetaMapper
  150. def findAllDb (dbId: ConnectionIdentifier) : List[ModelType]

    definition classes: MetaMapper
  151. def findAllFields (fields: Seq[SelectableField], by: QueryParam[ModelType]*) : List[ModelType]

    definition classes: MetaMapper
  152. def findAllFieldsDb (dbId: ConnectionIdentifier, fields: Seq[SelectableField], by: QueryParam[ModelType]*) : List[ModelType]

    definition classes: MetaMapper
  153. def findApplier (name: String, inst: AnyRef) : Box[(ModelType, AnyRef) ⇒ Unit]

    attributes: protected
    definition classes: MetaMapper
  154. def findByKey (key: Long) : Box[ModelType]

    definition classes: KeyedMetaMapper
  155. def findDb (dbId: ConnectionIdentifier, fields: Seq[SelectableField], by: QueryParam[ModelType]*) : Box[ModelType]

    definition classes: KeyedMetaMapper
  156. def findDb (dbId: ConnectionIdentifier, by: QueryParam[ModelType]*) : Box[ModelType]

    definition classes: KeyedMetaMapper
  157. def findDb (dbId: ConnectionIdentifier, key: Any) : Box[ModelType]

    definition classes: KeyedMetaMapper
  158. def findDbByKey (dbId: ConnectionIdentifier, fields: Seq[SelectableField], key: Long) : Box[ModelType]

    definition classes: KeyedMetaMapper
  159. def findDbByKey (dbId: ConnectionIdentifier, key: Long) : Box[ModelType]

    definition classes: KeyedMetaMapper
  160. def findMap [T] (by: QueryParam[ModelType]*)(f: (ModelType) ⇒ Box[T]) : List[T]

    definition classes: MetaMapper
  161. def findMapByInsecureSql [T] (query: String, checkedBy: IHaveValidatedThisSQL)(f: (ModelType) ⇒ Box[T]) : List[T]

    definition classes: MetaMapper
  162. def findMapByInsecureSqlDb [T] (dbId: ConnectionIdentifier, query: String, checkedBy: IHaveValidatedThisSQL)(f: (ModelType) ⇒ Box[T]) : List[T]

    definition classes: MetaMapper
  163. def findMapDb [T] (dbId: ConnectionIdentifier, by: QueryParam[ModelType]*)(f: (ModelType) ⇒ Box[T]) : List[T]

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

    definition classes: MetaMapper
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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 ( &lt;tr&gt; ) is presented, but you can change the function to display something else.

    definition classes: MetaMapper
  176. def formatFormLine (displayName: NodeSeq, form: NodeSeq) : NodeSeq

    definition classes: MetaMapper
  177. 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
  178. 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
  179. 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
  180. 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
  181. def getClass () : java.lang.Class[_]

    Returns a representation that corresponds to the dynamic class of the receiver object.

    Returns a representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    attributes: final
    definition classes: AnyRef
  182. def getSingleton : KeyedMetaMapper[Long, ModelType]

    attributes: abstract
    definition classes: KeyedMapperMapper
  183. def hashCode () : Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for the object.

    definition classes: KeyedMapper → AnyRef → Any
  184. def homePage : String

    definition classes: ProtoUser
  185. def htmlHeaders : NodeSeq

    definition classes: MetaMapper
  186. def htmlLine : NodeSeq

    definition classes: Mapper
  187. def indexedField (toSave: ModelType) : Box[MappedField[Any, ModelType]]

    definition classes: MetaMapper
  188. def isInstanceOf [T0] : Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

    This method is used to test whether the dynamic type of the receiver object is T0.

    Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    attributes: final
    definition classes: Any
  189. def ldapLogin (username: String, password: String) : Boolean

  190. def ldapUserSearch : String

    User search sentence

    User search sentence

  191. def ldapVendor : LDAPVendor

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

    attributes: protected
    definition classes: ProtoUser
  193. 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
  194. def logUserIdIn (id: String) : Unit

    definition classes: ProtoUser
  195. def logUserIn (who: TheUserType) : Unit

    definition classes: ProtoUser
  196. def logUserIn (who: TheUserType, postLogin: () ⇒ Nothing) : Nothing

    definition classes: ProtoUser
  197. def logUserOut () : Unit

    definition classes: ProtoUser
  198. def loggedIn_? : Boolean

    definition classes: ProtoUser
  199. def login : NodeSeq

    definition classes: MetaLDAPProtoUserProtoUser
  200. def loginErrorMessage : String

    Error messages

    Error messages

  201. def loginFirst : If

    definition classes: ProtoUser
  202. 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
  203. 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
  204. def loginPageURL : String

    Return the URL of the "login" page

    Return the URL of the "login" page

    definition classes: ProtoUser
  205. lazy val loginPath : List[String]

    definition classes: ProtoUser
  206. object loginRedirect extends SessionVar[Box[String]]

  207. def loginSuffix : String

    definition classes: ProtoUser
  208. def loginXhtml : Elem

    definition classes: MetaLDAPProtoUserProtoUser
  209. def logout : Nothing

    definition classes: ProtoUser
  210. def logoutCurrentUser : Unit

    definition classes: ProtoUser
  211. 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
  212. 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
  213. lazy val logoutPath : List[String]

    definition classes: ProtoUser
  214. def logoutSuffix : String

    definition classes: ProtoUser
  215. def lostPassword : NodeSeq

    definition classes: ProtoUser
  216. 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
  217. 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
  218. lazy val lostPasswordPath : List[String]

    definition classes: ProtoUser
  219. def lostPasswordSuffix : String

    definition classes: ProtoUser
  220. def lostPasswordXhtml : Elem

    definition classes: ProtoUser
  221. 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
  222. 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
  223. lazy val mappedFields : Seq[BaseMappedField]

    definition classes: MetaMapperBaseMetaMapper
  224. lazy val mappedFieldsForModel : List[net.liftweb.mapper.MappedField[_, ModelType]]

    definition classes: MetaMapper
  225. def menus : List[Menu]

    An alias for the sitemap property

    An alias for the sitemap property

    definition classes: ProtoUser
  226. 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
  227. 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
  228. 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
  229. def ne (arg0: AnyRef) : Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

    o.ne(arg0) is the same as !(o.eq(arg0)).

    arg0

    the object to compare against this object for reference dis-equality.

    returns

    false if the argument is not a reference to the receiver object; true otherwise.

    attributes: final
    definition classes: AnyRef
  230. def niceName (inst: TheUserType) : String

    Get a nice name for the user

    Get a nice name for the user

    definition classes: ProtoUser
  231. def niceNameWEmailLink (inst: TheUserType) : Elem

    Get an email link for the user

    Get an email link for the user

    definition classes: ProtoUser
  232. def notLoggedIn_? : Boolean

    definition classes: ProtoUser
  233. def notify () : Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  234. def notifyAll () : Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  235. 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
  236. var onLogIn : List[(TheUserType) ⇒ Unit]

    definition classes: ProtoUser
  237. var onLogOut : List[(Box[TheUserType]) ⇒ Unit]

    definition classes: ProtoUser
  238. def passwordReset (id: String) : NodeSeq

    definition classes: ProtoUser
  239. def passwordResetEmailSubject : String

    definition classes: ProtoUser
  240. def passwordResetMailBody (user: TheUserType, resetLink: String) : Elem

    definition classes: ProtoUser
  241. lazy val passwordResetPath : List[String]

    definition classes: ProtoUser
  242. def passwordResetSuffix : String

    definition classes: ProtoUser
  243. def passwordResetXhtml : Elem

    definition classes: ProtoUser
  244. def prependField (pf: FieldPF) : Unit

    definition classes: Mapper
  245. def primaryKeyField : MappedField[Long, ModelType] with IndexedField[Long]

    attributes: abstract
    definition classes: KeyedMapperBaseKeyedMapper
  246. def reload : ModelType

    definition classes: KeyedMapper
  247. 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
  248. 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
  249. val rootClass : java.lang.Class[_ >: ?0]

    attributes: protected
    definition classes: MetaMapper
  250. def runSafe [T] (f: ⇒ T) : T

    definition classes: Mapper
  251. 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
  252. def safe_? : Boolean

    attributes: final
    definition classes: Mapper
  253. def save (toSave: ModelType) : Boolean

    definition classes: MetaMapper
  254. def save () : Boolean

    definition classes: MapperBaseMapper
  255. def saveMe () : ModelType

    Save the instance and return the instance

    Save the instance and return the instance

    definition classes: Mapper
  256. def saved_? (toSave: ModelType) : Boolean

    definition classes: MetaMapper
  257. def saved_? : Boolean

    definition classes: Mapper
  258. 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
  259. 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
  260. 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
  261. def shortName (inst: TheUserType) : String

    Get a nice name for the user

    Get a nice name for the user

    definition classes: ProtoUser
  262. lazy val signUpPath : List[String]

    definition classes: ProtoUser
  263. def signUpSuffix : String

    definition classes: ProtoUser
  264. def signup : NodeSeq

    definition classes: ProtoUser
  265. 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
  266. object signupFunc extends RequestVar[Box[() ⇒ NodeSeq]]

    attributes: protected
  267. def signupMailBody (user: TheUserType, validationLink: String) : Elem

    definition classes: ProtoUser
  268. def signupMailSubject : String

    definition classes: ProtoUser
  269. def signupXhtml (user: TheUserType) : Elem

    definition classes: ProtoUser
  270. lazy val sitemap : List[Menu]

    definition classes: ProtoUser
  271. def sitemapMutator : (SiteMap) ⇒ SiteMap

    The SiteMap mutator function

    The SiteMap mutator function

    definition classes: ProtoUser
  272. def skipEmailValidation : Boolean

    definition classes: ProtoUser
  273. def snarfLastItem : String

    attributes: protected
    definition classes: ProtoUser
  274. 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
  275. 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
  276. def synchronized [T0] (arg0: T0) : T0

    attributes: final
    definition classes: AnyRef
  277. def testLoggedIn (page: String) : Boolean

    definition classes: ProtoUser
  278. lazy val testLogginIn : If

    definition classes: ProtoUser
  279. lazy val testSuperUser : If

    definition classes: ProtoUser
  280. def thePath (end: String) : List[String]

    definition classes: ProtoUser
  281. implicit def thisToMappee (in: Mapper[ModelType]) : ModelType

    attributes: implicit
    definition classes: Mapper
  282. def timeZoneField : Box[MappedTimeZone[ModelType]]

    definition classes: Mapper
  283. def toForm (toMap: ModelType) : NodeSeq

    definition classes: MetaMapper
  284. def toForm (button: Box[String], redoSnippet: (NodeSeq) ⇒ NodeSeq, onSuccess: (ModelType) ⇒ Unit) : NodeSeq

    definition classes: Mapper
  285. 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
  286. 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
  287. 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
  288. 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
  289. def toString () : String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    definition classes: Mapper → AnyRef → Any
  290. def toXml (what: ModelType) : Elem

    definition classes: MetaMapper
  291. def toXml : Elem

    definition classes: Mapper
  292. 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
  293. def uidAttributeName : String

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

    definition classes: KeyedMetaMapper
  295. 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
  296. 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
  297. def userMenu : List[Node]

    definition classes: ProtoUser
  298. 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
  299. 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
  300. def validate (toValidate: ModelType) : List[FieldError]

    attributes: final
    definition classes: MetaMapper
  301. def validate : List[FieldError]

    definition classes: Mapper
  302. 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
  303. def validateUser (id: String) : NodeSeq

    definition classes: ProtoUser
  304. 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
  305. 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
  306. lazy val validateUserPath : List[String]

    definition classes: ProtoUser
  307. def validateUserSuffix : String

    definition classes: ProtoUser
  308. 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
  309. def viewSnippet (xhtml: NodeSeq) : NodeSeq

    Default view snippet.

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

    definition classes: KeyedMetaMapper
  310. 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
  311. def wait () : Unit

    attributes: final
    definition classes: AnyRef
  312. def wait (arg0: Long, arg1: Int) : Unit

    attributes: final
    definition classes: AnyRef
  313. def wait (arg0: Long) : Unit

    attributes: final
    definition classes: AnyRef
  314. def whatToSet (toSave: ModelType) : String

    definition classes: MetaMapper
  315. 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