|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Single entry of a complex search query.
| Field Summary | |
static String |
OPERATOR_AND
if query entry is an operator entry the value can be OPERATOR_AND, OPERATOR_OR or OPERATOR_NOT |
static String |
OPERATOR_NOT
if query entry is an operator entry the value can be OPERATOR_AND, OPERATOR_OR or OPERATOR_NOT |
static String |
OPERATOR_OR
if query entry is an operator entry the value can be OPERATOR_AND, OPERATOR_OR or OPERATOR_NOT |
static byte |
PROPERTY_OPERATOR_BETWEEN
Property value should be between value 1 and value 2 of the query entry |
static byte |
PROPERTY_OPERATOR_EQUAL
Property value should be equal to the value of the query entry |
static byte |
PROPERTY_OPERATOR_GREATER
Property value should be greater than the value of the query entry |
static byte |
PROPERTY_OPERATOR_GREATER_OR_EQUAL
Property value should be greater or equal the value of the query entry |
static byte |
PROPERTY_OPERATOR_LESS
Property value should be less than the value of the query entry |
static byte |
PROPERTY_OPERATOR_LESS_OR_EQUAL
Property value should be less or equal the value of the query entry |
static byte |
PROPERTY_OPERATOR_NOT
Property value should not be equal to the value of the query entry |
static byte |
PROPERTY_TYPE_DATE
if query entry is an attribute entry you can specifiy the property type |
static byte |
PROPERTY_TYPE_INTEGER
if query entry is an attribute entry you can specifiy the property type |
static byte |
PROPERTY_TYPE_STRING
if query entry is an attribute entry you can specifiy the property type |
static byte |
PROPERTY_TYPE_TEXT
if query entry is an attribute entry you can specifiy the property type |
static byte |
PROPERTY_TYPE_USE_META_MODEL
if query entry is an attribute entry you can specifiy the property type |
static String |
ROW_TYPE_ATTRIBUTE
specifies that query entry is an attribute entry |
static String |
ROW_TYPE_BRACKET_CLOSE
specifies that query entry is an close bracket entry |
static String |
ROW_TYPE_BRACKET_OPEN
specifies that query entry is an open bracket entry |
static String |
ROW_TYPE_OPERATOR
specifies that query entry is an operator entry |
static String |
ROW_TYPE_TERM
specifies that query entry is a term entry |
static byte |
TERM_ACTION_EXACT
exact search |
static byte |
TERM_ACTION_FUZZY
fuzzy search |
static byte |
TERM_ACTION_LINGUISTIC
linguistic search |
static byte |
TERM_ACTION_NEAR_WIDTH
near with search |
static byte |
TERM_ACTION_SOUNDEX
soundex search |
| Method Summary | |
IQueryEntry |
cloneEntry()
Clones itself. |
IPropertyName |
getCMPropertyName()
|
float |
getFuzziness()
|
String |
getPropertyName()
Deprecated. as of NW04. Use getCMPropertyName() |
byte |
getPropertyOperator()
The property operator defines the context of the query entry value. |
byte |
getPropertyType()
|
String |
getRowType()
Returns the row type |
List |
getSubstitutedTerms()
Returns the corrected terms |
byte |
getTermAction()
Returns the term action |
float |
getTermWeight()
|
String |
getValue1AsString()
|
Date |
getValue1DateValue()
|
int |
getValue1IntValue()
|
String |
getValue2AsString()
|
Date |
getValue2DateValue()
|
int |
getValue2IntValue()
|
String |
getValueAsString()
|
Date |
getValueDateValue()
|
int |
getValueIntValue()
|
boolean |
isTermsChanged()
Returns true if the terms are changed |
void |
setDateValue(String dateValue)
following format: yyyy-MM-dd HH:mm:ss. |
void |
setDateValue(String dateValue1,
String dateValue2)
Sets the first and second value on date values. |
void |
setFuzziness(float fuzziness)
must be used for fuzzy search. |
void |
setPropertyName(IPropertyName cmPropertyName)
Optional: defines in which attribute the search is to be executed if an attribute search is executed |
void |
setPropertyName(String propertyName)
Deprecated. as of NW04. See setPropertyName(IPropertyName) |
void |
setPropertyOperator(byte propertyOperator)
The property operator defines the context of the query entry value. |
void |
setPropertyType(byte propertyType)
Adds a property type. |
void |
setRowType(String rowType)
Sets the row type |
void |
setSubstitutedTerms(List substitutedTerms)
Sets the corrected terms |
void |
setTermAction(byte termAction)
Adds a term action; the term action defines how the search is executed (fuzzy, exact,...) |
void |
setTermsChanged(boolean hasChanged)
Set on true if the terms are changed |
void |
setTermWeight(float weight)
Sets the term weight the term weight goes from 0.0 ... 1.0 |
void |
setValue(Date dateValue)
Sets the value |
void |
setValue(Date dateValue1,
Date dateValue2)
result is between value1 and value2 |
void |
setValue(int intValue)
Sets the value |
void |
setValue(int intValue1,
int intValue2)
result is between value1 and value2 |
void |
setValue(String stringValue)
Sets the value |
void |
setValue(String value1,
String value2)
|
boolean |
specialEqual1(IQueryEntry e2)
|
| Field Detail |
public static final byte TERM_ACTION_LINGUISTIC
public static final byte TERM_ACTION_FUZZY
public static final byte TERM_ACTION_NEAR_WIDTH
public static final byte TERM_ACTION_EXACT
public static final byte TERM_ACTION_SOUNDEX
public static final byte PROPERTY_TYPE_USE_META_MODEL
public static final byte PROPERTY_TYPE_STRING
public static final byte PROPERTY_TYPE_DATE
public static final byte PROPERTY_TYPE_INTEGER
public static final byte PROPERTY_TYPE_TEXT
public static final String ROW_TYPE_TERM
public static final String ROW_TYPE_ATTRIBUTE
public static final String ROW_TYPE_OPERATOR
public static final String ROW_TYPE_BRACKET_OPEN
public static final String ROW_TYPE_BRACKET_CLOSE
public static final String OPERATOR_AND
public static final String OPERATOR_OR
public static final String OPERATOR_NOT
public static final byte PROPERTY_OPERATOR_EQUAL
public static final byte PROPERTY_OPERATOR_NOT
public static final byte PROPERTY_OPERATOR_BETWEEN
public static final byte PROPERTY_OPERATOR_GREATER
public static final byte PROPERTY_OPERATOR_LESS
public static final byte PROPERTY_OPERATOR_GREATER_OR_EQUAL
public static final byte PROPERTY_OPERATOR_LESS_OR_EQUAL
| Method Detail |
public IQueryEntry cloneEntry()
public void setSubstitutedTerms(List substitutedTerms)
substitutedTerms - List of Stringspublic List getSubstitutedTerms()
public void setTermsChanged(boolean hasChanged)
hasChanged - public boolean isTermsChanged()
public void setValue(String stringValue)
public void setValue(int intValue)
public void setValue(Date dateValue)
public void setDateValue(String dateValue)
throws ParseException
dateValue -
ParseException
public void setDateValue(String dateValue1,
String dateValue2)
throws ParseException
dateValue1 - dateValue2 -
ParseException
public void setValue(int intValue1,
int intValue2)
public void setValue(String value1,
String value2)
public void setValue(Date dateValue1,
Date dateValue2)
public void setRowType(String rowType)
throws WcmException
rowType - row type, see static attributes ROW_TYPE_xxx
WcmException
public void setTermWeight(float weight)
throws WcmException
WcmException
public void setTermAction(byte termAction)
throws WcmException
WcmException
public void setPropertyType(byte propertyType)
throws WcmException
ROW_TYPE_ATTRIBUTE.
The default value is PROPERTY_TYPE_STRING)
WcmExceptionpublic void setPropertyOperator(byte propertyOperator)
IQueryEntry.ROW_TYPE_ATTRIBUTE.
Use constants beginning with IQueryEntry.PROPERTY_OPERATOR_.
Default is IQueryEntry.PROPERTY_OPERATOR_EQUAL.
public void setPropertyName(String propertyName)
throws WcmException
WcmException
public void setPropertyName(IPropertyName cmPropertyName)
throws WcmException
WcmExceptionpublic String getPropertyName()
public IPropertyName getCMPropertyName()
IPropertyName object that has been set.public byte getPropertyType()
public byte getPropertyOperator()
IQueryEntry.ROW_TYPE_ATTRIBUTE.
Use constants beginning with IQueryEntry.PROPERTY_OPERATOR_.
Default is IQueryEntry.PROPERTY_OPERATOR_EQUAL.
public byte getTermAction()
public float getTermWeight()
public String getRowType()
public String getValue1AsString()
public Date getValue1DateValue()
public int getValue1IntValue()
public String getValueAsString()
public Date getValueDateValue()
public int getValueIntValue()
public String getValue2AsString()
public Date getValue2DateValue()
public int getValue2IntValue()
public void setFuzziness(float fuzziness)
fuzziness - - value between 0.0 and 1.0
where 1.0 is exact searchpublic float getFuzziness()
public boolean specialEqual1(IQueryEntry e2)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||