net.liftweb.mapper.UpdatedTrait

MyUpdatedAt

class MyUpdatedAt extends MappedDateTime[(UpdatedTrait.this)#MapperType] with LifecycleCallbacks

Attributes
protected
Linear Supertypes
LifecycleCallbacks, MappedDateTime[(UpdatedTrait.this)#MapperType], MappedField[Date, (UpdatedTrait.this)#MapperType], Equals, PSettableValueHolder[Date], PValueHolder[Date], BaseOwnedMappedField[(UpdatedTrait.this)#MapperType], BaseMappedField, Serializable, Serializable, MixableMappedField, BaseField, FieldContainer, SettableField, SettableValueHolder, Settable, ReadableField, ValueHolder, FieldIdentifier, Bindable, SelectableField, TypedField[Date], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MyUpdatedAt
  2. LifecycleCallbacks
  3. MappedDateTime
  4. MappedField
  5. Equals
  6. PSettableValueHolder
  7. PValueHolder
  8. BaseOwnedMappedField
  9. BaseMappedField
  10. Serializable
  11. Serializable
  12. MixableMappedField
  13. BaseField
  14. FieldContainer
  15. SettableField
  16. SettableValueHolder
  17. Settable
  18. ReadableField
  19. ValueHolder
  20. FieldIdentifier
  21. Bindable
  22. SelectableField
  23. TypedField
  24. AnyRef
  25. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MyUpdatedAt(obj: UpdatedTrait.this)

Type Members

  1. type TheOwnerType = (UpdatedTrait.this)#MapperType

    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 = Date

    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: Date): Date

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

    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[NodeSeq]

    Create an input field for the item

    Create an input field for the item

    Definition Classes
    MappedDateTimeMappedFieldBaseMappedField
  8. def actualField(actual: (UpdatedTrait.this)#MapperType): MappedField[Date, (UpdatedTrait.this)#MapperType]

    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 afterCreate: Unit

    Definition Classes
    LifecycleCallbacks
  10. def afterDelete: Unit

    Definition Classes
    LifecycleCallbacks
  11. def afterSave: Unit

    Definition Classes
    LifecycleCallbacks
  12. def afterUpdate: Unit

    Definition Classes
    LifecycleCallbacks
  13. def afterValidation: Unit

    Definition Classes
    LifecycleCallbacks
  14. def afterValidationOnCreate: Unit

    Definition Classes
    LifecycleCallbacks
  15. def afterValidationOnUpdate: Unit

    Definition Classes
    LifecycleCallbacks
  16. def allFields: Seq[BaseField]

    Definition Classes
    BaseField → FieldContainer
  17. 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
  18. def apply(v: Date): (UpdatedTrait.this)#MapperType

    Definition Classes
    MappedField
  19. def apply[Q](v: Q)(implicit arg0: (Q) ⇒ Date): (UpdatedTrait.this)#MapperType

    Definition Classes
    MappedField
  20. def asHtml: Node

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

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

    Definition Classes
    BaseMappedField
  23. def asJsExp: JsExp

    Definition Classes
    MappedDateTimeBaseMappedField
  24. def asJsonField: Box[JField]

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

    Definition Classes
    MappedDateTimeBaseMappedField
  26. 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
  27. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Definition Classes
    Settable
  28. def beforeCreate: Unit

    Definition Classes
    LifecycleCallbacks
  29. def beforeDelete: Unit

    Definition Classes
    LifecycleCallbacks
  30. def beforeSave(): Unit

    Definition Classes
    MyUpdatedAtLifecycleCallbacks
  31. def beforeUpdate: Unit

    Definition Classes
    LifecycleCallbacks
  32. def beforeValidation: Unit

    Definition Classes
    LifecycleCallbacks
  33. def beforeValidationOnCreate: Unit

    Definition Classes
    LifecycleCallbacks
  34. def beforeValidationOnUpdate: Unit

    Definition Classes
    LifecycleCallbacks
  35. def buildSetActualValue(accessor: Method, v: AnyRef, columnName: String): ((UpdatedTrait.this)#MapperType, AnyRef) ⇒ Unit

    Definition Classes
    MappedDateTimeMappedField
  36. def buildSetBooleanValue(accessor: Method, columnName: String): ((UpdatedTrait.this)#MapperType, Boolean, Boolean) ⇒ Unit

    Definition Classes
    MappedDateTimeMappedField
  37. def buildSetDateValue(accessor: Method, columnName: String): ((UpdatedTrait.this)#MapperType, Date) ⇒ Unit

    Definition Classes
    MappedDateTimeMappedField
  38. def buildSetLongValue(accessor: Method, columnName: String): ((UpdatedTrait.this)#MapperType, Long, Boolean) ⇒ Unit

    Definition Classes
    MappedDateTimeMappedField
  39. def buildSetStringValue(accessor: Method, columnName: String): ((UpdatedTrait.this)#MapperType, String) ⇒ Unit

    Definition Classes
    MappedDateTimeMappedField
  40. def calcFieldName: String

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def convertToJDBCFriendly(value: Date): AnyRef

    Definition Classes
    MappedField
  44. 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
  45. def dbAddedIndex: Box[() ⇒ Unit]

    Called when a column has indexed via Schemifier

    Called when a column has indexed via Schemifier

    Definition Classes
    MappedFieldBaseMappedField
  46. def dbAutogenerated_?: Boolean

    Is the primary key autogenerated

    Is the primary key autogenerated

    Definition Classes
    BaseMappedField
  47. def dbColumnCount: Int

    The number of database columns that this field represents

    The number of database columns that this field represents

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  48. def dbColumnName: String

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

    Definition Classes
    MappedFieldBaseMappedField
  50. def dbDisplay_?: Boolean

    Definition Classes
    BaseMappedField
  51. def dbFieldClass: Class[Date]

    What is the real class that corresponds to FieldType

    What is the real class that corresponds to FieldType

    Definition Classes
    MappedDateTimeTypedField
  52. def dbForeignKey_?: Boolean

    Is the field a foreign key reference

    Is the field a foreign key reference

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  53. def dbIgnoreSQLType_?: Boolean

    Do we ignore the targetSQLType for setObject

    Do we ignore the targetSQLType for setObject

    Definition Classes
    BaseMappedField
  54. def dbIncludeInForm_?: Boolean

    Definition Classes
    BaseMappedField
  55. 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
  56. def dbIndexed_?: Boolean

    Should the field be indexed?

    Should the field be indexed?

    Definition Classes
    MyUpdatedAtMappedFieldBaseMappedFieldMixableMappedField
  57. 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
  58. def dbPrimaryKey_?: Boolean

    Is the field the table's primary key

    Is the field the table's primary key

    Definition Classes
    MappedFieldBaseMappedFieldMixableMappedField
  59. def dbSelectString: String

    Definition Classes
    MappedFieldSelectableField
  60. def defaultValue: Date

    The default value for the field

    The default value for the field

    Definition Classes
    MyUpdatedAtMappedDateTimeTypedField
  61. def dirty_?(b: Boolean): Unit

    Make the field dirty

    Make the field dirty

    Attributes
    protected
    Definition Classes
    MappedField
  62. 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
  63. def displayHtml: NodeSeq

    Definition Classes
    ReadableField
  64. def displayName: String

    The display name of this field (e.

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

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

    Definition Classes
    ReadableField
  66. def doField(inst: (UpdatedTrait.this)#MapperType, meth: Method, func: PartialFunction[MappedField[Date, (UpdatedTrait.this)#MapperType], Unit]): Unit

    Attributes
    protected
    Definition Classes
    MappedField
  67. 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
    MappedDateTimeBaseMappedField
  68. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  69. 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
  70. 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
    MappedDateTimeMappedFieldBaseMappedField
  71. 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
  72. def fieldId: Option[NodeSeq]

    Definition Classes
    SettableField
  73. val fieldOwner: (UpdatedTrait.this)#MapperType

    Return the owner of this field

    Return the owner of this field

    Definition Classes
    MappedDateTimeMappedField
  74. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  75. 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
  76. 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
  77. def format(d: Date): String

    This method defines the string parsing semantics of this field.

    This method defines the string parsing semantics of this field. Used in toString, _toForm. By default uses LiftRules.dateTimeConverter's formatDateTime; override for field-specific behavior

    Definition Classes
    MappedDateTime
  78. def get: Date

    Convert the field to its "context free" type (e.

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

    Definition Classes
    AnyRef → Any
  80. def getField(inst: (UpdatedTrait.this)#MapperType, meth: Method): MappedField[Date, (UpdatedTrait.this)#MapperType]

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

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

    Definition Classes
    SettableField
  83. def i_is_!: Date

    The actual value of the field

    The actual value of the field

    Attributes
    protected
    Definition Classes
    MappedDateTimeMappedField
  84. def i_obscure_!(in: Date): Date

    Obscure the incoming value to a "safe" value (e.

    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
    MappedDateTimeMappedField
  85. final def i_set_!(value: Date): Date

    Attributes
    protected
    Definition Classes
    MappedField
  86. def i_was_!: Date

    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
    MappedDateTimeMappedField
  87. def ignoreField_?: Boolean

    Should the field be ignored by the OR Mapper?

    Should the field be ignored by the OR Mapper?

    Definition Classes
    MappedField
  88. def inFuture_?: Boolean

    Definition Classes
    MappedDateTime
  89. def inPast_?: Boolean

    Definition Classes
    MappedDateTime
  90. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  91. def jdbcFriendly(field: String): AnyRef

    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
    MappedDateTimeMappedFieldBaseMappedField
  92. 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
  93. final def name: String

    The name of this field

    The name of this field

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

    Definition Classes
    AnyRef
  95. def notNullAppender(): String

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

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

    Definition Classes
    AnyRef
  98. def parse(s: String): Box[Date]

    This method defines the string parsing semantics of this field.

    This method defines the string parsing semantics of this field. Used in setFromAny. By default uses LiftRules.dateTimeConverter's parseDateTime; override for field-specific behavior

    Definition Classes
    MappedDateTime
  99. def performAtomicOperation[T](f: ⇒ T): T

    Definition Classes
    Settable
  100. 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
    MappedDateTimeMappedField
  101. def real_convertToJDBCFriendly(value: Date): AnyRef

    Definition Classes
    MappedDateTimeMappedField
  102. def real_i_set_!(value: Date): Date

    Must be implemented to store the value of the field

    Must be implemented to store the value of the field

    Attributes
    protected
    Definition Classes
    MappedDateTimeMappedField
  103. def renderJs_?: Boolean

    Definition Classes
    BaseMappedField
  104. def required_?: Boolean

    Definition Classes
    SettableField
  105. def resetDirty: Unit

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

    Definition Classes
    MappedField
  107. final def safe_?: Boolean

    Are we in "safe" mode (i.

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

    Definition Classes
    MappedField
  108. def set(value: Date): Date

    Set the field to the value

    Set the field to the value

    Definition Classes
    MappedField → Settable
  109. def setFilter: List[(Date) ⇒ Date]

    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
  110. def setFromAny(f: Any): Date

    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
    MappedDateTimeMappedField
  111. def set_?(value: Box[Date]): Box[Date]

    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
  112. def shouldDisplay_?: Boolean

    Definition Classes
    ReadableField
  113. def show_?: Boolean

    Definition Classes
    SettableField
  114. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  115. def targetSQLType: Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedDateTimeMappedFieldBaseMappedField
  116. def targetSQLType(field: String): Int

    Get the JDBC SQL Type for this field

    Get the JDBC SQL Type for this field

    Definition Classes
    MappedFieldBaseMappedField
  117. def toForm: Box[NodeSeq]

    Definition Classes
    MappedField → SettableField
  118. def toFormAppendedAttributes: MetaData

    Definition Classes
    MappedField
  119. def toLong: Long

    Definition Classes
    MappedDateTime
  120. def toString(): String

    Definition Classes
    MappedDateTimeMappedField → AnyRef → Any
  121. 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
  122. def update[Q](v: Q)(implicit arg0: (Q) ⇒ Date): 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
  123. def uploadField_?: Boolean

    Definition Classes
    SettableField
  124. def validate: List[FieldError]

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

    Definition Classes
    MappedField → SettableField
  126. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  129. def was: Date

    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
  130. 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
    MappedDateTimeMappedField

Deprecated Value Members

  1. def is: Date

    Definition Classes
    MappedField → ValueHolder
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) Use get instead

Inherited from LifecycleCallbacks

Inherited from MappedDateTime[(UpdatedTrait.this)#MapperType]

Inherited from MappedField[Date, (UpdatedTrait.this)#MapperType]

Inherited from Equals

Inherited from PSettableValueHolder[Date]

Inherited from PValueHolder[Date]

Inherited from BaseOwnedMappedField[(UpdatedTrait.this)#MapperType]

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[Date]

Inherited from AnyRef

Inherited from Any

Ungrouped