Uses of Class
com.googlecode.genericdao.search.Filter
-
Packages that use Filter Package Description com.googlecode.genericdao.search Filter
is used by theSearch
class to specify a restriction on what results should be returned in the search.net.pricefx.domain Defines set of domain object classes.net.pricefx.formulaengine Provides Formula Engine API classes.net.pricefx.formulaengine.scripting Provides API related to scripting, including interfacePublicGroovyAPI
, that represents what can be reached in the Groovy element syntax asapi
.net.pricefx.server.dto.calculation Defines set of data transfer object (DTO) classes related to Calculations.net.pricefx.service Provides ItemSummaryQuery interface. -
-
Uses of Filter in com.googlecode.genericdao.search
Methods in com.googlecode.genericdao.search that return Filter Modifier and Type Method Description static Filter
Filter. all(String property, Filter filter)
Create a new Filter using the ALL operator.static Filter
Filter. and(Filter... filters)
Create a new Filter using the AND operator.static Filter
Filter. custom(String expression)
Create a new Filter using a custom JPQL/HQL expression.static Filter
Filter. custom(String expression, Object... values)
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
Filter. equal(String property, Object value)
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
Filter. ilike(String property, String value)
Create a new Filter using the ILIKE operator.static Filter
Filter. in(String property, Object... value)
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
Filter. isEmpty(String property)
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
Filter. isNotNull(String property)
Create a new Filter using the IS NOT NULL operator.static Filter
Filter. isNull(String property)
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
Filter. lessThan(String property, Object value)
Create a new Filter using the < operator.static Filter
Filter. like(String property, String value)
Create a new Filter using the LIKE operator.static Filter
Filter. none(String property, Filter filter)
Create a new Filter using the NONE operator.static Filter
Filter. not(Filter filter)
Create a new Filter using the NOT operator.static Filter
Filter. notEqual(String property, Object value)
Create a new Filter using the != operator.static Filter
Filter. notIn(String property, Object... value)
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
Filter. or(Filter... filters)
Create a new Filter using the OR operator.static Filter
Filter. reconstructFromMap(Map<String,?> filterAsMap)
static Filter
Filter. some(String property, Filter filter)
Create a new Filter using the SOME operator.Methods in com.googlecode.genericdao.search with parameters of type Filter Modifier and Type Method Description void
Filter. add(Filter filter)
Used with OP_OR and OP_AND filters.static Filter
Filter. all(String property, Filter filter)
Create a new Filter using the ALL operator.static Filter
Filter. and(Filter... filters)
Create a new Filter using the AND operator.static Filter
Filter. none(String property, Filter filter)
Create a new Filter using the NONE operator.static Filter
Filter. not(Filter filter)
Create a new Filter using the NOT operator.static Filter
Filter. or(Filter... filters)
Create a new Filter using the OR operator.void
Filter. remove(Filter filter)
Used with OP_OR and OP_AND filters.static Filter
Filter. some(String property, Filter filter)
Create a new Filter using the SOME operator. -
Uses of Filter in net.pricefx.domain
Methods in net.pricefx.domain that return Filter Modifier and Type Method Description Filter
CustomerGroup. asFilter()
Filter
CustomerGroup. asFilter(DMDataSource customerDS)
Filter
CustomerGroup. asFilter(DMDataSource customerDS, Collection<DMDataSource> cxExtDS)
Filter
DMDataSlice. asFilter(String dateDimFieldName, PersistedObjectService objService)
static Filter
DMDataSlice. asFilter(CustomerGroup customerGroup, PersistedObjectService objService)
static Filter
DMDataSlice. asFilter(ProductGroup productGroup, PersistedObjectService objService)
static Filter
DMDataSlice. asFilter(SellerReference sellerReference, PersistedObjectService objService)
Filter
DMDataSlice. asFilter(PersistedObjectService objService)
Filter
ProductGroup. asFilter()
Filter
ProductGroup. asFilter(DMDataSource productDS)
Filter
ProductGroup. asFilter(DMDataSource productDS, Collection<DMDataSource> pxExtDS)
Filter
CustomerGroup. asFilterWithCXSubQuery()
Converts CustomerGroup into filter including converting any CX searchable items into custom filter.Filter
ProductGroup. asFilterWithPXSubQuery()
Converts ProductGroup into filter including converting any PX searchable items into custom filter.Filter
DMCalendar. getTimePeriodAsFilter(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName)
Filter
DMCalendar. timePeriodAsFilter(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName)
Methods in net.pricefx.domain with parameters of type Filter Modifier and Type Method Description void
DMDataSlice. addFilter(Filter filter)
-
Uses of Filter in net.pricefx.formulaengine
Fields in net.pricefx.formulaengine declared as Filter Modifier and Type Field Description Filter
ModelFormulaContext.TreeNode. filter
Methods in net.pricefx.formulaengine that return Filter Modifier and Type Method Description Filter
DatamartContext.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].Methods in net.pricefx.formulaengine with parameters of type Filter Modifier and Type Method Description void
DatamartContext.DataSlice. addFilter(Filter filter)
Long
ModelFormulaContext. addTreeNode(Long parentId, String name, String label, String output, Filter filter)
Adds a descendent to an existing tree node, identified by itsparentId
.int
PayoutRecordManager. delete(Filter... filters)
Delete PayoutRecords linked to the current RebateRecord, adhering to one or more optional Filter criteriaCollection<PayoutRecord>
PayoutRecordManager. find(Filter... filters)
Retreive PayoutRecords linked to the current RebateRecord, adhering to one or more optional Filter criteriaList<Map<String,Object>>
ModelEvaluator. findRecords(Filter filter, String... sortBy)
Equivalent toModelFormulaContext.findRecords(Filter, String...)
.List<Map<String,Object>>
ModelFormulaContext. findRecords(Filter filter, String... sortBy)
Finds ModelRecords associated to this model using only Filter criteria.DatamartContext.Query
DatamartContext.Query. having(Filter... filters)
Adds genericFilter
s to the query's HAVING clause.DatamartContext.Query
DatamartContext.Query. where(Filter... filters)
Adds genericFilter
s to the query's WHERE clause. -
Uses of Filter in net.pricefx.formulaengine.scripting
Methods in net.pricefx.formulaengine.scripting that return Filter Modifier and Type Method Description Filter
PublicGroovyAPI. createElementNameFilter(String elementName, Object fieldValue, String... listTypedIds)
Creates a cross-list filter expression based on metadata.Filter
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.Filter
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.Filter
PublicGroovyAPI. filterFromMap(Map<String,Object> filterMap)
Constructs a filter object from the map representation of that filter (from the "wire format").Filter
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.Filter
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).Filter
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).Filter
PublicGroovyAPI. walkFilter(Filter filter, Closure<?> visitBefore, Closure<?> visitAfter, boolean removeNulls)
Walks a filter and all its sub-filters, visiting each filter in the tree.Methods in net.pricefx.formulaengine.scripting that return types with arguments of type Filter Modifier and Type Method Description List<Filter>
PublicGroovyAPI. evalCustomerFilterLogic(String logicName, String logicParam)
Evaluates the customer (group) filter logic.List<Filter>
PublicGroovyAPI. evalProductFilterLogic(String logicName, String logicParam)
Evaluates the product (group) filter logic.Methods in net.pricefx.formulaengine.scripting with parameters of type Filter Modifier and Type Method Description int
PublicGroovyAPI. count(String typeCode, Filter... filters)
Returns the number of records that a correspondingPublicGroovyAPI.find(String, int, int, String, List, Filter...)
would return.Object
PublicGroovyAPI. customerExtension(String extensionName, Filter... filters)
Retrieves a list of all customer extentions records (CX) from a CX table namedextensionName
.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...).List<Object>
PublicGroovyAPI. find(String typeCode, int startRow, int maxRows, String sortBy, Filter... filters)
The Swiss army knife method of the API.List<Object>
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.List<Object>
PublicGroovyAPI. find(String typeCode, int startRow, int maxRows, String sortBy, List<String> fields, Filter... filters)
The Swiss army knife method of the API.List<Object>
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.List<Object>
PublicGroovyAPI. find(String typeCode, int startRow, Filter... filters)
Deprecated.Instead usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
where you should always specify the fields to be returned.List<Object>
PublicGroovyAPI. find(String typeCode, int startRow, String sortBy, Filter... filters)
Deprecated.Instead usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
where you should always specify the fields to be returned.List<Object>
PublicGroovyAPI. find(String typeCode, Filter... filters)
Deprecated.Instead usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
in order to always specify the fields to be returned (for performance reasons).List<AttachedDocument>
PublicGroovyAPI. findAttachedDocuments(String typedId, String lineId, Filter... filters)
Retrieves Plan Specific documents (i.e.List<Object>
PublicGroovyAPI. findLookupTableValues(String tableName, Filter... filters)
Returns a filtered list of rows of a price parameter table.List<Object>
PublicGroovyAPI. findLookupTableValues(String tableName, String sortBy, Filter... filters)
Returns sorted rows of a Price Parameter table (optionally filtered).List<Object>
PublicGroovyAPI. findLookupTableValues(String tableName, List<String> fields, String sortBy, Filter... filters)
Returns sorted rows of a Price Parameter table (optionally filtered).List<Object>
PublicGroovyAPI. findLookupTableValues(String tableName, Map<String,Object> cacheProvider, List<String> fields, String sortBy, Filter... filters)
Returns sorted rows of a Price Parameter table (optionally filtered).Object
PublicGroovyAPI. productCompetition(Filter... filters)
Retrieves a list of product competition rows/records (PCOMP) for the SKU being calculated (SKU in the context) filtered byfilters
.Object
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
.Object
PublicGroovyAPI. productXRef(Filter... filters)
Retrieves a list of all product reference records (PXREF) for the SKU being calculated.AbstractProducer.ResultIterator
PublicGroovyAPI. stream(String typeCode, String sortBy, Filter... filters)
Searches for all types of objects with a freestyle query and iterates over the result set.AbstractProducer.ResultIterator
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.AbstractProducer.ResultIterator
PublicGroovyAPI. stream(String typeCode, String sortBy, List<String> fields, Filter... filters)
Searches for all types of objects with a freestyle query and iterates over the result set.AbstractProducer.ResultIterator
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.Filter
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.server.dto.calculation
Methods in net.pricefx.server.dto.calculation with parameters of type Filter Modifier and Type Method Description ResultMatrix.ResultMatrixLinkCell
ResultMatrix. linkToPriceGrid(Object value, long priceGridID, Filter filter)
ResultMatrix.ResultMatrixLinkCell
ResultMatrix. linkToPriceList(Object value, long priceListID, Filter filter)
ContextParameter
ContextParameter. setFilters(Filter... filters)
-
Uses of Filter in net.pricefx.service
Methods in net.pricefx.service that return Filter Modifier and Type Method Description Filter
ItemSummaryQuery. getAllItemsFilter(T calcObj)
Filter
ItemSummaryQuery. getItemFilter()
Filter
ItemSummaryQuery. getProductFilter()
Methods in net.pricefx.service with parameters of type Filter Modifier and Type Method Description void
ItemSummaryQuery. setItemFilter(Filter itemFilter)
void
ItemSummaryQuery. setProductFilter(Filter productFilter)
-