Uses of Class
com.googlecode.genericdao.search.Filter
-
Packages that use Filter Package Description com.googlecode.genericdao.search net.pricefx.domain net.pricefx.formulaengine net.pricefx.formulaengine.scripting net.pricefx.server.dto.calculation net.pricefx.service -
-
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
DMCalendar. getTimePeriodAsFilter(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName)
Filter
DMCalendar. timePeriodAsFilter(CalendarUtil.TimePeriod timePeriod, String dateDimFieldName)
-
Uses of Filter in net.pricefx.formulaengine
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)
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 criteriaDatamartContext.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 meta data.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 have 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 result 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 result to customers that are linked to the given related object, the latter 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, the latter 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 customer(group) filter logicList<Filter>
PublicGroovyAPI. evalProductFilterLogic(String logicName, String logicParam)
Evaluates product(group) filter logicMethods 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, bvolume...).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.usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
because of performance you should always specify the fields to be returned.List<Object>
PublicGroovyAPI. find(String typeCode, int startRow, String sortBy, Filter... filters)
Deprecated.usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
because of performance you should always specify the fields to be returned.List<Object>
PublicGroovyAPI. find(String typeCode, Filter... filters)
Deprecated.usePublicGroovyAPI.find(String, int, int, String, List, Filter...)
in order to always specify the fields to be returned because of performance.List<Object>
PublicGroovyAPI. findLookupTableValues(String tableName, Filter... filters)
Returns fitered 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).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)
void
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)
-