|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.bea.content.manager.servlets.jsp.taglib.BaseTag
com.bea.content.manager.servlets.jsp.taglib.SearchTag
public class SearchTag
JSP Tag implementation for searching for content.
Field Summary | |
---|---|
protected Map |
contextParams The search context parameters. |
protected Expression |
expr The com.bea.p13n.expression.Expression to execute the search for. |
protected String |
max The maximum number of Nodes to return from the search. |
protected Node[] |
nodes Deprecated |
protected String |
queryStr The query to execute the search for. |
protected String[] |
searchPaths Array of paths from which the search will take place. |
protected String |
sortBy A list of content properties to sort the content by. |
protected boolean |
sortInMemory This permits sorting on implicit properties, although it also requires pulling all of the search results into memory first. |
protected boolean |
versionedContent Should this search versioned data and return versions. |
Fields inherited from class com.bea.content.manager.servlets.jsp.taglib.BaseTag |
---|
cacheId, cacheScope, cacheTimeout, failOnError, useCache |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
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 . |
boolean |
getSortInMemory() Get the value of sortInMemory . |
boolean |
getVersionedContent() Boolean to determine if version data should be returned |
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(String max) 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 . |
void |
setSortInMemory(boolean v) Set the value of sortInMemory . |
void |
setVersionedContent(boolean s) Set boolean to determine if version data should be returned |
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 javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String max
protected String sortBy
protected String queryStr
protected Expression expr
protected Map contextParams
protected String[] searchPaths
protected boolean sortInMemory
protected boolean versionedContent
protected Node[] nodes
Constructor Detail |
---|
public SearchTag()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseTag
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public String getMax()
max
as a String.public void setMax(String max)
max
.public String getSortBy()
sortBy
.public void setSortBy(String v)
sortBy
.public boolean getSortInMemory()
sortInMemory
.public void setSortInMemory(boolean v)
sortInMemory
.public void setSearchPaths(String searchPaths)
searchPaths
.public void setSearchPaths(String[] searchPaths)
searchPaths
.public String[] getSearchPaths()
searchPaths
.public String getQuery()
queryStr
.public void setQuery(String v)
queryStr
.public void setExpression(Expression expr)
expression object
to use.public Map getContextParams()
public void setContextParams(String str)
public void setContextParams(Map m)
public boolean getVersionedContent()
public void setVersionedContent(boolean s)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.