net.liftweb.couchdb.JSONDateTimeField

class JSONDateTimeField

class JSONDateTimeField[OwnerType <: JSONRecord[OwnerType]](rec : OwnerType)

 extends DateTimeField[OwnerType] with JSONEncodedStringFieldMixin


Date/time data field for JSON records. Encodes as JString containing the internet formatted datetime


Source: JSONRecord.scala(383)

 Constructors

def this(rec : OwnerType, value : Calendar)
def this(rec : OwnerType, value : Box[Calendar])
def this(rec : OwnerType)

 Fields

asJValue.. def asJValue
Encode the field value into a JValue
JValue JSONEncodedStringFieldMixin
asJs.. def asJs JsExp with Product DateTimeField
asString.. def asString String OwnedField
asXHtml.. def asXHtml NodeSeq DateTimeField
canRead_?.. def canRead_? Boolean OwnedField
canWrite_?.. def canWrite_? Boolean OwnedField
checkCanRead_?.. def checkCanRead_? Boolean OwnedField
checkCanWrite_?.. def checkCanWrite_? Boolean OwnedField
defaultValue.. def defaultValue Calendar DateTimeField
defaultValueBox.. def defaultValueBox Box[MyType] OwnedField
dirty_?.. def dirty_? Boolean OwnedField
displayName.. def displayName String OwnedField
ignoreField_?.. def ignoreField_? Boolean OwnedField
jsonName.. def jsonName
Return Full(name) to use that name in the encoded JSON object, or Empty to use the same name as in Scala [details]
Defaults to Empty
Box[String] JSONField
label.. def label NodeSeq OwnedField
name.. def name String OwnedField
noValueErrorMessage.. def noValueErrorMessage String OwnedField
notOptionalErrorMessage.. def notOptionalErrorMessage String OwnedField
optional_?.. def optional_? Boolean OwnedField
owner.. def owner OwnerType DateTimeField
safe_?.. final def safe_? Boolean OwnedField
tabIndex.. def tabIndex Int OwnedField
toForm.. def toForm NodeSeq DateTimeField
toXHtml.. def toXHtml NodeSeq OwnedField
uniqueFieldId.. override def uniqueFieldId Box[String] OwnedField
value.. def value MyType OwnedField
valueBox.. def valueBox Box[MyType] OwnedField

 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
apply.. def apply(arg0 : ThisType) OwnerType Field
apply.. def apply(arg0 : Box[ThisType]) OwnerType Field
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clear.. def clear Unit OwnedField
clone.. protected def clone Object AnyRef
decode.. def decode(value : String)
Decode a JValue, with potential failure represented by Empty or Failure
Box[Calendar]
dirty_?.. protected def dirty_?(arg0 : Boolean) Unit OwnedField
encode.. def encode(value : Calendar)
Encode the current value of the field as a JValue
String
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
fromJValue.. def fromJValue(jvalue : JValue)
Decode the JValue and set the field to the decoded value [details]
Returns Empty or Failure if the value could not be set
Box[Any] JSONEncodedStringFieldMixin
genericSetFromAny.. protected final def genericSetFromAny(arg0 : Any) Box[MyType] OwnedField
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
obscure.. def obscure(arg0 : MyType) Box[MyType] OwnedField
resetDirty.. def resetDirty Unit OwnedField
runFilters.. def runFilters(arg0 : Box[MyType], arg1 : List[(Box[MyType]) => Box[MyType]]) Box[MyType] OwnedField
set.. def set(arg0 : MyType) MyType OwnedField
setBox.. def setBox(arg0 : Box[MyType]) Box[MyType] OwnedField
setFilter.. protected def setFilter List[(Box[MyType]) => Box[MyType]] OwnedField
setFromAny.. def setFromAny(arg0 : Any) Box[Calendar] DateTimeField
setFromString.. def setFromString(arg0 : String) Box[Calendar] DateTimeField
set_!.. protected def set_!(arg0 : Box[MyType]) Box[MyType] OwnedField
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. override def toString String OwnedField
validators.. def validators List[Function1] OwnedField
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.