SelectTag Class

DEPRECATED

com.bea.p13n.content.servlets.jsp.taglib
SelectTag Class

public class SelectTag

    extends com.bea.p13n.content.servlets.jsp.taglib.BaseTag

JSP Tag implementation for searching for content.


Hierarchy
Object
  TagSupport
    com.bea.p13n.content.servlets.jsp.taglib.BaseTag
      SelectTag
All Implemented Interfaces

IterationTag, Serializable, Tag

Field Summary

protected String
contentHome
The JNDI content manager home name.
protected Map
contextParams
Context params.
protected com.bea.p13n.expression.Expression
expr
The query.
protected long
max
The maximum number of content to return.
protected com.beasys.commerce.foundation.expression.Expression
oldExpr
The old expression query.
protected String
queryStr
The query string.
protected String
sortBy
The sort by clause.
   
Fields from  com.bea.p13n.content.servlets.jsp.taglib.com.bea.p13n.content.servlets.jsp.taglib.BaseTag
cacheId, cacheScope, cacheTimeout, failOnError, readOnly, useCache
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

SelectTag()

 

Method Summary

public int
doStartTag()
Run the tag.
public String
getContentHome()
Get the value of SelectTag.contentHome.
public Map
getContextParams()
Get the context params.
public String
getMax()
Get the value of SelectTag.max as a String.
public String
getQuery()
Get the value of SelectTag.queryStr.
public String
getSortBy()
Get the value of SelectTag.sortBy.
public void
release()
Release this tag.
public void
setContentHome(String v)
Set the value of SelectTag.contentHome.
public void
setContextParams(String str)
Set the context params from semi-colon separate list of name=value pairs.
public void
setContextParams(Map m)
Set the context params.
public void
setExpression(Expression expr)
Set the expression object to use.
public void
setExpression(Expression expr)
Set the old expression object to use.
public void
setMax(String v)
Set the value of SelectTag.max.
public void
setMax(long l)
Set the value of SelectTag.max.
public void
setQuery(String v)
Set the value of SelectTag.queryStr.
public void
setSortBy(String v)
Set the value of SelectTag.sortBy.
 
Methods from  com.bea.p13n.content.servlets.jsp.taglib.com.bea.p13n.content.servlets.jsp.taglib.BaseTag
getCacheId, getCacheScope, getCacheTimeout, getFailOnError, getHttpSession, getReadOnly, getUseCache, getUserId, setCacheId, setCacheScope, setCacheTimeout, setCacheTimeout, setFailOnError, setFailOnError, setReadOnly, setReadOnly, setUseCache, setUseCache, toDictionary
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

contentHome

protected String contentHome
The JNDI content manager home name.


contextParams

protected Map contextParams
Context params.


expr

protected com.bea.p13n.expression.Expression expr
The query.

If this is non-null, this will be used. Otherwise, the old expression query will be used.


max

protected long max
The maximum number of content to return.


oldExpr

protected com.beasys.commerce.foundation.expression.Expression oldExpr
The old expression query.

If expr is null and this is non-null, this will be used. Otherwise, the query string will be used.


queryStr

protected String queryStr
The query string.


sortBy

protected String sortBy
The sort by clause.

 

Constructor Detail

SelectTag

public SelectTag()
 

Method Detail

doStartTag() Method

public int doStartTag()
throws JspException
Run the tag.

Overrides
TagSupport.doStartTag()

Exceptions

JspException

getContentHome() Method

public String getContentHome()
Get the value of SelectTag.contentHome.


getContextParams() Method

public Map getContextParams()
Get the context params.


getMax() Method

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


getQuery() Method

public String getQuery()
Get the value of SelectTag.queryStr.


getSortBy() Method

public String getSortBy()
Get the value of SelectTag.sortBy.


release() Method

public void release()
Release this tag.

Overrides
BaseTag.release()

setContentHome(String) Method

public void setContentHome(String v)
Set the value of SelectTag.contentHome.


setContextParams(String) Method

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


setContextParams(Map) Method

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


setExpression(Expression) Method

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


setExpression(Expression) Method

DEPRECATED will be removed when old expressions are removed.

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


setMax(String) Method

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


setMax(long) Method

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


setQuery(String) Method

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


setSortBy(String) Method

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