Esri Geoportal Server
1.0

com.esri.gpt.catalog.search
Class SearchFilterContentTypes

java.lang.Object
  extended by com.esri.gpt.catalog.search.SearchFilterContentTypes
All Implemented Interfaces:
ISearchFilter, ISearchFilterContentTypes, Serializable

public class SearchFilterContentTypes
extends Object
implements ISearchFilterContentTypes

The Class SearchFilterContentTypes.

See Also:
Serialized Form

Constructor Summary
SearchFilterContentTypes()
          Instantiates a new search filter content types.
 
Method Summary
 SearchParameterMap getParams()
          Gets parameters serializing the class
 String getSelectedContentType()
          Gets the selected content type.
 boolean isEquals(Object obj)
          Tells us if this is equal to obj
 void reset()
          Resets this instance
 void setParams(SearchParameterMap parameterMap)
          Inflates this with the parameters in the parameter map
 void setSelectedContentType(String selectedContentType)
          Sets the selected content type.
 String toString()
           
 void validate()
          Validates if input values for this object are fine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchFilterContentTypes

public SearchFilterContentTypes()
Instantiates a new search filter content types.

Method Detail

getSelectedContentType

public String getSelectedContentType()
Gets the selected content type.

Specified by:
getSelectedContentType in interface ISearchFilterContentTypes
Returns:
the selected content type

setSelectedContentType

public void setSelectedContentType(String selectedContentType)
Sets the selected content type.

Specified by:
setSelectedContentType in interface ISearchFilterContentTypes
Parameters:
selectedContentType - the new selected content type

getParams

public SearchParameterMap getParams()
Gets parameters serializing the class

Specified by:
getParams in interface ISearchFilter
Returns:
SearchParameterMap with class values

isEquals

public boolean isEquals(Object obj)
Tells us if this is equal to obj

Specified by:
isEquals in interface ISearchFilter
Parameters:
obj - Object parameter to test for equality with this
Returns:
true if equals

reset

public void reset()
Resets this instance

Specified by:
reset in interface ISearchFilter

setParams

public void setParams(SearchParameterMap parameterMap)
               throws SearchException
Inflates this with the parameters in the parameter map

Specified by:
setParams in interface ISearchFilter
Parameters:
parameterMap -
Throws:
SearchException

toString

public String toString()
Overrides:
toString in class Object
Returns:
String representation of class

validate

public void validate()
              throws SearchException
Validates if input values for this object are fine

Specified by:
validate in interface ISearchFilter
Throws:
SearchException - on invalid state

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.