|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.p13n.content.expression.Search
This represents parameters for searching for objects, specifically Content objects.
Attribute: maxReturn
Field Summary | |
protected java.util.Map |
contextParams
The context params. |
protected Expression |
expression
The search expression. |
protected long |
maxReturn
The maximum number of objects to return. |
protected java.lang.String |
sort
The sorting criteria |
protected java.lang.String |
userId
The user id. |
Constructor Summary | |
Search()
Empty constructor. |
|
Search(long maxReturn,
java.lang.String sort,
Expression expression)
Constructor. |
|
Search(java.lang.String userId,
long maxReturn,
java.lang.String sort,
Expression expr)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Make a shallow copy of this object. |
boolean |
equals(java.lang.Object o)
Determine if another object is equals to this. |
java.lang.Object |
getContextParam(java.lang.Object key)
Get the value of a context param. |
java.util.Map |
getContextParams()
Get an unmodifiable copy of the context params. |
Expression |
getExpression()
Get the search expression. |
long |
getMaxReturn()
Get the maximum number of objects to return. |
java.lang.String |
getSort()
Get the sort criteria. |
java.lang.String |
getUserId()
Get the user id. |
int |
hashCode()
Override hashcode to use our parts. |
java.lang.Object |
setContextParam(java.lang.Object key,
java.lang.Object value)
Set the value of a context param. |
void |
setContextParams(java.util.Map input)
Set the context params based upon the objects in the input map. |
void |
setExpression(Expression expression)
Set the search expression. |
void |
setMaxReturn(long maxReturn)
Set the maximum number of objects to return. |
void |
setSort(java.lang.String sort)
Set the sort criteria. |
void |
setUserId(java.lang.String userId)
Set the user id. |
java.lang.String |
toString()
Get a String representation of this. |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected long maxReturn
protected java.lang.String sort
protected Expression expression
protected java.lang.String userId
protected java.util.Map contextParams
Constructor Detail |
public Search(java.lang.String userId, long maxReturn, java.lang.String sort, Expression expr)
public Search(long maxReturn, java.lang.String sort, Expression expression)
public Search()
Method Detail |
public long getMaxReturn()
public void setMaxReturn(long maxReturn)
public java.lang.String getSort()
public void setSort(java.lang.String sort)
public Expression getExpression()
public void setExpression(Expression expression)
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
public java.util.Map getContextParams()
public void setContextParams(java.util.Map input)
public java.lang.Object getContextParam(java.lang.Object key)
public java.lang.Object setContextParam(java.lang.Object key, java.lang.Object value)
The key and value must be Serializable.
key
- the context param key.value
- the context param value.public java.lang.Object clone()
public int hashCode()
public boolean equals(java.lang.Object o)
public java.lang.String toString()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |