public interface ProductTemplateServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
ProductTemplate[] |
createProductTemplates(ProductTemplate[] productTemplates)
Creates new
ProductTemplate objects. |
ProductTemplatePage |
getProductTemplatesByStatement(Statement statement)
Gets a
ProductTemplatePage of ProductTemplate
objects
that satisfy the filtering criteria specified by given Statement.query. |
UpdateResult |
performProductTemplateAction(ProductTemplateAction action,
Statement filterStatement)
Performs action on
ProductTemplate objects that satisfy
the given
Statement.query. |
ProductTemplate[] |
updateProductTemplates(ProductTemplate[] productTemplates)
Updates the specified
ProductTemplate objects. |
ProductTemplate[] createProductTemplates(ProductTemplate[] productTemplates) throws RemoteException, ApiException
ProductTemplate objects.productTemplates - the productTemplates to createRemoteExceptionApiExceptionProductTemplatePage getProductTemplatesByStatement(Statement statement) throws RemoteException, ApiException
ProductTemplatePage of ProductTemplate
objects
that satisfy the filtering criteria specified by given Statement.query.
The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
ProductTemplate.id |
name |
ProductTemplate.name |
nameMacro |
ProductTemplate.nameMacro |
description |
ProductTemplate.description |
status |
ProductTemplate.status |
lastModifiedDateTime |
ProductTemplate.lastModifiedDateTime |
lineItemType |
LineItemType |
productType |
ProductType |
rateType |
RateType |
statement - a Publisher Query Language statement which specifies
the
filtering criteria over productTemplatesRemoteExceptionApiExceptionUpdateResult performProductTemplateAction(ProductTemplateAction action, Statement filterStatement) throws RemoteException, ApiException
ProductTemplate objects that satisfy
the given
Statement.query.action - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of product templatesRemoteExceptionApiExceptionProductTemplate[] updateProductTemplates(ProductTemplate[] productTemplates) throws RemoteException, ApiException
ProductTemplate objects.productTemplates - the product templates to updateRemoteExceptionApiExceptionCopyright © 2018. All Rights Reserved.