public interface ProductServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Product |
getProduct(String productId)
Returns the
Product uniquely identified by the given
ID. |
ProductPage |
getProductsByStatement(Statement statement)
|
UpdateResult |
performProductAction(ProductAction productAction,
Statement filterStatement)
|
Product |
updateProduct(Product product)
Updates the specified
Product. |
Product[] |
updateProducts(Product[] products)
Updates the specified
Product objects. |
Product getProduct(String productId) throws RemoteException, ApiException
Product uniquely identified by the given
ID.productId - the ID of the product, which must already existProduct uniquely identified by IDRemoteExceptionApiExceptionProductPage getProductsByStatement(Statement statement) throws RemoteException, ApiException
ProductPage of Product objects that
satisfy the criteria specified by
given Statement.query. The following fields are supported
for filtering and/or sorting:
| PQL Property | Object Property | Filterable | Sortable |
|---|---|---|---|
rateCardId |
Rate card ID which the product is associated with | Yes | No |
status |
Product.status |
Yes | Yes |
lineItemType |
Product.lineItemType |
Yes | Yes | productType |
Product.productType |
Yes | Yes |
rateType |
Product.rateType |
Yes | Yes |
productTemplateId |
Product.productTemplateId |
Yes | No |
name |
Product.name |
Yes | Yes |
description |
Product#description |
Yes | No |
id |
Product.id |
Yes | No |
lastModifiedDateTime |
Product.lastModifiedDateTime |
No | Yes |
statement - a Publisher Query Language statement which specifies
the filtering
criteria over productsRemoteExceptionApiExceptionUpdateResult performProductAction(ProductAction productAction, Statement filterStatement) throws RemoteException, ApiException
productAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter a set of products.RemoteExceptionApiExceptionProduct updateProduct(Product product) throws RemoteException, ApiException
Product.
Note non-updatable fields will not be backfilled.product - the product to updateRemoteExceptionApiExceptionProduct[] updateProducts(Product[] products) throws RemoteException, ApiException
Product objects.
Note non-updatable fields will not be backfilled.products - the products to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.