net.liftweb.mapper.MegaProtoUser

trait MegaProtoUser

trait MegaProtoUser[T <: MegaProtoUser[T]]

 extends ProtoUser[T]




Source: ProtoUser.scala(705)

 Fields

allFields.. def allFields Seq[BaseField] Mapper
asHtml.. def asHtml NodeSeq Mapper
asJs.. def asJs
Convert the model to a JavaScript object
JsExp Mapper
asValid.. def asValid
Returns the instance in a Full Box if the instance is valid, otherwise returns a Failure with the validation errors
Box[A] Mapper
connectionIdentifier.. def connectionIdentifier ConnectionIdentifier Mapper
countryField.. def countryField Box[MappedCountry[A]] Mapper
dbCalculateConnectionIdentifier.. def dbCalculateConnectionIdentifier PartialFunction[A, ConnectionIdentifier] Mapper
dbName.. def dbName String Mapper
db_can_delete_?.. def db_can_delete_?
Can this model object be deleted?
Boolean Mapper
delete_!.. def delete_!
Delete the model from the RDBMS
Boolean Mapper
dirty_?.. def dirty_? Boolean Mapper
emailDisplayName.. def emailDisplayName String ProtoUser
fieldPF.. def fieldPF PartialFunction Mapper
firstNameDisplayName.. def firstNameDisplayName String ProtoUser
formFields.. def formFields
Get the fields (in order) for displaying a form
List[MappedField[Any, A]] Mapper
getSingleton.. abstract def getSingleton KeyedMetaMapper[KeyType, OwnerType] KeyedMapper
htmlLine.. def htmlLine NodeSeq Mapper
lastNameDisplayName.. def lastNameDisplayName String ProtoUser
locale.. object locale

 extends MappedLocale[T]
localeDisplayName.. def localeDisplayName String
localeField.. def localeField
If there's a field in this record that defines the locale, return it
Box[MappedLocale[A]] Mapper
niceName.. def niceName String ProtoUser
niceNameWEmailLink.. def niceNameWEmailLink Elem ProtoUser
passwordDisplayName.. def passwordDisplayName String ProtoUser
primaryKeyField.. override def primaryKeyField id ProtoUser
reload.. def reload OwnerType KeyedMapper
safe_?.. final def safe_? Boolean Mapper
saved_?.. def saved_? Boolean Mapper
shortName.. def shortName String ProtoUser
timeZoneField.. def timeZoneField Box[MappedTimeZone[A]] Mapper
timezone.. object timezone

 extends MappedTimeZone[T]
timezoneDisplayName.. def timezoneDisplayName String
toHtml.. def toHtml
Present the model as a HTML using the same formatting as toForm [details]
return
- the html view of the model
NodeSeq Mapper
toXml.. def toXml Elem Mapper
uniqueId.. object uniqueId

 extends MappedUniqueId[T]
userIdAsString.. def userIdAsString String ProtoUser
validate.. def validate List[FieldError] Mapper
validated.. object validated

 extends MappedBoolean[T]

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
appendField.. def appendField(pf : PartialFunction) Unit Mapper
asInstanceOf.. final def asInstanceOf[T0] T0 Any
asSafeJs.. def asSafeJs(f : KeyObfuscator) JsExp KeyedMapper
checkNames.. def checkNames Unit Mapper
clone.. protected def clone Object AnyRef
comparePrimaryKeys.. override def comparePrimaryKeys(other : OwnerType) Boolean KeyedMapper
connectionIdentifier.. def connectionIdentifier(id : ConnectionIdentifier) A Mapper
doPostCommit.. def doPostCommit(func : () => Unit)
Append a function to perform after the commit happens [details]
param
func - - the function to perform after the commit happens
A Mapper
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. override def equals(other : Any) Boolean KeyedMapper
fieldByName.. def fieldByName[T](fieldName : String)
Find the field by name [details]
param
fieldName - -- the name of the field to find
return
- Box[MappedField]
Box[MappedField[T, A]] Mapper
fieldMapperPF.. def fieldMapperPF(transform : (BaseOwnedMappedField[A]) => NodeSeq) PartialFunction Mapper
finalize.. protected def finalize Unit AnyRef
flatMapFieldTitleForm.. def flatMapFieldTitleForm[T](func : (NodeSeq, Box[NodeSeq], NodeSeq) => Seq[T])
flat map the fields titles and forms to generate a list [details]
param
func - called with displayHtml, fieldId, form
List[T] Mapper
flatMapFieldTitleForm2.. def flatMapFieldTitleForm2[T](func : (NodeSeq, MappedField[Any, A], NodeSeq) => Seq[T])
flat map the fields titles and forms to generate a list [details]
param
func - called with displayHtml, fieldId, form
List[T] Mapper
getClass.. final def getClass Class[Any] AnyRef
hashCode.. override def hashCode Int KeyedMapper
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
mapFieldTitleForm.. def mapFieldTitleForm[T](func : (NodeSeq, Box[NodeSeq], NodeSeq) => T)
map the fields titles and forms to generate a list [details]
param
func - called with displayHtml, fieldId, form
List[T] Mapper
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
prependField.. def prependField(pf : PartialFunction) Unit Mapper
runSafe.. def runSafe[T](f : => T) T Mapper
save.. def save Boolean Mapper
saveMe.. def saveMe
Save the instance and return the instance
A Mapper
suplementalJs.. def suplementalJs(ob : Box[KeyObfuscator])
If the instance calculates any additional fields for JSON object, put the calculated fields here
List[(String, JsExp)] Mapper
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
thisToMappee.. implicit def thisToMappee(in : Mapper[A]) A Mapper
toForm.. def toForm(button : Box[String], f : (A) => Any)
Present the model as a form and execute the function on submission of the form [details]
param
f - - the function to execute on form submission
button - - If it's Full, put a submit button on the form with the value of the parameter
return
- the form
NodeSeq Mapper
toForm.. def toForm(button : Box[String], onSuccess : String)
Present the model as a form and execute the function on submission of the form [details]
param
onSuccess - - redirect to the URL if the model validates, otherwise display the errors
button - - If it's Full, put a submit button on the form with the value of the parameter
return
- the form
NodeSeq Mapper
toForm.. def toForm(button : Box[String], redoSnippet : (NodeSeq) => NodeSeq, onSuccess : (A) => Unit) NodeSeq Mapper
toString.. override def toString String Mapper
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.