WebCenter Interaction API  
 

IPTSResult Members

IPTSResult overview

Public Instance Methods

public methodgetFieldAsBoolean Returns the value of a boolean IPTSField. Throws a PTSNoFieldValueException if the field is not defined for this result.
public methodgetFieldAsDouble Returns the value of a floating-point IPTSField. Note that the Search Server stores all numeric types as 32-bit float values. Values will suffer roundoff error. Throws a PTSNoFieldValueException if the field is not defined for this result.
public methodgetFieldAsInt Returns the value of an integer IPTSField. Note that the Search Server stores all numeric types as 32-bit float values. Values will suffer roundoff error. Throws a PTSNoFieldValueException if the field is not defined for this result.
public methodgetFieldAsObject Returns the value of a IPTSField, regardless of type. The actual underlying type of the returned Object will be String, Integer, Double, Boolean, or XPDateTime. Throws a PTSNoFieldValueException if the field is not defined for this result.
public methodgetFieldAsString Returns the value of a String IPTSField. Throws a PTSNoFieldValueException if the field is not defined for this result.
public methodgetFieldAsXPDateTime Returns the value of a floating-point IPTSField. Note that the Search Server stores dates as 32-bit float values. Values will suffer roundoff error. Throws a PTSNoFieldValueException if the field is not defined for this result.
public methodgetFieldExcerpts 
public methodgetFieldExists Returns whether or not the field exists in this result. NOTE: Fields can not exist because they were not queried for, they were not indexed because they contain a null or empty string value, or because the calling code is trying to get an invalid field in this result.
public methodgetRank Returns the rank of this result within its result set. Convenience method that returns the same result as calling getFieldAsInt on the RANK field (see IPTSSearchableCollection.Rank).

See Also

IPTSResult Interface | com.plumtree.server.search Namespace