com.gu.membership.salesforce

job

package job

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Action[T <: Result] extends AnyRef

    Defines an HTTP request which should return an object of type T

    Defines an HTTP request which should return an object of type T

    T

    The expected resultant object

  2. case class BatchInfo(id: String, jobId: String, state: String, stateMessage: String) extends Result with Product with Serializable

  3. sealed trait BatchInfoList extends Result

  4. case class CompletedBatchList(batches: Seq[BatchInfo]) extends BatchInfoList with Product with Serializable

  5. case class Error(msg: String) extends Throwable with Result with Product with Serializable

  6. case class FailedBatchList(batch: BatchInfo) extends BatchInfoList with Product with Serializable

  7. case class InProcessBatchList() extends BatchInfoList with Product with Serializable

  8. case class JobClose(job: JobInfo) extends WriteAction[JobInfo] with Product with Serializable

  9. case class JobCreate(op: String, objType: String) extends WriteAction[JobInfo] with Product with Serializable

  10. case class JobGetBatchList(job: JobInfo) extends ReadAction[BatchInfoList] with Product with Serializable

  11. case class JobInfo(id: String) extends Result with Product with Serializable

  12. case class QueryCreate(job: JobInfo, query: String) extends WriteAction[BatchInfo] with Product with Serializable

  13. case class QueryGetResult(batch: BatchInfo) extends ReadAction[QueryResult] with Product with Serializable

  14. case class QueryGetRows(batch: BatchInfo, query: QueryResult) extends ReadAction[QueryRows] with Product with Serializable

  15. case class QueryResult(id: String) extends Result with Product with Serializable

  16. case class QueryRows(records: Seq[Map[String, String]]) extends Result with Product with Serializable

  17. sealed trait ReadAction[T <: Result] extends Action[T]

    A GET request

  18. sealed trait Reader[T <: Result] extends AnyRef

    Converts the body of a Response to an object of type T.

    Converts the body of a Response to an object of type T. Assumes that the body is XML

    T

    The type of result this Reader returns

  19. sealed trait Result extends AnyRef

  20. sealed trait WriteAction[T <: Result] extends Action[T]

    A POST request

Value Members

  1. object Implicits

  2. object Reader

Ungrouped