dist1.acb.common.transport.concretePackets
Class RequestSearch

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Request
          extended bydist1.acb.common.transport.concretePackets.RequestSearch
All Implemented Interfaces:
java.io.Serializable

public class RequestSearch
extends Request

Contains results of a searching

Author:
Lazar Adzigogov
See Also:
Serialized Form

Constructor Summary
RequestSearch(java.lang.Integer topicId, java.lang.String text, java.lang.Long sizeLowerBound, java.lang.Long sizeUpperBound, java.math.BigDecimal priceLowerBound, java.math.BigDecimal priceUpperBound)
          Creates a new instance of RequestSearch
 
Method Summary
 java.math.BigDecimal getPriceLowerBound()
          Getter for property priceLowerBound.
 java.math.BigDecimal getPriceUpperBound()
          Getter for property priceUpperBound.
 java.lang.Long getSizeLowerBound()
          Getter for property sizeLowerBound.
 java.lang.Long getSizeUpperBound()
          Getter for property sizeUpperBound.
 java.lang.String getText()
          Getter for property text.
 java.lang.Integer getTopicId()
          Getter for property topicId.
 void setPriceLowerBound(java.math.BigDecimal priceLowerBound)
          Setter for property priceLowerBound.
 void setPriceUpperBound(java.math.BigDecimal priceUpperBound)
          Setter for property priceUpperBound.
 void setSizeLowerBound(java.lang.Long sizeLowerBound)
          Setter for property sizeLowerBound.
 void setSizeUpperBound(java.lang.Long sizeUpperBound)
          Setter for property sizeUpperBound.
 void setText(java.lang.String text)
          Setter for property text.
 void setTopicId(java.lang.Integer topicId)
          Setter for property topicId.
 
Methods inherited from class dist1.acb.common.transport.Packet
equals, getId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestSearch

public RequestSearch(java.lang.Integer topicId,
                     java.lang.String text,
                     java.lang.Long sizeLowerBound,
                     java.lang.Long sizeUpperBound,
                     java.math.BigDecimal priceLowerBound,
                     java.math.BigDecimal priceUpperBound)
Creates a new instance of RequestSearch

Parameters:
topicId - specific id to search for or null if search everywhere (hierarchy is supported, interface you can specify a parent topic's id, and the engine will search in all childen)
text - specific text to search for (in description and file name) or null if do not take into account the text
sizeLowerBound - specific lower bound of the sze to search for or null if do not take into account the lower bound
sizeUpperBound - specific upper bound of the sze to search for or null if do not take into account the upper bound
priceLowerBound - specific lower bound of the price to search for or null if do not take into account the lower bound
priceUpperBound - specific upper bound of the price to search for or null if do not take into account the upper bound
Method Detail

setPriceLowerBound

public void setPriceLowerBound(java.math.BigDecimal priceLowerBound)
Setter for property priceLowerBound.

Parameters:
priceLowerBound - New value of property priceLowerBound.

getPriceLowerBound

public java.math.BigDecimal getPriceLowerBound()
Getter for property priceLowerBound.

Returns:
Value of property priceLowerBound.

setPriceUpperBound

public void setPriceUpperBound(java.math.BigDecimal priceUpperBound)
Setter for property priceUpperBound.

Parameters:
priceUpperBound - New value of property priceUpperBound.

getPriceUpperBound

public java.math.BigDecimal getPriceUpperBound()
Getter for property priceUpperBound.

Returns:
Value of property priceUpperBound.

setSizeLowerBound

public void setSizeLowerBound(java.lang.Long sizeLowerBound)
Setter for property sizeLowerBound.

Parameters:
sizeLowerBound - New value of property sizeLowerBound.

getSizeLowerBound

public java.lang.Long getSizeLowerBound()
Getter for property sizeLowerBound.

Returns:
Value of property sizeLowerBound.

setSizeUpperBound

public void setSizeUpperBound(java.lang.Long sizeUpperBound)
Setter for property sizeUpperBound.

Parameters:
sizeUpperBound - New value of property sizeUpperBound.

getSizeUpperBound

public java.lang.Long getSizeUpperBound()
Getter for property sizeUpperBound.

Returns:
Value of property sizeUpperBound.

setText

public void setText(java.lang.String text)
Setter for property text.

Parameters:
text - New value of property text.

getText

public java.lang.String getText()
Getter for property text.

Returns:
Value of property text.

setTopicId

public void setTopicId(java.lang.Integer topicId)
Setter for property topicId.

Parameters:
topicId - New value of property topicId.

getTopicId

public java.lang.Integer getTopicId()
Getter for property topicId.

Returns:
Value of property topicId.


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.