Esri Geoportal Server
1.2.9

com.esri.gpt.server.csw.client
Class CswSearchCriteria

java.lang.Object
  extended by com.esri.gpt.framework.request.Criteria
      extended by com.esri.gpt.server.csw.client.CswSearchCriteria
All Implemented Interfaces:
Serializable

public class CswSearchCriteria
extends Criteria

The Class CswSearchCriteria. Minimal used for a for a csw search

See Also:
Serialized Form

Constructor Summary
CswSearchCriteria()
          Instantiates a new csw search criteria.
 
Method Summary
 Envelope getEnvelope()
          Accessor methods.
 int getMaxRecords()
          Gets the max records.
 String getSearchText()
          Gets the search text.
 int getStartPosition()
          Gets the start position.
 boolean isEnvelopeContains()
          Checks if envelope contains.
 boolean isEnvelopeIntersects()
          Checks if envelope intersects.
 boolean isLiveDataAndMapsOnly()
          Checks if is live data and maps only.
 boolean isUseGeographicExtent()
          Check if use geographic extent.
 void reset()
          Resets the criteria.
 void setEnvelope(Envelope envelope)
          Sets the envelope.
 void setEnvelopeContains(boolean envelopeContains)
          Set to contain envelope.
 void setEnvelopeIntersects(boolean envelopeIntersects)
          Set to intersect envelope.
 void setLiveDataAndMapsOnly(boolean liveDataAndMapsOnly)
          Sets the live data and maps only.
 void setMaxRecords(int maxRecords)
          Sets the max records.
 void setSearchText(String text)
          Sets the search text.
 void setStartPosition(int position)
          Sets the start position.
 void setUseGeographicExtent(boolean useGeographicExtent)
          Set to use geographic extent.
 String toXml()
          To xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CswSearchCriteria

public CswSearchCriteria()
Instantiates a new csw search criteria.

Method Detail

getEnvelope

public Envelope getEnvelope()
Accessor methods.

Returns:
the envelope

setEnvelope

public void setEnvelope(Envelope envelope)
Sets the envelope.

Parameters:
envelope - the new envelope

isLiveDataAndMapsOnly

public boolean isLiveDataAndMapsOnly()
Checks if is live data and maps only.

Returns:
true, if is live data and maps only

setLiveDataAndMapsOnly

public void setLiveDataAndMapsOnly(boolean liveDataAndMapsOnly)
Sets the live data and maps only.

Parameters:
liveDataAndMapsOnly - the new live data and maps only

getMaxRecords

public int getMaxRecords()
Gets the max records.

Returns:
the max records

setMaxRecords

public void setMaxRecords(int maxRecords)
Sets the max records.

Parameters:
maxRecords - the new max records

getSearchText

public String getSearchText()
Gets the search text.

Returns:
the search text

setSearchText

public void setSearchText(String text)
Sets the search text.

Parameters:
text - the new search text

getStartPosition

public int getStartPosition()
Gets the start position.

Returns:
the start position

setStartPosition

public void setStartPosition(int position)
Sets the start position.

Parameters:
position - the new start position

isEnvelopeIntersects

public boolean isEnvelopeIntersects()
Checks if envelope intersects.

Returns:
true if envelope intersets

setEnvelopeIntersects

public void setEnvelopeIntersects(boolean envelopeIntersects)
Set to intersect envelope.

Parameters:
envelopeIntersects - true to intersect envelope

isEnvelopeContains

public boolean isEnvelopeContains()
Checks if envelope contains.

Returns:
true if envelope contains

setEnvelopeContains

public void setEnvelopeContains(boolean envelopeContains)
Set to contain envelope.

Parameters:
envelopeContains - true to contain envelope

isUseGeographicExtent

public boolean isUseGeographicExtent()
Check if use geographic extent.

Returns:
true if use geographic extent

setUseGeographicExtent

public void setUseGeographicExtent(boolean useGeographicExtent)
Set to use geographic extent.

Parameters:
useGeographicExtent - true to use geographic extent

toXml

public String toXml()
To xml.

Returns:
the string

reset

public void reset()
Description copied from class: Criteria
Resets the criteria.

Specified by:
reset in class Criteria

Esri Geoportal Server
1.2.9

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