Uses of Class
com.googlecode.genericdao.search.Filter
Package
Description
Filter
is used by the Search
class to specify a restriction on what results should be returned in the search.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
.Provides
InputBuilderFactory
as a convenient way to create Inputs.Defines set of data transfer object (DTO) classes related to Calculations.
Provides ItemSummaryQuery interface.
-
Uses of Filter in com.googlecode.genericdao.search
Modifier and TypeMethodDescriptionstatic Filter
Create a new Filter using the ALL operator.static Filter
Filter.alwaysMatch()
static Filter
Create a new Filter using the AND operator.static Filter
Create a new Filter using a custom JPQL/HQL expression.static Filter
Create a new Filter using a custom JPQL/HQL expression.static Filter
Filter.custom
(String expression, Collection<?> values) Create a new Filter using a custom JPQL/HQL expression.static Filter
Create a new Filter using the == operator.static Filter
Filter.greaterOrEqual
(String property, Object value) Create a new Filter using the >= operator.static Filter
Filter.greaterThan
(String property, Object value) Create a new Filter using the > operator.static Filter
Create a new Filter using the ILIKE operator.static Filter
Create a new Filter using the IN operator.static Filter
Filter.in
(String property, Collection<?> value) Create a new Filter using the IN operator.static Filter
Create a new Filter using the IS EMPTY operator.static Filter
Filter.isNotEmpty
(String property) Create a new Filter using the IS NOT EMPTY operator.static Filter
Create a new Filter using the IS NOT NULL operator.static Filter
Create a new Filter using the IS NULL operator.static Filter
Filter.lessOrEqual
(String property, Object value) Create a new Filter using the <= operator.static Filter
Create a new Filter using the < operator.static Filter
Create a new Filter using the LIKE operator.static Filter
Filter.neverMatch()
static Filter
Create a new Filter using the NONE operator.static Filter
Create a new Filter using the NOT operator.static Filter
Create a new Filter using the != operator.static Filter
Create a new Filter using the NOT IN operator.static Filter
Filter.notIn
(String property, Collection<?> value) Create a new Filter using the NOT IN operator.static Filter
Create a new Filter using the OR operator.static Filter
Filter.reconstructFromMap
(Map<String, ?> filterAsMap) static Filter
Create a new Filter using the SOME operator.Modifier and TypeMethodDescriptionvoid
Used with OP_OR and OP_AND filters.static Filter
Create a new Filter using the ALL operator.static Filter
Create a new Filter using the AND operator.static Filter
Create a new Filter using the NONE operator.static Filter
Create a new Filter using the NOT operator.static Filter
Create a new Filter using the OR operator.void
Used with OP_OR and OP_AND filters.static Filter
Create a new Filter using the SOME operator. -
Uses of Filter in net.pricefx.domain
Modifier and TypeMethodDescriptionCustomerGroup.asFilter()
Converts CustomerGroup to Filter object.CustomerGroup.asFilter
(DMDataSource customerDS) Returns resolved filter using the given DS, which should represent the Customer attributed object class.CustomerGroup.asFilter
(DMDataSource customerDS, Collection<DMDataSource> cxExtDS) Returns resolved filter using the given Customer Data Source and external Data Source, which should represent the Customer attributed object class.static Filter
DMDataSlice.asFilter
(CustomerGroup customerGroup, PersistedObjectService objService) static Filter
DMDataSlice.asFilter
(ProductGroup productGroup, PersistedObjectService objService) static Filter
DMDataSlice.asFilter
(SellerReference sellerReference) DMDataSlice.asFilter
(PersistedObjectService objService) ProductGroup.asFilter()
Converts ProductGroup to a filter object.ProductGroup.asFilter
(DMDataSource productDS) Returns resolved filter using the given Data Source, which should represent the Product attributed object class.ProductGroup.asFilter
(DMDataSource productDS, Collection<DMDataSource> pxExtDS) Returns resolved filter using the given Product Data Source and external Data Source, which should represent the Product attributed object class.SellerGroup.asFilter()
Converts SellerGroup to a filter object.SellerGroup.asFilter
(DMDataSource sellerDS) Returns resolved filter using the given Data Source, which should represent the Seller attributed object class.SellerGroup.asFilter
(DMDataSource sellerDS, Collection<DMDataSource> pxExtDS) Returns resolved filter using the given Seller Data Source and external Data Source, which should represent the Seller attributed object class.CustomerGroup.asFilterWithCXSubQuery()
Converts CustomerGroup into a filter including converting any CX searchable items into a custom filter.ProductGroup.asFilterWithPXSubQuery()
Converts ProductGroup into a filter including converting any PX searchable items into a custom filter.SellerGroup.asFilterWithSXSubQuery()
Converts SellerGroup into a filter including converting any SX searchable items into a custom filter.CustomerGroup.getDomainFilter()
ProductGroup.getDomainFilter()
SellerGroup.getDomainFilter()
DMCalendar.getTimePeriodAsFilter
(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName) DMCalendar.timePeriodAsFilter
(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName) Modifier and TypeMethodDescriptionvoid
Search
RebateRecordSet.buildRebateRecordSearch
(Filter[] filters, PersistedObjectService objService) -
Uses of Filter in net.pricefx.formulaengine
Modifier and TypeMethodDescriptionDatamartContext.Calendar.timePeriodAsFilter
(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName) Helper method to build a filter representingdateDimFieldName
in[timePeriod.startPeriod, timePeriod.endPeriod]
Note the inclusion on both ends; this is to accommodate the most frequent use case where the TimePeriod is a single period, for example InvoiceDate in [2015,2015].Modifier and TypeMethodDescriptionvoid
ModelFormulaContext.addTreeNode
(Long parentId, String name, String label, String output, Filter filter) Adds a descendent to an existing tree node, identified by itsparentId
.int
Deletes PayoutRecords/AccrualRecords linked to the current RebateRecord/CompensationRecord that match one or more optional Filter criteria.Collection<CompensationAgreementPayoutRecord>
Retrieves PayoutRecords or AccrualRecords linked to the current RebateRecord/CompensationRecord that match one or more optional Filter criteria.ModelEvaluator.findRecords
(Filter filter, String... sortBy) Equivalent toModelFormulaContext.findRecords(Filter, String...)
.ModelFormulaContext.findRecords
(Filter filter, String... sortBy) Finds ModelRecords associated to this model using only Filter criteria.Adds genericFilter
s to the query's HAVING clause.Adds genericFilter
s to the query's WHERE clause. -
Uses of Filter in net.pricefx.formulaengine.optimization
Modifier and TypeFieldDescriptionModelFilterTreesContextReadWrite.NodeSpec.filter
Defines the filter of the tree view node. -
Uses of Filter in net.pricefx.formulaengine.scripting
Modifier and TypeMethodDescriptionPublicGroovyAPI.createElementNameFilter
(String elementName, Object fieldValue, String... listTypedIds) Creates a cross-list filter expression based on metadata.PublicGroovyAPI.customerToRelatedObjectsFilter
(String relatedObjectTypeCode, String customerId) 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.PublicGroovyAPI.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.datamartFilter
(Object groupOrSlice) Translates a CustomerGroup/ProductGroup/DMDataSlice to its equivalent filter representation, mapping the domain level field names to the corresponding Datamart field names in the process.PublicGroovyAPI.filterFromMap
(Map<String, Object> filterMap) Constructs a filter object from the map representation of that filter (from the "wire format").PublicGroovyAPI.productToRelatedObjectsFilter
(String relatedObjectTypeCode, String sku) 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.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.PublicGroovyAPI.relatedObjectToCustomersFilter
(String relatedObjectTypedId) Creates a filter to be applied to a customer search, limiting the results to customers that are linked to the given related object (defined by its typedId).PublicGroovyAPI.relatedObjectToProductsFilter
(String relatedObjectTypedId) Creates a filter to be applied to a product search, limiting the result to products that are linked to the given related object (defined by its typedId).PublicGroovyAPI.sellerToRelatedObjectsFilter
(String relatedObjectTypeCode, String sellerId) 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 seller.PublicGroovyAPI.walkFilter
(Filter filter, Closure<?> visitBefore, Closure<?> visitAfter, boolean removeNulls) Walks a filter and all its sub-filters, visiting each filter in the tree.Modifier and TypeMethodDescriptionPublicGroovyAPI.evalCustomerFilterLogic
(String logicName, String logicParam) Evaluates the customer (group) filter logic.PublicGroovyAPI.evalProductFilterLogic
(String logicName, String logicParam) Evaluates the product (group) filter logic.PublicGroovyAPI.evalSellerFilterLogic
(String logicName, String logicParam) Evaluates the seller (group) filter logic.Modifier and TypeMethodDescriptionint
Returns the number of records that a correspondingPublicGroovyAPI.find(String, int, int, String, List, Filter...)
would return.PublicGroovyAPI.customerExtension
(String extensionName, Filter... filters) Retrieves a list of all customer extentions records (CX) from a CX table namedextensionName
.void
PublicGroovyAPI.emitCompensationRecords
(String dateFieldName, String sortBy, Filter... filters) Emits the compensation records matching the given search criteria - to be consumed by a PA allocation task (a PA calculation task with a feeder formula calling this method, and a regular formula accepting each emitted CompensationRecord as its currentItem context, and distributing one or more CompensationRecord accruals over the set of PA rows which have contributed to those accruals in some way (by revenue, volume...).void
PublicGroovyAPI.emitCompensationRecords
(String compensationRecordSetLabel, String dateFieldName, String sortBy, Filter... filters) Emits the compensation records matching the given search criteria - to be consumed by a PA allocation task (a PA calculation task with a feeder formula calling this method, and a regular formula accepting each emitted CompensationRecord as its currentItem context, and distributing one or more CompensationRecord accruals over the set of PA rows which have contributed to those accruals in some way (by revenue, volume...).void
PublicGroovyAPI.emitRebateRecords
(String dateFieldName, String sortBy, Filter... filters) Emits the rebate records matching the given search criteria - to be consumed by a PA allocation task (a PA calculation task with a feeder formula calling this method, and a regular formula accepting each emitted RebateRecord as its currentItem context, and distributing one or more RebateRecord accruals over the set of PA rows which have contributed to those accruals in some way (by revenue, volume...).void
PublicGroovyAPI.emitRebateRecords
(String rebateRecordSetLabel, String dateFieldName, String sortBy, Filter... filters) Emits the rebate records matching the given search criteria - to be consumed by a PA allocation task (a PA calculation task with a feeder formula calling this method, and a regular formula accepting each emitted RebateRecord as its currentItem context, and distributing one or more RebateRecord accruals over the set of PA rows which have contributed to those accruals in some way (by revenue, volume...).The Swiss army knife method of the API.PublicGroovyAPI.find
(String typeCode, int startRow, int maxRows, String sortBy, List<String> fields, boolean distinctValuesOnly, Filter... filters) The Swiss army knife method of the API.PublicGroovyAPI.find
(String typeCode, int startRow, int maxRows, String sortBy, List<String> fields, Filter... filters) The Swiss army knife method of the API.PublicGroovyAPI.find
(String typeCode, int startRow, int maxRows, String sortBy, Map<String, String> fields, boolean distinctValuesOnly, Filter... filters) The Swiss army knife method of the API.Deprecated.Deprecated.Instead usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
where you should always specify the fields to be returned.Deprecated.Instead usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
in order to always specify the fields to be returned (for performance reasons).PublicGroovyAPI.findAttachedDocuments
(String typedId, String lineId, Filter... filters) Deprecated.The Deal Planning module has been discontinued since version 11.3.0.PublicGroovyAPI.findLookupTableValues
(String tableName, Filter... filters) Returns a filtered list of rows of a Company Parameter / Price Parameter table values.PublicGroovyAPI.findLookupTableValues
(String tableName, String sortBy, Filter... filters) Returns sorted rows of a Company Parameter / Price Parameter table (optionally filtered).PublicGroovyAPI.findLookupTableValues
(String tableName, List<String> fields, String sortBy, Filter... filters) Returns sorted rows of a Company Parameter / Price Parameter table (optionally filtered).PublicGroovyAPI.findLookupTableValues
(String tableName, Map<String, Object> cacheProvider, List<String> fields, String sortBy, Filter... filters) Returns sorted rows of a Company Parameter / Price Parameter table (optionally filtered).PublicGroovyAPI.getCalculableLineItemCollection
(String typeCode, Filter filter) Retrieves all CalculableLineItemCollections (CLIC) objects that match the filter's and type code's criteria.int
PublicGroovyAPI.massDelete
(String typeCode, Filter filter) Mass delete of the objects in the collection of the given type (based on the Filter's criteria).PublicGroovyAPI.productCompetition
(Filter... filters) Retrieves a list of product competition rows/records (PCOMP) for the SKU being calculated (SKU in the context) filtered byfilters
.PublicGroovyAPI.productExtension
(String extensionName, Filter... filters) Retrieves a list of rows from a Product Extension (PX) table namedextensionName
for the SKU being calculated (SKU in the context) additionally filtered byfilters
.PublicGroovyAPI.productXRef
(Filter... filters) Retrieves a list of all product reference records (PXREF) for the SKU being calculated.Searches for all types of objects with a freestyle query and iterates over the result set.PublicGroovyAPI.stream
(String typeCode, String sortBy, List<String> fields, boolean distinctValuesOnly, Filter... filters) Searches for all types of objects with a freestyle query and iterates over the result set.Searches for all types of objects with a freestyle query and iterates over the result set.PublicGroovyAPI.stream
(String typeCode, String sortBy, Map<String, String> fields, boolean distinctValuesOnly, Filter... filters) Searches for all types of objects with a freestyle query and iterates over the result set.PublicGroovyAPI.walkFilter
(Filter filter, Closure<?> visitBefore, Closure<?> visitAfter, boolean removeNulls) Walks a filter and all its sub-filters, visiting each filter in the tree. -
Uses of Filter in net.pricefx.formulaengine.scripting.inputbuilder
Modifier and TypeMethodDescriptionCustomFormListPopupInputBuilder.withSubsetFilter
(Filter filter) Allows you to set a filter criteria to filter Custom Forms that will be visible in the pop-up modal. -
Uses of Filter in net.pricefx.formulaengine.scripting.portlets
Modifier and TypeMethodDescriptiondefault ResultMatrix.LinkCell
ResultMatrix.linkToPriceGrid
(Object value, long priceGridID, Filter filter) default ResultMatrix.LinkCell
ResultMatrix.linkToPriceList
(Object value, long priceListID, Filter filter) -
Uses of Filter in net.pricefx.server.dto.calculation
-
Uses of Filter in net.pricefx.service
Modifier and TypeMethodDescriptionItemSummaryQuery.getAllItemsFilter
(T calcObj) ItemSummaryQuery.getItemFilter()
ItemSummaryQuery.getProductFilter()
Modifier and TypeMethodDescriptionvoid
ItemSummaryQuery.setItemFilter
(Filter itemFilter) void
ItemSummaryQuery.setProductFilter
(Filter productFilter)
PublicGroovyAPI.find(String, int, int, String, List, Filter...)
where you should always specify the fields to be returned.