Uses of Class
net.pricefx.domain.CustomerGroup
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 CustomerGroup in net.pricefx.domain
Modifier and TypeMethodDescriptionstatic CustomerGroup
Creates CustomerGroup object from a Map object that represents CustomerGroup.static CustomerGroup
Creates CustomerGroup object from a Map object that represents CustomerGroup.
Allows you, for example, to use this object in a Datamart query with usage of the "where" clause.static CustomerGroup
CustomerGroup.fromSimpleFilter
(String customerFieldName, String customerFieldValue) Returns CustomerGroup created from a simple fieldName and fieldValue filter.CustomerAssignment.getCustomerGroup()
Modifier and TypeMethodDescriptionstatic Filter
DMDataSlice.asFilter
(CustomerGroup customerGroup, PersistedObjectService objService) void
DMDataSlice.exclude
(CustomerGroup customerGroup) void
DMDataSlice.include
(CustomerGroup customerGroup) void
CustomerAssignment.setCustomerGroup
(CustomerGroup customerGroup) -
Uses of CustomerGroup in net.pricefx.formulaengine
Modifier and TypeMethodDescriptionvoid
DatamartContext.DataSlice.exclude
(CustomerGroup customerGroup) void
DatamartContext.DataSlice.include
(CustomerGroup customerGroup) DatamartContext.Query.where
(CustomerGroup customerGroup) Adds a CustomerGroup condition to the query's WHERE clause, for example a customer group from an InputEntry("CustomerGroup") parameter. -
Uses of CustomerGroup in net.pricefx.formulaengine.scripting
Modifier and TypeMethodDescriptionPublicGroovyAPI.customerToRelatedObjectsFilter
(String relatedObjectTypeCode, CustomerGroup customerGroup) Creates a filter to be applied to a search on a related object type, limiting the result to objects of the related type that has a link to the given customer picker.PublicGroovyAPI.findCustomersInGroup
(CustomerGroup group) Retrieves a list of customers which match the given CustomerGroup (the first 200 entries are returned).PublicGroovyAPI.findCustomersInGroup
(CustomerGroup group, int startRow, String sortBy) Retrieves a list of customers which match the given CustomerGroup with custom paging and sorting.PublicGroovyAPI.getCustomerIdsFromCustomerGroup
(CustomerGroup cg) Returns a list of Customer IDs based on the definition of the customer group.
Note: If the CustomerGroup input map is received from Ember (the former frontend version) then it must be converted to theCustomerGroup
object using thefromMap()
method before it can be used as a parameter forgetCustomerIdsFromCustomerGroup()
.
This conversion is not needed when there is a React version of the frontend in use.
Example (fromMap()
employed for conversion to the CustomerGroup object):