public interface IDfModifiableResultEntry extends IDfResultEntry
MODIFIED, NEW, OLD
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String attrName,
double value)
Adds a non-repeating double attribute and its value.
|
void |
addAttribute(java.lang.String attrName,
int value)
Adds a non-repeating integer attribute and its value.
|
void |
addAttribute(java.lang.String attrName,
int type,
java.lang.String value)
Adds a non-repeating attribute and its value.
|
void |
addDateAttribute(java.lang.String attrName,
java.lang.String value,
java.lang.String dateFormat)
Adds a non-repeating date attribute with its value.
|
void |
addRepeatingAttribute(java.lang.String attrName,
int type,
java.util.List values)
Adds a repeating attribute and its values.
|
void |
addRepeatingDateAttribute(java.lang.String attrName,
int type,
java.util.List values,
java.lang.String dateFormat)
Adds a repeating attribute and its values.
|
java.lang.String |
getContentDescriptor()
Gets the descriptor of an external result content.
|
void |
setContentDescriptor(java.lang.String contentDescriptor)
Sets the descriptor of an external result content.
|
void |
setGlobalSeqNumber(int globalSeqNumber)
Sets this result global sequence number.
|
void |
setMatchingTerms(java.util.List matchingTerms)
Sets the result terms matching the query.
|
void |
setScore(double score)
Sets this result score.
|
void |
setSeqNumber(int seqNumber)
Sets this result sequence number.
|
void |
setStatus(int status)
Sets the status of the result.
|
void |
setURL(java.lang.String value)
Sets the URL for this result.
|
enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getGlobalSeqNumber, getId, getInt, getKey, getLong, getMatchingTerms, getMetadataHighlights, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getScore, getSeqNumber, getSource, getStatus, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, isAttrRepeating, isRepositoryObject, isUrlAddressible
void setScore(double score)
void setSeqNumber(int seqNumber)
void setGlobalSeqNumber(int globalSeqNumber)
void setStatus(int status)
status
- The constant corresponding to the result status.IDfResultEntry.OLD
,
IDfResultEntry.NEW
,
IDfResultEntry.MODIFIED
void setURL(java.lang.String value)
void addAttribute(java.lang.String attrName, int value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- If attribute already exists.void addAttribute(java.lang.String attrName, double value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- If attribute already exists.void addDateAttribute(java.lang.String attrName, java.lang.String value, java.lang.String dateFormat) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- If the attribute already exists or the date value doesn't match the date format.void addAttribute(java.lang.String attrName, int type, java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- If the attribute already exists or if types are not compatible.void addRepeatingAttribute(java.lang.String attrName, int type, java.util.List values) throws java.lang.IllegalArgumentException
values
- List of Stringjava.lang.IllegalArgumentException
- If the attribute already exists or if types are not compatible.void addRepeatingDateAttribute(java.lang.String attrName, int type, java.util.List values, java.lang.String dateFormat) throws java.lang.IllegalArgumentException
values
- List of Stringjava.lang.IllegalArgumentException
- If the attribute already exists or if types are not compatible.void setContentDescriptor(java.lang.String contentDescriptor) throws DfException
contentDescriptor
- DfException
java.lang.String getContentDescriptor() throws DfException
DfException
void setMatchingTerms(java.util.List matchingTerms)
matchingTerms
- The result matching terms (List of String).Copyright 1994-2023 OpenText Corporation. All rights reserved.