c

dynamics.cli

UpdateProcessor

class UpdateProcessor extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateProcessor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateProcessor(context: DynamicsContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. val context: DynamicsContext
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findIdAndMkBody(pkcol: String, j: Dictionary[String]): Option[(String, String)]

    Returning None means the pk was not found in the js object.

    Returning None means the pk was not found in the js object. Only handles single value PKs. Removes pk if found. Mutates input object. Body is returned as a string via JSON.stringify.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mkBatch(inputs: Vector[InputContext[Object]], pkcol: String, mkRequest: (String, String) ⇒ HttpRequest[IO]): IO[String]

    Run the updates but in batch mode.

    Run the updates but in batch mode. (id,body) => HttpRequest.

  15. def mkBatchFromRequests(requests: Vector[(HttpRequest[IO], String)], useChangeSet: Boolean = true): IO[String]

    Run the updates but in batch mode.

    Run the updates but in batch mode. Inputs are: (request, source identifier)

  16. def mkOne(input: InputContext[Object], pkcol: String, update: (String, String) ⇒ IO[String]): IO[String]

    Run an update based on an input js.Object record and print a result.

    Run an update based on an input js.Object record and print a result. This function looks or the PK in the record, extracts it, removes it from the record, stringifies the resulting object as the body then calls the update function provided by the caller.

    pkcol

    PK attribute name in input record. Must be a single valued PK.

    update

    Function to perform the update: (id, body) => F[message body result as string].

    returns

    F[String] that can represent update success or failure.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def updateOneResultReporter(source: String, id: String): PartialFunction[Either[Throwable, String], String]

    Report out on an update attempt.

  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped