Modifier and Type | Method and Description |
---|---|
protected String |
OwCSQLCProcessor.convertWildCards(OwSearchCriteria criteria_p,
String value_p)
(overridable)
Convert the wildcards from client format
into native representation and do also an escaping of
characters matching the native wildcard definition.
|
protected OwBetweenPredicate |
OwCSQLCProcessor.createBetweenPredicate(OwSearchCriteria criteria_p,
boolean negate_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected String |
OwCSQLCProcessor.createCBRAllExpression(OwSearchCriteria criteria_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwPredicate |
OwCSQLCProcessor.createCBRAllPredicate(OwSearchCriteria criteria_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected String |
OwCSQLCProcessor.createCBRInExpression(OwSearchCriteria criteria_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwPredicate |
OwCSQLCProcessor.createCBRInPredicate(OwSearchCriteria criteria_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwComparisonPredicate |
OwCSQLCProcessor.createComparisonPredicate(OwSearchCriteria criteria_p,
OwComparisonOperator comparisonOperator_p,
OwCSQLCProcessor.OwProcessContext context_p)
Create a compare predicate, is called if current predicate is a compare operator.
|
protected OwCharacterStringLiteral |
OwCSQLCProcessor.createContentSearchLiteral(List<String> textSearchExpressions_p,
OwSearchCriteria criteria_p)
(overridable)
Create a literal for the content search criteria, will return a
null value if the provided expression list does not contain valid values (non-empty and non-null).
|
protected OwLiteral |
OwCSQLCProcessor.createDefaultLiteral(OwSearchCriteria criteria_p,
Object value_p) |
protected OwPredicate |
OwCSQLCProcessor.createExtendedPredicate(OwSearchCriteria criteria_p,
OwCSQLCProcessor.OwProcessContext context_p,
int operator_p)
(overridable)
This method is called if an unknown or by default unsupported operator is found in the provided OwSearchCriteria.
|
protected OwInPredicate |
OwCSQLCProcessor.createInPredicate(OwSearchCriteria criteria_p,
boolean negate_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwLikePredicate |
OwCSQLCProcessor.createLikePredicate(OwSearchCriteria criteria_p,
boolean negate_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwSQLDateTimeLiteral |
OwCSQLCProcessor.createLiteral(OwSearchCriteria criteria_p,
Date date_p) |
protected OwSignedNumericLiteral |
OwCSQLCProcessor.createLiteral(OwSearchCriteria criteria_p,
Number number_p) |
protected OwLiteral |
OwCSQLCProcessor.createLiteral(OwSearchCriteria criteria_p,
Object value_p) |
protected OwCharacterStringLiteral |
OwCSQLCProcessor.createLiteral(OwSearchCriteria criteria_p,
String string_p) |
protected OwNullPredicate |
OwCSQLCProcessor.createNullPredicate(OwSearchCriteria criteria_p,
boolean negate_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwQuantifiedInPredicate |
OwCSQLCProcessor.createQuantifiedInPredicate(OwSearchCriteria criteria_p,
boolean negate_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected OwCSQLCProcessor.RangeLimits |
OwCSQLCProcessor.getBetweenPredicateRangeLimits(OwSearchCriteria criteria_p,
boolean negate_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected Object |
OwCSQLCProcessor.getLimitForComparisonPredicate(OwSearchCriteria criteria_p,
OwComparisonOperator comparisonOperator_p,
OwCSQLCProcessor.OwProcessContext context_p) |
protected boolean |
OwCSQLCProcessor.isValidPredicateValue(OwSearchCriteria criteria_p,
OwCSQLCProcessor.OwProcessContext context_p,
int operator_p)
(overridable)
Simple method called during
OwCSQLCProcessor.createPredicate(OwSearchCriteria, OwProcessContext) process
to quickly verify if the criteria value is good enough for a specific predicate/operator. |
protected OwFieldDefinition |
OwCSQLCProcessor.retrieveDefinition(OwSearchCriteria criteria_p) |
Modifier and Type | Method and Description |
---|---|
OwSearchCriteria |
OwSearchCriteriaView.lookupCriteria(String strName_p)
lookup a criteria by the unique name
|
Modifier and Type | Method and Description |
---|---|
String |
OwSearchCriteriaView.getSafeInstruction(OwSearchCriteria searchCriteria_p)
get a instruction for the criteria
|
protected void |
OwSearchCriteriaView.renderEditCriteria(Writer w_p,
OwSearchCriteria crit_p)
render a single editable criteria
|
protected void |
OwSearchCriteriaView.renderPropertyLabel(Writer w_p,
OwSearchCriteria criteria_p,
String suffix_p)
Renders a property control label on the given Writer.
The property's read-only status and the value type (array or complex value) are considered at rendering time. |
protected void |
OwSearchCriteriaView.renderReadOnlyCriteria(Writer w_p,
OwSearchCriteria crit_p)
render a single read only criteria
|
Modifier and Type | Class and Description |
---|---|
static class |
OwStandardCrossMappings.OwCrossDecoratorSearchNode.OwWrappedSearchCriteria
OwWrappedSearchCriteria.
|
Modifier and Type | Method and Description |
---|---|
OwSearchCriteria |
OwStandardCrossMappings.OwCrossDecoratorSearchNode.createWrappedCriteria(OwSearchCriteria criteria_p) |
OwSearchCriteria |
OwStandardCrossMappings.OwCrossDecoratorSearchNode.OwWrappedSearchCriteria.getSecondRangeCriteria() |
OwSearchCriteria |
OwStandardCrossMappings.OwCrossDecoratorSearchNode.OwWrappedSearchCriteria.getWrappedCriteria() |
Modifier and Type | Method and Description |
---|---|
protected Object |
OwStandardSemiVirtualFolderAdapter.convertPropertyValue(OwSearchCriteria searchCriteria_p,
OwProperty folderProperty_p)
(overridable)
Convert the given property value to a value compatible with given search criteria.
|
OwSearchCriteria |
OwStandardCrossMappings.OwCrossDecoratorSearchNode.createWrappedCriteria(OwSearchCriteria criteria_p) |
Constructor and Description |
---|
OwStandardCrossMappings.OwCrossDecoratorSearchNode.OwWrappedSearchCriteria(OwSearchCriteria searchcriteria_p,
OwCrossMappings crossMappings_p,
OwNetwork xNetwork_p,
String xResourceID_p) |
Modifier and Type | Class and Description |
---|---|
class |
OwSearchCriteriaFieldDefOverride
Overridden OwSearchCriteria to set specific max, min, default and native
values for custom controls.
|
class |
OwStandardDecoratorSearchCriteria
OwSearchCriteria wrapper to implement a decorator pattern.
|
Modifier and Type | Field and Description |
---|---|
protected OwSearchCriteria |
OwSearchNode.m_Criteria
criteria instance for this search node, null if OwSearchNode has children
|
protected OwSearchCriteria |
OwSearchCriteria.m_secondrangecriteria
optional second child criteria for range searches
|
Modifier and Type | Method and Description |
---|---|
abstract OwSearchCriteria |
OwStandardDecoratorSearchNode.createWrappedCriteria(OwSearchCriteria criteria_p)
get the decorated object, to be implemented be overridden classes
|
OwSearchCriteria |
OwStandardDecoratorSearchNode.getCriteria() |
OwSearchCriteria |
OwSearchNode.getCriteria()
get the criteria of this node
|
OwSearchCriteria |
OwSearchCriteria.getSecondRangeCriteria()
get a optional second child criteria for range searches
|
OwSearchCriteria |
OwStandardDecoratorSearchCriteria.getSecondRangeCriteria() |
abstract OwSearchCriteria |
OwStandardDecoratorSearchCriteria.getWrappedCriteria()
get the decorated object, to be implemented be overridden classes
|
Modifier and Type | Method and Description |
---|---|
protected String |
OwSearchSQLOperator.convertWildCards(OwSearchCriteria criteria_p,
String value_p)
convert the wildcards to client format
|
abstract OwSearchCriteria |
OwStandardDecoratorSearchNode.createWrappedCriteria(OwSearchCriteria criteria_p)
get the decorated object, to be implemented be overridden classes
|
protected String |
OwSearchSQLOperator.getCriteriaQueryName(OwSearchCriteria criteria_p)
(overridable) Method to get the property name, which is used for query statements.
This method can be overwritten if the field definition name and field definition query name are not corresponding. |
protected String |
OwSearchSQLOperator.getOperatorSQL(OwSearchCriteria criteria_p,
Object value_p,
boolean fFieldFirst_p)
get a operator SQL Statement for the given criteria
|
protected String |
OwSearchSQLOperator.getSingleOperatorSQL(OwSearchCriteria criteria_p,
Object value_p,
int iOperator_p,
boolean fFieldFirst_p)
get a single operator SQL Statement for the given criteria_p
|
protected String |
OwSearchSQLPreparedStatementOperator.getSQLValueString(OwSearchCriteria criteria_p,
Object value_p,
int dateMode_p)
override the default behavior to insert ? instead of real values.
|
protected String |
OwSearchSQLOperator.getSQLValueString(OwSearchCriteria criteria_p,
Object value_p,
int iDateMode_p)
get the value of the criteria and convert it to a SQL conform string
|
protected String |
OwSearchSQLOperator.getStringValue(OwSearchCriteria criteria_p,
String value_p)
prevent the usage of " or ' in SQL query
|
protected boolean |
OwSearchSQLOperator.isStringLiteral(OwSearchCriteria criteria_p)
(overridable) check if given criteria is a string literal and needs quotation marks
|
Constructor and Description |
---|
OwSearchNode(OwSearchCriteria criteria_p)
criteria constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
OwComparator.match(OwSearchCriteria filter,
T value)
Matching check, where the filter specifies the
criteria value and operation to be used for filtering.
|
Modifier and Type | Method and Description |
---|---|
List<OwSearchCriteria> |
OwSearchNodeFilter.getCriteriaList(OwSearchNode node)
Return a list of specific filtered OwSearchCriteria.
|
Map<String,OwSearchCriteria> |
OwSearchNodeFilter.getCriteriaMap(OwSearchNode node)
Return a map of criteria which will be add during
filter process.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OwSearchNodeFilter.match(OwSearchCriteria crit) |
Modifier and Type | Method and Description |
---|---|
boolean |
OwAbstractComparator.match(OwSearchCriteria filter,
T value) |
protected boolean |
OwBoolComparator.matchBetween(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchBetween(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchBetween(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchBetween(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchBetween(OwSearchCriteria filter,
T value)
Between value compare, where both limits must be include
for comparison. Neither the minimum limit nor the maximum
limit should be excluded.
|
protected boolean |
OwBoolComparator.matchEquals(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchEquals(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchEquals(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchEquals(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchEquals(OwSearchCriteria filter,
T value)
Value and filter value must be equal! But equal operation is
depending on the type and restriction of the given value.
|
protected boolean |
OwBoolComparator.matchGreater(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchGreater(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchGreater(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchGreater(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchGreater(OwSearchCriteria filter,
T value)
Value restriction where it must be greater as the filter.
|
protected boolean |
OwBoolComparator.matchGreaterEquals(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchGreaterEquals(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchGreaterEquals(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchGreaterEquals(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchGreaterEquals(OwSearchCriteria filter,
T value)
Greater or equals compare of given value and filter.
|
protected boolean |
OwBoolComparator.matchLess(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchLess(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchLess(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchLess(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchLess(OwSearchCriteria filter,
T value)
Value must be less than the defined filter.
|
protected boolean |
OwBoolComparator.matchLessEquals(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchLessEquals(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchLessEquals(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchLessEquals(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchLessEquals(OwSearchCriteria filter,
T value)
Less or equals compare of the value and filter.
|
protected boolean |
OwBoolComparator.matchLike(OwSearchCriteria filter,
Boolean value) |
protected boolean |
OwDateComparator.matchLike(OwSearchCriteria filter,
Date value) |
protected boolean |
OwNumberComparator.matchLike(OwSearchCriteria filter,
Number value) |
protected boolean |
OwStringComparator.matchLike(OwSearchCriteria filter,
String value) |
protected abstract boolean |
OwAbstractComparator.matchLike(OwSearchCriteria filter,
T value)
A like compare of the value, the filter criteria
can be used to get the representation of wildcard characters.
|
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.