© 2005 BEA Systems, Inc.

com.bea.p13n.content.expression
Class Search

java.lang.Object
  extended bycom.bea.p13n.content.expression.Search
All Implemented Interfaces:
Cloneable, Serializable

public class Search
extends Object
implements Cloneable, Serializable

This represents parameters for searching for objects, specifically Content objects.

Attribute: maxReturn Attribute: sort Attribute: expression Attribute: userId Attribute: contextParams

See Also:
Serialized Form

Field Summary
protected  Map contextParams
          Deprecated. The context params.
protected  Expression expression
          Deprecated. The search expression.
protected  long maxReturn
          Deprecated. The maximum number of objects to return.
protected  String sort
          Deprecated. The sorting criteria
protected  String userId
          Deprecated. The user id.
 
Constructor Summary
Search()
          Deprecated. Empty constructor.
Search(long maxReturn, String sort, Expression expression)
          Deprecated. Constructor.
Search(String userId, long maxReturn, String sort, Expression expr)
          Deprecated. Constructor.
 
Method Summary
 Object clone()
          Deprecated. Make a shallow copy of this object.
 boolean equals(Object o)
          Deprecated. Determine if another object is equals to this.
 Object getContextParam(Object key)
          Deprecated. Get the value of a context param.
 Map getContextParams()
          Deprecated. Get an unmodifiable copy of the context params.
 Expression getExpression()
          Deprecated. Get the search expression.
 long getMaxReturn()
          Deprecated. Get the maximum number of objects to return.
 String getSort()
          Deprecated. Get the sort criteria.
 String getUserId()
          Deprecated. Get the user id.
 int hashCode()
          Deprecated. Override hashcode to use our parts.
 Object setContextParam(Object key, Object value)
          Deprecated. Set the value of a context param.
 void setContextParams(Map input)
          Deprecated. Set the context params based upon the objects in the input map.
 void setExpression(Expression expression)
          Deprecated. Set the search expression.
 void setMaxReturn(long maxReturn)
          Deprecated. Set the maximum number of objects to return.
 void setSort(String sort)
          Deprecated. Set the sort criteria.
 void setUserId(String userId)
          Deprecated. Set the user id.
 String toString()
          Deprecated. Get a String representation of this.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

contextParams

protected Map contextParams
Deprecated. 
The context params.


expression

protected Expression expression
Deprecated. 
The search expression.


maxReturn

protected long maxReturn
Deprecated. 
The maximum number of objects to return.


sort

protected String sort
Deprecated. 
The sorting criteria


userId

protected String userId
Deprecated. 
The user id.

Constructor Detail

Search

public Search()
Deprecated. 
Empty constructor.


Search

public Search(long maxReturn,
              String sort,
              Expression expression)
Deprecated. 
Constructor.


Search

public Search(String userId,
              long maxReturn,
              String sort,
              Expression expr)
Deprecated. 
Constructor.

Method Detail

clone

public Object clone()
Deprecated. 
Make a shallow copy of this object.


equals

public boolean equals(Object o)
Deprecated. 
Determine if another object is equals to this.


getContextParam

public Object getContextParam(Object key)
Deprecated. 
Get the value of a context param.


getContextParams

public Map getContextParams()
Deprecated. 
Get an unmodifiable copy of the context params.


getExpression

public Expression getExpression()
Deprecated. 
Get the search expression.


getMaxReturn

public long getMaxReturn()
Deprecated. 
Get the maximum number of objects to return.


getSort

public String getSort()
Deprecated. 
Get the sort criteria.


getUserId

public String getUserId()
Deprecated. 
Get the user id.


hashCode

public int hashCode()
Deprecated. 
Override hashcode to use our parts.


setContextParam

public Object setContextParam(Object key,
                              Object value)
Deprecated. 
Set the value of a context param.

The key and value must be Serializable.

Parameters:
key - the context param key.
value - the context param value.
Returns:
the old context param value or null if none.

setContextParams

public void setContextParams(Map input)
Deprecated. 
Set the context params based upon the objects in the input map.


setExpression

public void setExpression(Expression expression)
Deprecated. 
Set the search expression.


setMaxReturn

public void setMaxReturn(long maxReturn)
Deprecated. 
Set the maximum number of objects to return.


setSort

public void setSort(String sort)
Deprecated. 
Set the sort criteria.


setUserId

public void setUserId(String userId)
Deprecated. 
Set the user id.


toString

public String toString()
Deprecated. 
Get a String representation of this.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved