net.liftweb.mapper.BaseIndexedField

trait BaseIndexedField

trait BaseIndexedField

 extends BaseMappedField




Source: MappedField.scala(746)

Direct Known Subclasses

IndexedField,

 Fields

_dbColumnNameLC.. final def _dbColumnNameLC
The forced lower case column names
String BaseMappedField
_toForm.. abstract def _toForm
This is where the instance creates its "toForm" stuff [details]
The actual toForm method wraps the information based on mode.
Box[NodeSeq] BaseMappedField
allFields.. def allFields Seq[BaseField] BaseField
asHtml.. def asHtml NodeSeq ReadableField
asJsExp.. abstract def asJsExp JsExp BaseMappedField
asJsonField.. def asJsonField Box[JField] BaseMappedField
asJsonValue.. abstract def asJsonValue Box[JValue] BaseMappedField
asString.. abstract def asString
Convert the field to its name/value pair (e [details]
g., name=David)
String BaseMappedField
dbAutogenerated_?.. def dbAutogenerated_?
Is the primary key autogenerated
Boolean BaseMappedField
dbColumnCount.. abstract def dbColumnCount
The number of database columns that this field represents
Int BaseMappedField
dbColumnName.. abstract def dbColumnName String BaseMappedField
dbDisplay_?.. def dbDisplay_? Boolean BaseMappedField
dbForeignKey_?.. abstract def dbForeignKey_?
Is the field a foreign key reference
Boolean BaseMappedField
dbIgnoreSQLType_?.. def dbIgnoreSQLType_?
Do we ignore the targetSQLType for setObject
Boolean BaseMappedField
dbIncludeInForm_?.. def dbIncludeInForm_? Boolean BaseMappedField
dbIndexed_?.. abstract def dbIndexed_?
Should the field be indexed?
Boolean BaseMappedField
dbNotNull_?.. def dbNotNull_?
Set to true if the field should be created as NOT NULL
Boolean BaseMappedField
dbPrimaryKey_?.. abstract def dbPrimaryKey_?
Is the field the table's primary key
Boolean BaseMappedField
dbSelectString.. abstract def dbSelectString String SelectableField
displayHtml.. def displayHtml NodeSeq ReadableField
displayName.. def displayName String ReadableField
displayNameHtml.. def displayNameHtml Box[NodeSeq] ReadableField
fieldId.. def fieldId Option[NodeSeq] SettableField
get.. abstract def get ValueType ValueHolder
helpAsHtml.. def helpAsHtml Box[NodeSeq] SettableField
is.. abstract def is ValueType ValueHolder
jdbcFriendly.. abstract def jdbcFriendly
Get a JDBC friendly object for the part of this field that maps to the first column in the database
Object BaseMappedField
name.. abstract def name String ReadableField
renderJs_?.. def renderJs_? Boolean BaseMappedField
required_?.. def required_? Boolean SettableField
show_?.. def show_? Boolean SettableField
targetSQLType.. abstract def targetSQLType
Get the JDBC SQL Type for this field
Int BaseMappedField
toForm.. abstract def toForm Box[NodeSeq] SettableField
uniqueFieldId.. def uniqueFieldId Box[String] FieldIdentifier
uploadField_?.. def uploadField_? Boolean SettableField
validate.. abstract def validate List[FieldError] SettableField

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
asJs.. def asJs List[(String, JsExp)] BaseMappedField
clone.. protected def clone Object AnyRef
dbAddedColumn.. abstract def dbAddedColumn
Called when a column has been added to the database via Schemifier
Box[() => Unit] BaseMappedField
dbAddedIndex.. abstract def dbAddedIndex
Called when a column has indexed via Schemifier
Box[() => Unit] BaseMappedField
dbColumnNames.. abstract def dbColumnNames(in : String) List[String] BaseMappedField
doneWithSave.. protected[mapper] abstract def doneWithSave
Called after the field is saved to the database
Unit BaseMappedField
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
fieldCreatorString.. abstract def fieldCreatorString(dbType : DriverType)
Given the driver type, return a list of statements to create the columns in the database
List[String] BaseMappedField
fieldCreatorString.. abstract def fieldCreatorString(dbType : DriverType, colName : String)
Given the driver type, return the string required to create the column in the database
String BaseMappedField
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
jdbcFriendly.. abstract def jdbcFriendly(field : String)
Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database [details]
)
param
field - -- the name of the field being mapped to
Object BaseMappedField
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
set.. abstract def set(arg0 : ValueType) ValueType SettableValueHolder
setFilter.. protected abstract def setFilter List[(ValueType) => ValueType] SettableField
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
targetSQLType.. abstract def targetSQLType(field : String)
Get the JDBC SQL Type for this field
Int BaseMappedField
toString.. def toString String AnyRef
validations.. abstract def validations List[(ValueType) => List[FieldError]] SettableField
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.