Package | Description |
---|---|
com.googlecode.genericdao.search | |
net.pricefx.formulaengine | |
net.pricefx.formulaengine.scripting | |
net.pricefx.server.dto.calculation | |
net.pricefx.service |
Modifier and Type | Method and 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,
Collection<?> values)
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.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,
Collection<?> value)
Create a new Filter using the IN operator.
|
static Filter |
Filter.in(String property,
Object... 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,
Collection<?> value)
Create a new Filter using the NOT IN operator.
|
static Filter |
Filter.notIn(String property,
Object... 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Filter |
DatamartContext.Calendar.timePeriodAsFilter(CalendarUtil.TimePeriod timePeriod,
String dateDimFieldName)
Helper method to build a filter representing
dateDimFieldName 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 Type | Method and 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 criteria
|
Collection<PayoutRecord> |
PayoutRecordManager.find(Filter... filters)
Retreive PayoutRecords linked to the current RebateRecord, adhering to one or more optional Filter criteria
|
DatamartContext.Query |
DatamartContext.Query.having(Filter... filters)
Adds generic
Filter s to the query's HAVING clause. |
DatamartContext.Query |
DatamartContext.Query.where(Filter... filters)
Adds generic
Filter s to the query's WHERE clause. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
PublicGroovyAPI.count(String typeCode,
Filter... filters)
Returns the number of records that a corresponding
PublicGroovyAPI.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 named
extensionName |
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,
Filter... filters)
Deprecated.
use
PublicGroovyAPI.find(String, int, int, String, List, Filter...) in order to always specify the fields to be returned because of performance. |
List<Object> |
PublicGroovyAPI.find(String typeCode,
int startRow,
Filter... filters)
Deprecated.
use
PublicGroovyAPI.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,
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,
String sortBy,
Filter... filters)
Deprecated.
use
PublicGroovyAPI.find(String, int, int, String, List, Filter...) because of performance you should always specify the fields to be returned. |
List<Object> |
PublicGroovyAPI.findLookupTableValues(String tableName,
Filter... filters)
Returns all values of a named price parameter table (optionally filtered).
|
Object |
PublicGroovyAPI.productCompetition(Filter... filters)
Retrieves a list of product competition records (PCOMP) for the SKU being calculated filtered by
filters . |
Object |
PublicGroovyAPI.productExtension(String extensionName,
Filter... filters)
Retrieves a list of product extentions records (PX) from a PX table named
extensionName for the SKU being calculated filtered by filters . |
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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Filter |
ItemSummaryQuery.getAllItemsFilter(T calcObj) |
Filter |
ItemSummaryQuery.getItemFilter() |
Filter |
ItemSummaryQuery.getProductFilter() |
Modifier and Type | Method and Description |
---|---|
void |
ItemSummaryQuery.setItemFilter(Filter itemFilter) |
void |
ItemSummaryQuery.setProductFilter(Filter productFilter) |
Copyright © 2019. All rights reserved.