com.bea.content.manager.servlets.jsp.taglib
Class SearchTag

java.lang.Object
  extended by TagSupport
      extended by com.bea.content.manager.servlets.jsp.taglib.BaseTag
          extended by com.bea.content.manager.servlets.jsp.taglib.SearchTag

public class SearchTag
extends BaseTag

JSP Tag implementation for searching for content.


Field Summary
protected  Map contextParams
          Context params.
protected  Expression expr
          The query.
protected  boolean isManagerSort
          True if the sort will occur in the manager, in addition to the SPI.
protected  int max
          The maximum number of content to return.
protected  Node[] nodes
          Deprecated  
protected  String queryStr
          The query string.
protected  String[] searchPaths
          Search paths.
protected  String sortBy
          The sort by clause.
 
Fields inherited from class com.bea.content.manager.servlets.jsp.taglib.BaseTag
cacheId, cacheScope, cacheTimeout, failOnError, useCache
 
Constructor Summary
SearchTag()
           
 
Method Summary
 int doStartTag()
          Run the tag.
 Map getContextParams()
          Get the context params.
 String getMax()
          Get the value of max as a String.
 String getQuery()
          Get the value of queryStr.
 String[] getSearchPaths()
          Get the value of searchPaths.
 String getSortBy()
          Get the value of sortBy.
 void release()
          Release this tag.
 void setContextParams(Map m)
          Set the context params.
 void setContextParams(String str)
          Set the context params from semi-colon separate list of name=value pairs.
 void setExpression(Expression expr)
          Set the expression object to use.
 void setMax(int l)
          Set the value of max.
 void setMax(String v)
          Set the value of max.
 void setQuery(String v)
          Set the value of queryStr.
 void setSearchPaths(String searchPaths)
          Set the value of searchPaths.
 void setSearchPaths(String[] searchPaths)
          Set the value of searchPaths.
 void setSortBy(String v)
          Set the value of sortBy.
 
Methods inherited from class com.bea.content.manager.servlets.jsp.taglib.BaseTag
getCacheId, getCacheScope, getCacheTimeout, getFailOnError, getHttpSession, getUseCache, getUserId, setCacheId, setCacheScope, setCacheTimeout, setCacheTimeout, setFailOnError, setFailOnError, setUseCache, setUseCache, toDictionary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

max

protected int max
The maximum number of content to return.


sortBy

protected String sortBy
The sort by clause.


queryStr

protected String queryStr
The query string.


expr

protected Expression expr
The query.


contextParams

protected Map contextParams
Context params.


searchPaths

protected String[] searchPaths
Search paths.


isManagerSort

protected boolean isManagerSort
True if the sort will occur in the manager, in addition to the SPI.


nodes

protected Node[] nodes
Deprecated 
The Nodes returned from the search.

Constructor Detail

SearchTag

public SearchTag()
Method Detail

release

public void release()
Release this tag.

Overrides:
release in class BaseTag

doStartTag

public int doStartTag()
               throws JspException
Run the tag.

Throws
JspException

getMax

public String getMax()
Get the value of max as a String.


setMax

public void setMax(String v)
Set the value of max.


setMax

public void setMax(int l)
Set the value of max.


getSortBy

public String getSortBy()
Get the value of sortBy.


setSortBy

public void setSortBy(String v)
Set the value of sortBy.


setSearchPaths

public void setSearchPaths(String searchPaths)
Set the value of searchPaths.


setSearchPaths

public void setSearchPaths(String[] searchPaths)
Set the value of searchPaths.


getSearchPaths

public String[] getSearchPaths()
Get the value of searchPaths.


getQuery

public String getQuery()
Get the value of queryStr.


setQuery

public void setQuery(String v)
Set the value of queryStr.


setExpression

public void setExpression(Expression expr)
Set the expression object to use.


getContextParams

public Map getContextParams()
Get the context params.


setContextParams

public void setContextParams(String str)
Set the context params from semi-colon separate list of name=value pairs.


setContextParams

public void setContextParams(Map m)
Set the context params.



Copyright © 2006 BEA Systems, Inc. All Rights Reserved