Esri Geoportal Server
1.0

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 isLiveDataAndMapsOnly()
          Checks if is live data and maps only.
 void reset()
          Resets the criteria.
 void setEnvelope(Envelope envelope)
          Sets the 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.
 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

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.0

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