Package

eu.shiftforward.adstax.productfeeder

rpc

Permalink

package rpc

Visibility
  1. Public
  2. All

Type Members

  1. case class DeleteProduct(clientId: String, siteId: String, productId: String) extends ProductFeederOperation with Product with Serializable

    Permalink

    Represents a delete product operation, for a given clientId and siteId, if provided.

    Represents a delete product operation, for a given clientId and siteId, if provided.

    clientId

    the id of the client

    siteId

    the optional id of the site, if none the product will be delete at a client level, if set it will delete both

    productId

    the id of the product

  2. case class DeleteProductResult(clientId: String, siteId: String, productId: String) extends ProductFeederOperationResult with Product with Serializable

    Permalink

    Represents the result of an DeleteProduct operation.

    Represents the result of an DeleteProduct operation.

    clientId

    the client id

    siteId

    the site id

    productId

    the id of the product

  3. case class DownloadFeed(clientId: String, siteId: String, xmlUrl: URI, mimeType: SupportedMimes) extends ProductFeederOperation with Product with Serializable

    Permalink

    Represents a product feed download and import operation.

    Represents a product feed download and import operation.

    xmlUrl

    a valid URL pointing to a valid XML product feed

  4. case class DownloadFeedResult(productCount: Int, msg: Option[String] = None) extends ProductFeederOperationResult with Product with Serializable

    Permalink

    Represents the result of a DownloadFeed operation

    Represents the result of a DownloadFeed operation

    productCount

    the number of inserted products

  5. case class GetProduct(query: ProductQuery) extends ProductFeederOperation with Product with Serializable

    Permalink

    Represents get product operation.

    Represents get product operation.

    query

    the query for the product (userId, siteId, ...)

  6. case class GetProductResult(productResult: Option[ProductItem]) extends ProductFeederOperationResult with Product with Serializable

    Permalink

    Represents the result of a GetProduct operation.

    Represents the result of a GetProduct operation.

    productResult

    the optional product item

  7. sealed trait ProductFeederOperation extends AnyRef

    Permalink

    Represents a supported operation of the ProductActor.

  8. sealed trait ProductFeederOperationResult extends AnyRef

    Permalink

    Represents the supported responses from a given eu.shiftforward.adstax.productfeeder.rpc.ProductFeederOperation.

  9. class ProductFeederRmqRpcClient extends ProductFeederClient with RmqRpcJsonClient

    Permalink

    The AMQP RPC Client to interact with for the Product Feeder.

  10. case class ProductQuery(clientId: String, siteId: String, productId: String) extends Product with Serializable

    Permalink

    Represents a query for a given product.

    Represents a query for a given product.

    clientId

    the id of the client

    siteId

    optinal site id, if none the query will search for the product at a client level

    productId

    the id of the product

  11. sealed trait SupportedMimes extends AnyRef

    Permalink
  12. case class UpdateProduct(clientId: String, siteId: String, product: ProductItem) extends ProductFeederOperation with Product with Serializable

    Permalink

    Represents a update product operation, for a given clientId and siteId, if provided.

    Represents a update product operation, for a given clientId and siteId, if provided.

    clientId

    the id of the client

    siteId

    the optional id of the site, if none the product will be updated at a client level, if set it will update both

  13. case class UpdateProductResult(clientId: String, siteId: String, product: ProductItem) extends ProductFeederOperationResult with Product with Serializable

    Permalink

    Represents the result of an UpdateProduct operation.

    Represents the result of an UpdateProduct operation.

    clientId

    the client id

    siteId

    the site id

    product

    the product itself

Ungrouped