net.liftweb.mapper

MappedStringIndex

abstract class MappedStringIndex[T <: Mapper[T]] extends MappedUniqueId[T] with IndexedField[String]

Linear Supertypes
IndexedField[String], BaseIndexedField, MappedUniqueId[T], MappedString[T], HasApplyBoxString[T], StringValidators, MappedField[String, T], Equals, PSettableValueHolder[String], PValueHolder[String], BaseOwnedMappedField[T], BaseMappedField, Serializable, Serializable, MixableMappedField, BaseField, FieldContainer, SettableField, SettableValueHolder, Settable, ReadableField, ValueHolder, FieldIdentifier, Bindable, SelectableField, TypedField[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedStringIndex
  2. IndexedField
  3. BaseIndexedField
  4. MappedUniqueId
  5. MappedString
  6. HasApplyBoxString
  7. StringValidators
  8. MappedField
  9. Equals
  10. PSettableValueHolder
  11. PValueHolder
  12. BaseOwnedMappedField
  13. BaseMappedField
  14. Serializable
  15. Serializable
  16. MixableMappedField
  17. BaseField
  18. FieldContainer
  19. SettableField
  20. SettableValueHolder
  21. Settable
  22. ReadableField
  23. ValueHolder
  24. FieldIdentifier
  25. Bindable
  26. SelectableField
  27. TypedField
  28. AnyRef
  29. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedStringIndex(fieldOwner: T, maxLen: Int)

Type Members

  1. type TheOwnerType = T

    Will be set to the type of the owner of the field

    Will be set to the type of the owner of the field

    Definition Classes
    MappedFieldMixableMappedField
  2. type ValueType = String

    Will be set to the type of the field

    Will be set to the type of the field

    Definition Classes
    MappedField → PValueHolder → ValueHolder

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def :=(v: String): String

    Definition Classes
    MappedField
  4. def :=[Q](v: Q)(implicit arg0: (Q) ⇒ String): String

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

    Definition Classes
    AnyRef → Any
  6. final def _dbColumnNameLC: String

    The forced lower case column names

    The forced lower case column names

    Definition Classes
    BaseMappedField
  7. def _toForm: Box[Elem]

    Create an input field for the item

    Create an input field for the item

    Definition Classes
    MappedStringMappedFieldBaseMappedField
  8. def actualField(actual: T): MappedField[String, T]

    Get the field that this prototypical field represents

    Get the field that this prototypical field represents

    actual

    the object to find the field on

    Definition Classes
    MappedField
  9. def allFields: Seq[BaseField]

    Definition Classes
    BaseField → FieldContainer
  10. def appendFieldId(in: Elem): Elem

    If the field has a defined fieldId, append it

    If the field has a defined fieldId, append it

    Attributes
    protected
    Definition Classes
    MappedField
  11. def apply(v: String): T

    Definition Classes
    MappedStringHasApplyBoxStringMappedField
  12. def apply[Q](v: Q)(implicit arg0: (Q) ⇒ String): T

    Definition Classes
    MappedField
  13. def asHtml: Node

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField → ReadableField → Bindable
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def asJs: List[(String, JsExp)]

    Definition Classes
    BaseMappedField
  16. def asJsExp: JsExp

    Definition Classes
    MappedStringBaseMappedField
  17. def asJsonField: Box[JField]

    Definition Classes
    BaseMappedField
  18. def asJsonValue: Box[JValue]

    Definition Classes
    MappedStringBaseMappedField
  19. def asString: String

    Return the field name and field value, delimited by an '='

    Return the field name and field value, delimited by an '='

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  20. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Definition Classes
    Settable
  21. def boxStrToValType(in: Box[String]): String

    Attributes
    protected
    Definition Classes
    MappedString → StringValidators
  22. def buildSetActualValue(accessor: Method, inst: AnyRef, columnName: String): (T, AnyRef) ⇒ Unit

    Definition Classes
    MappedStringMappedField
  23. def buildSetBooleanValue(accessor: Method, columnName: String): (T, Boolean, Boolean) ⇒ Unit

    Definition Classes
    MappedStringMappedField
  24. def buildSetDateValue(accessor: Method, columnName: String): (T, Date) ⇒ Unit

    Definition Classes
    MappedStringMappedField
  25. def buildSetLongValue(accessor: Method, columnName: String): (T, Long, Boolean) ⇒ Unit

    Definition Classes
    MappedStringMappedField
  26. def buildSetStringValue(accessor: Method, columnName: String): (T, String) ⇒ Unit

    Definition Classes
    MappedStringMappedField
  27. def calcFieldName: String

    Definition Classes
    MappedField
  28. def canEqual(that: Any): Boolean

    Definition Classes
    MappedField → Equals
  29. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def convertKey(in: AnyRef): Box[String]

    Definition Classes
    MappedStringIndexIndexedField
  31. def convertKey(in: Long): Box[String]

    Definition Classes
    MappedStringIndexIndexedField
  32. def convertKey(in: Int): Box[String]

    Definition Classes
    MappedStringIndexIndexedField
  33. def convertKey(in: String): Box[String]

    Definition Classes
    MappedStringIndexIndexedField
  34. final def convertToJDBCFriendly(value: String): AnyRef

    Definition Classes
    MappedField
  35. def crop(in: ValueType): ValueType

    Definition Classes
    StringValidators
  36. def dbAddedColumn: Box[() ⇒ Unit]

    Called when a column has been added to the database via Schemifier

    Called when a column has been added to the database via Schemifier

    Definition Classes
    MappedFieldBaseMappedField
  37. def dbAddedIndex: Box[() ⇒ Unit]

    Called when a column has indexed via Schemifier

    Called when a column has indexed via Schemifier

    Definition Classes
    MappedFieldBaseMappedField
  38. def dbAutogenerated_?: Boolean

    Is the primary key autogenerated

    Is the primary key autogenerated

    Definition Classes
    BaseMappedField
  39. def dbColumnCount: Int

    The number of database columns that this field represents

    The number of database columns that this field represents

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  40. def dbColumnName: String

    Definition Classes
    MappedFieldBaseMappedField
  41. def dbColumnNames(in: String): List[String]

    Definition Classes
    MappedFieldBaseMappedField
  42. def dbDisplay_?: Boolean

  43. def dbFieldClass: Class[String]

    What is the real class that corresponds to FieldType

    What is the real class that corresponds to FieldType

    Definition Classes
    MappedStringTypedField
  44. def dbForeignKey_?: Boolean

    Is the field a foreign key reference

    Is the field a foreign key reference

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  45. def dbIgnoreSQLType_?: Boolean

    Do we ignore the targetSQLType for setObject

    Do we ignore the targetSQLType for setObject

    Definition Classes
    BaseMappedField
  46. def dbIncludeInForm_?: Boolean

    Definition Classes
    BaseMappedField
  47. def dbIndexFieldIndicatesSaved_?: Boolean

    override this method in indexed fields to indicate that the field has been saved

    override this method in indexed fields to indicate that the field has been saved

    Definition Classes
    MappedField
  48. def dbIndexed_?: Boolean

    Should the field be indexed?

    Should the field be indexed?

    Definition Classes
    MappedStringIndexMappedFieldBaseMappedFieldMixableMappedField
  49. def dbNotNull_?: Boolean

    Set to true if the field should be created as NOT NULL

    Set to true if the field should be created as NOT NULL

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  50. def dbPrimaryKey_?: Boolean

    Is the field the table's primary key

    Is the field the table's primary key

    Definition Classes
    MappedStringIndexMappedFieldBaseMappedFieldMixableMappedField
  51. def dbSelectString: String

    Definition Classes
    MappedFieldSelectableField
  52. lazy val defaultValue: String

    The default value for the field

    The default value for the field

    Definition Classes
    MappedUniqueIdMappedStringTypedField
  53. def defined_?: Boolean

  54. def dirty_?(b: Boolean): Unit

    Make the field dirty

    Make the field dirty

    Attributes
    protected
    Definition Classes
    MappedField
  55. def dirty_?: Boolean

    Is the field dirty (has it been changed since the record was loaded from the database

    Is the field dirty (has it been changed since the record was loaded from the database

    Definition Classes
    MappedField
  56. def displayHtml: NodeSeq

    Definition Classes
    ReadableField
  57. def displayName: String

    The display name of this field (e.g., "First Name")

    The display name of this field (e.g., "First Name")

    Definition Classes
    MappedField → ReadableField
  58. def displayNameHtml: Box[NodeSeq]

    Definition Classes
    ReadableField
  59. def doField(inst: T, meth: Method, func: PartialFunction[MappedField[String, T], Unit]): Unit

    Attributes
    protected
    Definition Classes
    MappedField
  60. def doneWithSave(): Unit

    Called after the field is saved to the database

    Called after the field is saved to the database

    Attributes
    protected[net.liftweb.mapper]
    Definition Classes
    MappedStringBaseMappedField
  61. final def eq(arg0: AnyRef): Boolean

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

    Does the "right thing" comparing mapped fields

    Does the "right thing" comparing mapped fields

    Definition Classes
    MappedField → Equals → AnyRef → Any
  63. def fieldCreatorString(dbType: DriverType, colName: String): String

    Given the driver type, return the string required to create the column in the database

    Given the driver type, return the string required to create the column in the database

    Definition Classes
    MappedStringMappedFieldBaseMappedField
  64. def fieldCreatorString(dbType: DriverType): List[String]

    Given the driver type, return a list of SQL creation strings for the columns represented by this field

    Given the driver type, return a list of SQL creation strings for the columns represented by this field

    Definition Classes
    MappedFieldBaseMappedField
  65. def fieldId: Option[NodeSeq]

    Definition Classes
    SettableField
  66. val fieldOwner: T

    Return the owner of this field

    Return the owner of this field

    Definition Classes
    MappedStringIndexMappedUniqueIdMappedStringMappedField
  67. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  68. def formElemAttrs: Seq[http.SHtml.ElemAttr]

    What form elements are we going to add to this field?

    What form elements are we going to add to this field?

    Definition Classes
    BaseMappedField
  69. def formInputType: String

    When building the form field, what's the input element's type attribute.

    When building the form field, what's the input element's type attribute. Defaults to 'text', but change to 'email' or other HTML5 values.

    Attributes
    protected
    Definition Classes
    MappedField
  70. def get: String

    Convert the field to its "context free" type (e.g., String, Int, Long, etc.) If there are no read permissions, the value will be obscured

    Convert the field to its "context free" type (e.g., String, Int, Long, etc.) If there are no read permissions, the value will be obscured

    Definition Classes
    MappedField → ValueHolder
  71. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  72. def getField(inst: T, meth: Method): MappedField[String, T]

    Attributes
    protected
    Definition Classes
    MappedField
  73. def hashCode(): Int

    Definition Classes
    MappedField → AnyRef → Any
  74. def helpAsHtml: Box[NodeSeq]

    Definition Classes
    SettableField
  75. def i_is_!: String

    The actual value of the field

    The actual value of the field

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  76. def i_obscure_!(in: String): String

    Obscure the incoming value to a "safe" value (e.g., if there are not enough rights to view the entire social security number 123-45-5678, this method might return ***-**-*678

    Obscure the incoming value to a "safe" value (e.g., if there are not enough rights to view the entire social security number 123-45-5678, this method might return ***-**-*678

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  77. final def i_set_!(value: String): String

    Attributes
    protected
    Definition Classes
    MappedField
  78. def i_was_!: String

    The value of the field when it was pulled from the DB

    The value of the field when it was pulled from the DB

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  79. def ignoreField_?: Boolean

    Should the field be ignored by the OR Mapper?

    Should the field be ignored by the OR Mapper?

    Definition Classes
    MappedField
  80. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  81. def jdbcFriendly(field: String): 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.)

    Get a JDBC friendly representation of the named field (this is used for MappedFields that correspond to more than 1 column in the database.)

    field

    -- the name of the field being mapped to

    Definition Classes
    MappedStringMappedFieldBaseMappedField
  82. def jdbcFriendly: AnyRef

    Get a JDBC friendly object for the part of this field that maps to the first column in the database

    Get a JDBC friendly object for the part of this field that maps to the first column in the database

    Definition Classes
    MappedFieldBaseMappedField
  83. def makeKeyJDBCFriendly(in: String): String

    Definition Classes
    MappedStringIndexIndexedField
  84. def manifest: scala.reflect.api.JavaUniverse.TypeTag[String]

    Definition Classes
    MappedStringMappedField
  85. val maxLen: Int

    Definition Classes
    MappedStringIndexMappedUniqueIdMappedString → StringValidators
  86. final def name: String

    The name of this field

    The name of this field

    Definition Classes
    MappedField → ReadableField
  87. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  88. def notNull(in: ValueType): ValueType

    Definition Classes
    StringValidators
  89. def notNullAppender(): String

    Definition Classes
    MappedField
  90. final def notify(): Unit

    Definition Classes
    AnyRef
  91. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  92. def performAtomicOperation[T](f: ⇒ T): T

    Definition Classes
    Settable
  93. def readPermission_?: Boolean

    Given the current execution state, can the field be read?

    Given the current execution state, can the field be read?

    Definition Classes
    MappedStringMappedField
  94. def real_convertToJDBCFriendly(value: String): AnyRef

    Definition Classes
    MappedStringMappedField
  95. def real_i_set_!(value: String): String

    Must be implemented to store the value of the field

    Must be implemented to store the value of the field

    Attributes
    protected
    Definition Classes
    MappedStringMappedField
  96. def removeRegExChars(regEx: String)(in: ValueType): ValueType

    Definition Classes
    StringValidators
  97. def renderJs_?: Boolean

    Definition Classes
    BaseMappedField
  98. def required_?: Boolean

    Definition Classes
    SettableField
  99. def reset(): T

    Definition Classes
    MappedUniqueId
  100. def resetDirty: Unit

    Definition Classes
    MappedField
  101. def runFilters(in: String, filter: List[(String) ⇒ String]): String

    Definition Classes
    MappedField
  102. final def safe_?: Boolean

    Are we in "safe" mode (i.e., the value of the field can be read or written without any security checks.)

    Are we in "safe" mode (i.e., the value of the field can be read or written without any security checks.)

    Definition Classes
    MappedField
  103. def set(value: String): String

    Set the field to the value

    Set the field to the value

    Definition Classes
    MappedField → Settable
  104. def setFilter: List[(String) ⇒ String]

    A list of functions that transform the value before it is set.

    A list of functions that transform the value before it is set. The transformations are also applied before the value is used in a query. Typical applications of this are trimming and/or toLowerCase-ing strings

    Definition Classes
    MappedField → SettableField
  105. def setFromAny(in: Any): String

    Attempt to figure out what the incoming value is and set the field to that value.

    Attempt to figure out what the incoming value is and set the field to that value. Return true if the value could be assigned

    Definition Classes
    MappedStringMappedField
  106. def set_?(value: Box[String]): Box[String]

    Set the field to the Box value if the Box is Full

    Set the field to the Box value if the Box is Full

    Definition Classes
    MappedField
  107. def shouldDisplay_?: Boolean

    Definition Classes
    ReadableField
  108. def show_?: Boolean

    Definition Classes
    SettableField
  109. def sourceFieldInfo(): SourceFieldInfo { type T = String }

    Definition Classes
    MappedField
  110. def sourceInfoMetadata(): SourceFieldMetadata { type ST = String }

    Get the source field metadata for the field

    Get the source field metadata for the field

    returns

    the source field metadata for the field

    Definition Classes
    MappedStringMappedField
  111. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  112. def targetSQLType: Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedStringMappedFieldBaseMappedField
  113. def targetSQLType(field: String): Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedFieldBaseMappedField
  114. def toForm: Box[Elem]

    Definition Classes
    MappedStringMappedField → SettableField
  115. def toFormAppendedAttributes: MetaData

    Definition Classes
    MappedField
  116. def toLower(in: ValueType): ValueType

    Definition Classes
    StringValidators
  117. def toString(): String

    Definition Classes
    MappedField → AnyRef → Any
  118. def toUpper(in: ValueType): ValueType

    Definition Classes
    StringValidators
  119. def trim(in: ValueType): ValueType

    Definition Classes
    StringValidators
  120. def uniqueFieldId: Box[String]

    The unique field id is the field name and the mapper name

    The unique field id is the field name and the mapper name

    Definition Classes
    MappedField → FieldIdentifier
  121. def update[Q](v: Q)(implicit arg0: (Q) ⇒ String): Unit

    Assignment from the underlying type.

    Assignment from the underlying type. It's ugly, but:
    field() = new_value
    field set new_value
    field.set(new_value)
    are all the same

    Definition Classes
    MappedField
  122. def uploadField_?: Boolean

    Definition Classes
    SettableField
  123. def valMaxLen(len: Int, msg: ⇒ String)(value: ValueType): List[FieldError]

    Definition Classes
    StringValidators
  124. def valMinLen(len: Int, msg: ⇒ String)(value: ValueType): List[FieldError]

    Definition Classes
    StringValidators
  125. def valRegex(pat: Pattern, msg: ⇒ String)(value: ValueType): List[FieldError]

    Definition Classes
    StringValidators
  126. def valUnique(msg: ⇒ String)(value: String): List[FieldError]

    Make sure that the field is unique in the database

    Make sure that the field is unique in the database

    Definition Classes
    MappedString
  127. def validate: List[FieldError]

    Definition Classes
    MappedField → SettableField
  128. def validations: List[(String) ⇒ List[FieldError]]

    Definition Classes
    MappedField → SettableField
  129. def valueTypeToBoxString(in: String): Box[String]

    Attributes
    protected
    Definition Classes
    MappedString → StringValidators
  130. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. def was: String

    What value was the field's value when it was pulled from the DB?

    What value was the field's value when it was pulled from the DB?

    Definition Classes
    MappedField
  134. def writePermission_?: Boolean

    Given the current execution state, can the field be written?

    Given the current execution state, can the field be written?

    Definition Classes
    MappedStringIndexMappedUniqueIdMappedStringMappedField

Inherited from IndexedField[String]

Inherited from BaseIndexedField

Inherited from MappedUniqueId[T]

Inherited from MappedString[T]

Inherited from HasApplyBoxString[T]

Inherited from StringValidators

Inherited from MappedField[String, T]

Inherited from Equals

Inherited from PSettableValueHolder[String]

Inherited from PValueHolder[String]

Inherited from BaseOwnedMappedField[T]

Inherited from BaseMappedField

Inherited from Serializable

Inherited from Serializable

Inherited from MixableMappedField

Inherited from BaseField

Inherited from FieldContainer

Inherited from SettableField

Inherited from SettableValueHolder

Inherited from Settable

Inherited from ReadableField

Inherited from ValueHolder

Inherited from FieldIdentifier

Inherited from Bindable

Inherited from SelectableField

Inherited from TypedField[String]

Inherited from AnyRef

Inherited from Any

Ungrouped