|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.2.0) E21607-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LovInfo
LovInfo is an interface used by both the crawler and a data source plugin to set and retrieve attribute lists of values (LOV) from the data source.
| Field Summary | |
|---|---|
static int |
ATTR_DATEDate attribute data types |
static int |
ATTR_NUMBERNumber attribute data types |
static int |
ATTR_STRINGString attribute data types |
| Method Summary | |
|---|---|
void |
addAttributeValue(String name, BigDecimal value)Adds an attribute value whose data type is Number. |
void |
addAttributeValue(String name, BigDecimal value, String displayName, String langCode)Add an attribute value and display name whose data type is Number. |
void |
addAttributeValue(String name, Date value)Add an attribute value whose data type is java.sql.Date. |
void |
addAttributeValue(String name, Date value, String displayName, String langCode)Add an attribute value and display name whose type is java.sql.Date |
void |
addAttributeValue(String name, String value)Add an attribute value whose data type is String. |
void |
addAttributeValue(String name, String value, String displayName, String langCode)Adds an attribute value and display name whose data type is String |
void |
clearData()Clear all LOV data |
Enumeration |
getAttributeLov(int attrIndex)Gets the list of values for a specified attribute. |
String |
getAttributeName(int attrIndex)Gets the name of the specified attribute. |
int |
getAttributeType(int attrIndex)Gets the data type of the specified attribute. |
Enumeration |
getDisplayNames(int attrIndex, int langIndex)Gets the list of display names for a specified attribute. |
String |
getLangCode(int attrIndex, int langIndex)Gets the language-country code string for a display name. |
int |
getNumAttributes()Gets number of attributes. |
int |
getNumAttrValues()Gets number of attribute values. |
int |
getNumDisplayNames(int attrIndex, int langIndex)Gets number of display names of an attribute in a particular language. |
int |
getNumLanguages(int attrIndex)Gets the number of languages available for the display name of an attribute. |
| Field Detail |
|---|
static final int ATTR_STRING
static final int ATTR_NUMBER
static final int ATTR_DATE
| Method Detail |
|---|
void addAttributeValue(String name,
BigDecimal value)
name - - The name of the attributevalue - - The value of the attribute
void addAttributeValue(String name,
Date value)
name - - The name of the attributevalue - - The value of the attribute
void addAttributeValue(String name,
String value)
name - - The name of the attributevalue - - The value of the attribute
void addAttributeValue(String name,
BigDecimal value,
String displayName,
String langCode)
name - - The name of the attribute.value - - The value of the attribute.displayName - - The display name of the attribute.langCode - - The ISO 639-1 language code and ISO3166 country code, for example, "en-US".
void addAttributeValue(String name,
Date value,
String displayName,
String langCode)
name - - The name of the attribute.value - - The value of the attribute.displayName - - The display name of the attribute.langCode- - The ISO 639-1 language code and ISO3166 country code, for example, "en-US".
void addAttributeValue(String name,
String value,
String displayName,
String langCode)
name - - The name of the attribute.value - - The value of the attribute.displayName - - The display name of the attribute.langCode - - The ISO 639-1 language code and ISO3166 country code, for example, "en-US".int getNumAttributes()
int getNumAttrValues()
String getAttributeName(int attrIndex)
attrIndex - - A 0-based index indicating which attribute.int getAttributeType(int attrIndex)
attrIndex - - A 0-based index identifying attribute.Enumeration getAttributeLov(int attrIndex)
attrIndex - - A 0-based index identifying the attribute.int getNumLanguages(int attrIndex)
attrIndex - - A 0-based index indicating which attribute.
String getLangCode(int attrIndex,
int langIndex)
attrIndex - - A 0-based index identifying the attribute.langIndex - - A 0-based index identifying the language.
int getNumDisplayNames(int attrIndex,
int langIndex)
attrIndex - - A 0-based index indicating which attribute.langIndex - - A 0-based index indicating which language.
Enumeration getDisplayNames(int attrIndex,
int langIndex)
attrIndex - - A 0-based index identifying the attribute.langIndex - - A 0-based index identifying the language.void clearData()
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.2.0) E21607-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||