Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community
Class ProfileSearchFilter

java.lang.Object
  extended by com.jivesoftware.community.ProfileSearchFilter

public class ProfileSearchFilter
extends java.lang.Object

This class can filter user search results based on specific values for a ProfileField.


Constructor Summary
ProfileSearchFilter()
           
ProfileSearchFilter(long fieldID, java.lang.String value)
           
 
Method Summary
 long getFieldID()
          Gets the ID of the ProfileField used to filter the user results.
 java.lang.String getMaxValue()
          Gets the maximum value that will be used to filter the user results.
 java.lang.String getMinValue()
          Gets the minimum value that will be used to filter the user results.
 java.lang.String getValue()
          Gets the value that will be used to filter the user results.
 void setFieldID(long fieldID)
          Sets the ID of the ProfileField used to filter the user results.
 void setMaxValue(java.lang.String maxValue)
          Sets the maximum value that will be used to filter the user results.
 void setMinValue(java.lang.String minValue)
          Sets the minimum value that will be used to filter the user results.
 void setValue(java.lang.String value)
          Sets the value that will be used to filter the user results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileSearchFilter

public ProfileSearchFilter()

ProfileSearchFilter

public ProfileSearchFilter(long fieldID,
                           java.lang.String value)
Method Detail

getFieldID

public long getFieldID()
Gets the ID of the ProfileField used to filter the user results.

Returns:
the ID of the ProfileField used to filter the user results.

setFieldID

public void setFieldID(long fieldID)
Sets the ID of the ProfileField used to filter the user results.

Parameters:
fieldID - the ID of the ProfileField used to filter the user results.

getValue

public java.lang.String getValue()
Gets the value that will be used to filter the user results. Only user results with this exact value for this ProfileField will be returned.

Returns:
the value that will be used to filter the user results.

setValue

public void setValue(java.lang.String value)
Sets the value that will be used to filter the user results. Only user results with this exact value for this ProfileField will be returned.

Parameters:
value - the value that will be used to filter the user results.

getMinValue

public java.lang.String getMinValue()
Gets the minimum value that will be used to filter the user results. Only user results with a value greater than this value for this ProfileField will be returned.

Returns:
the minumum value that will be used to filter the user results.

setMinValue

public void setMinValue(java.lang.String minValue)
Sets the minimum value that will be used to filter the user results. Only user results with a value greater than this value for this ProfileField will be returned.

Parameters:
minValue - the minumum value that will be used to filter the user results.

getMaxValue

public java.lang.String getMaxValue()
Gets the maximum value that will be used to filter the user results. Only user results with a value less than this value for this ProfileField will be returned.

Returns:
the maximum value that will be used to filter the user results.

setMaxValue

public void setMaxValue(java.lang.String maxValue)
Sets the maximum value that will be used to filter the user results. Only user results with a value less than this value for this ProfileField will be returned.

Parameters:
maxValue - the maximum value that will be used to filter the user results.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.