org.positronicnet.orm

RecordId

class RecordId [T <: ManagedRecord] extends NonSharedNotifier[T] with Serializable

Representation for a record ID.

Ordinarily just wraps a Long, but also tracks when records have been saved, which can be useful when creating a base record (e.g., TodoList) and several dependent records (e.g., TodoItem) in one go.

Linear Supertypes
Serializable, Serializable, NonSharedNotifier[T], BaseNotifierImpl[T], NotifierImpl[T], Notifier[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RecordId
  2. Serializable
  3. Serializable
  4. NonSharedNotifier
  5. BaseNotifierImpl
  6. NotifierImpl
  7. Notifier
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Value Members

  1. def ! (action: Action[T]): Unit

    Perform the action, usually on a worker thread associated with this notifier.

    Perform the action, usually on a worker thread associated with this notifier. Results may be posted back to the calling thread, viz. the conventions documented in org.positronicnet.notifications.Actions.

    Definition Classes
    BaseNotifierImplNotifier
  2. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  3. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  4. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. val changeHandlers : HashMap[AnyRef, (T) ⇒ Unit]

    Attributes
    protected
    Definition Classes
    BaseNotifierImpl
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def currentValue : T

    Attributes
    protected
    Definition Classes
    RecordIdNonSharedNotifierBaseNotifierImpl
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (other: Any): Boolean

    Definition Classes
    RecordId → AnyRef → Any
  13. def fetchOnThisThread : T

    Synchronously fetch the value being monitored by this Notifier.

    Synchronously fetch the value being monitored by this Notifier.

    Definition Classes
    BaseNotifierImplNotifier
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hashCode (): Int

    Definition Classes
    RecordId → AnyRef → Any
  17. val id : Long

  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def isNewRecord : Boolean

  20. def mgr : BaseRecordManager[T]

    Record manager for this ID.

    Record manager for this ID. Ordinarily it's just a reference to the record manager that constructed us, but if we got serialized and deserialized, the

  21. val mgrArg : BaseRecordManager[T]

  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def noteChange : Unit

  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def onThisThread (action: Action[T]): Unit

    Perform the action, synchronously on the calling thread.

    Perform the action, synchronously on the calling thread.

    Definition Classes
    BaseNotifierImplNotifier
  27. def onThread (thunk: ⇒ Unit): Unit

    Definition Classes
    RecordIdBaseNotifierImpl
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    RecordId → AnyRef → Any
  30. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from NonSharedNotifier[T]

Inherited from BaseNotifierImpl[T]

Inherited from NotifierImpl[T]

Inherited from Notifier[T]

Inherited from AnyRef

Inherited from Any