Package

eu.shiftforward.adstax.productfeeder

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    A request to delete the information about a product.

    A request to delete the information about a product.

    clientId

    the identifier of the client

    siteId

    the optional identifier of the site. If set to null the product will be updated at a client level; otherwise it will be updated at the site level.

    productId

    the identifier of the product

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

    Permalink

    The response for an DeleteProduct request.

    The response for an DeleteProduct request.

    clientId

    the identifier of the client

    siteId

    the optional identifier of the site

    productId

    the identifier of the product

  3. case class DownloadFeed(clientId: String, siteId: String, uri: URI, mimeType: MimeType) extends ProductFeederRequest with Product with Serializable

    Permalink

    A request to download and import information from a product feed file.

    A request to download and import information from a product feed file.

    clientId

    the identifier of the client

    siteId

    the optional identifier of the site. If set to null the product will be deleted at a client level; otherwise it will be deleted at the site level.

    uri

    a URL pointing to the product feed

    mimeType

    the MIME type of the product feed file

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

    Permalink

    The response for an DownloadFeed request.

    The response for an DownloadFeed request.

    productCount

    the number of inserted products

    msg

    an optional message describing the success of the operation

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

    Permalink

    A request to retrieve information about a product.

    A request to retrieve information about a product.

    query

    the query definition for the product

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

    Permalink

    The response for a GetProduct request.

    The response for a GetProduct request.

    productResult

    a product item wrapped a Some if a matching product was found, None otherwise

  7. sealed trait MimeType extends AnyRef

    Permalink
  8. trait ProductFeederClient extends AnyRef

    Permalink

    Interface for clients capable of interacting with the Product Feeder module, by fetching, updating or deleting products.

  9. sealed trait ProductFeederRequest extends AnyRef

    Permalink

    A request to be sent to the Product Feeder module.

  10. sealed trait ProductFeederResponse extends AnyRef

    Permalink

    A response from the Product Feeder module to a ProductFeederRequest.

  11. case class ProductItem(id: String, attributes: Map[String, Any], lastUpdated: DateTime = DateTime.now()) extends Product with Serializable

    Permalink

    Represents a product.

    Represents a product.

    id

    its unique id

    attributes

    a map of attributes

    lastUpdated

    a timestamp for when this product was last updated

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

    Permalink

    A product query to be sent to the Product Feeder module.

    A product query to be sent to the Product Feeder module.

    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

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

    Permalink

    A request to update the information about a product.

    A request to update the information about a product.

    clientId

    the identifier of the client

    siteId

    the optional identifier of the site. If set to null the product will be updated at a client level; if set it will update at both levels.

    product

    the updated product information

  14. case class UpdateProductResponse(clientId: String, siteId: String, product: ProductItem) extends ProductFeederResponse with Product with Serializable

    Permalink

    The response for an UpdateProduct request.

    The response for an UpdateProduct request.

    clientId

    the identifier of the client

    siteId

    the optional identifier of the site

    product

    the updated product information

Value Members

  1. object DeleteProduct extends Serializable

    Permalink
  2. object DeleteProductResponse extends Serializable

    Permalink
  3. object DownloadFeed extends Serializable

    Permalink
  4. object DownloadFeedResponse extends Serializable

    Permalink
  5. object GetProduct extends Serializable

    Permalink
  6. object GetProductResponse extends Serializable

    Permalink
  7. object JSON extends MimeType with Product with Serializable

    Permalink
  8. object MimeType

    Permalink
  9. object ProductItem extends Serializable

    Permalink
  10. object ProductQuery extends Serializable

    Permalink
  11. object UpdateProduct extends Serializable

    Permalink
  12. object UpdateProductResponse extends Serializable

    Permalink
  13. object XML extends MimeType with Product with Serializable

    Permalink
  14. package rpc

    Permalink

Ungrouped