com.gilt.opm

RichOpmAuditObject

case class RichOpmAuditObject[T <: OpmAuditedObject[U], U](obj: T)(implicit evidence$3: Manifest[T]) extends RichOpmObjectInitializer[T] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, RichOpmObjectInitializer[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichOpmAuditObject
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RichOpmObjectInitializer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichOpmAuditObject(obj: T)(implicit arg0: Manifest[T])

Value Members

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

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

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def -:-(that: RichOpmObjectInitializer[T]): Set[Diff]

    Definition Classes
    RichOpmObjectInitializer
  5. def ::(currentHead: RichOpmObjectInitializer[T]): T

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

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

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def by(updatedBy: U, updateReason: String): T

    To keep track of who made a particular change, and why.

    To keep track of who made a particular change, and why. This is useful when looking at the history of changes. It will get attached to the current diff, and exposed as opmUpdatedBy and opmUpdateReason. Example usage:

    obj.set(_.name).to("My Name").by("00000000-0000-0000-0000-000000000000", "updated from service x")

    or

    obj. set(_.name).to("My Name"). set(_.description).to("My desc"). set(_.time).to(new DateTime()). prune. by("00000000-0000-0000-0000-000000000000", "updated from service x")

    updatedBy

    A guid-type identifier of the person/application responsible for the change.

    updateReason

    A readable reason why/how the change occurred.

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def diff(that: RichOpmObjectInitializer[_]): Set[Diff]

    Definition Classes
    RichOpmObjectInitializer
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def evolve(that: RichOpmObjectInitializer[_]): T

    Definition Classes
    RichOpmObjectInitializer
  14. def evolve(changes: Set[Diff]): T

    Definition Classes
    RichOpmObjectInitializer
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def forceAfter(currentHead: RichOpmObjectInitializer[T]): T

    Definition Classes
    RichOpmObjectInitializer
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isPending[V](v: (T) ⇒ V): Boolean

    Use this method to check if a field is pending, without resorting to a try.

    Use this method to check if a field is pending, without resorting to a try...catch

    Definition Classes
    RichOpmObjectInitializer
  20. lazy val model: OpmProxy

    Attributes
    protected
    Definition Classes
    RichOpmObjectInitializer
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

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

    Definition Classes
    AnyRef
  24. val obj: T

  25. def prune: T

    Definition Classes
    RichOpmObjectInitializer
  26. def set[V](v: (T) ⇒ V): RichOpmObjectSetter[T, V]

    Definition Classes
    RichOpmObjectInitializer
  27. var stack: Stack[Scratch]

    Attributes
    protected
    Definition Classes
    RichOpmObjectInitializer
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def timeline: Stream[T]

    Definition Classes
    RichOpmObjectInitializer
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RichOpmObjectInitializer[T]

Inherited from AnyRef

Inherited from Any

Ungrouped