Uses of Class
net.pricefx.domain.ProductGroup
Package
Description
Defines set of domain object classes.
Provides Formula Engine API classes.
Provides API related to scripting, including interface
PublicGroovyAPI
, that represents what can be reached in the Groovy element syntax as api
.-
Uses of ProductGroup in net.pricefx.domain
Modifier and TypeMethodDescriptionstatic ProductGroup
Creates ProductGroup object from a Map object that represents ProductGroup.static ProductGroup
Creates ProductGroup object from a Map object that represents ProductGroup.
Allows you, for example, to use this object in a Datamart query with usage of the "where" clause.static ProductGroup
ProductGroup.fromSimpleFilter
(String productFieldName, String productFieldValue) Returns ProducGroup created from a simple fieldName and fieldValue filter.Modifier and TypeMethodDescriptionstatic Filter
DMDataSlice.asFilter
(ProductGroup productGroup, PersistedObjectService objService) void
DMDataSlice.exclude
(ProductGroup productGroup) void
DMDataSlice.include
(ProductGroup productGroup) -
Uses of ProductGroup in net.pricefx.formulaengine
Modifier and TypeMethodDescriptionvoid
DatamartContext.DataSlice.exclude
(ProductGroup productGroup) void
DatamartContext.DataSlice.include
(ProductGroup productGroup) DatamartContext.Query.where
(ProductGroup productGroup) Adds a ProductGroup filter condition to the query's WHERE clause, for example a product group from an InputEntry("ProductGroup") parameter. -
Uses of ProductGroup in net.pricefx.formulaengine.scripting
Modifier and TypeMethodDescriptionPublicGroovyAPI.getSkusFromProductGroup
(ProductGroup pg) Returns a list of SKUs based on the definition of the product group.
Note: If the ProductGroup input map is received from Ember (the former frontend version) then it must be converted to theProductGroup
object using thefromMap()
method before it can be used as a parameter forgetSkusFromProductGroup()
.
This conversion is not needed when there is a React version of the frontend in use.
Example (fromMap()
employed for conversion to the ProductGroup object):PublicGroovyAPI.productToRelatedObjectsFilter
(String relatedObjectTypeCode, ProductGroup productGroup) Creates a filter to be applied to a search on a related object type, limiting the results to objects of the related type that have a link to the given product picker.