public class StoredProc extends BodyTagTryCatchFinallySupport
Constructor and Description |
---|
StoredProc() |
Modifier and Type | Method and Description |
---|---|
void |
addProcParam(ProcParamBean param) |
void |
addProcResult(ProcResultBean result) |
int |
doEndTag() |
int |
doStartTag() |
void |
hasBody(boolean b) |
void |
release() |
void |
setBlockfactor(double blockfactor) |
void |
setBlockfactor(int blockfactor)
Deprecated.
replaced with setBlockfactor(double)
|
void |
setCachedafter(DateTime cachedafter)
set the value cachedafter
This is the age of which the query data can be
|
void |
setCachedwithin(Object cachedwithin) |
void |
setCachedwithin(TimeSpan cachedwithin)
set the value cachedwithin
|
void |
setCachename(String cachename)
set the value cachename
This is specific to JTags, and allows you to give the cache a specific name
|
void |
setDatasource(String datasource) |
void |
setDbtype(String dbtype) |
void |
setDbvarname(String dbvarname) |
void |
setDebug(boolean debug) |
void |
setPassword(String password) |
void |
setProcedure(String procedure) |
void |
setResult(String result) |
void |
setReturncode(boolean returncode) |
void |
setTimeout(double timeout) |
void |
setUsername(String username) |
doCatch, doFinally
doAfterBody, doInitBody, setBodyContent
getParent, required, setPageContext, setPageContext, setParent
public StoredProc()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagSupport
Tag.release()
public void setCachedafter(DateTime cachedafter)
cachedafter
- value to setpublic void setCachename(String cachename)
cachename
- value to setpublic void setCachedwithin(TimeSpan cachedwithin)
cachedwithin
- value to setpublic void setCachedwithin(Object cachedwithin) throws PageException
PageException
public void setBlockfactor(double blockfactor)
blockfactor
- The blockfactor to set.@Deprecated public void setBlockfactor(int blockfactor)
blockfactor
- public void setDatasource(String datasource)
datasource
- The datasource to set.public void setUsername(String username)
username
- The username to set.public void setPassword(String password)
password
- The password to set.public void setDebug(boolean debug)
debug
- The debug to set.public void setProcedure(String procedure)
procedure
- The procedure to set.public void setReturncode(boolean returncode)
returncode
- The returncode to set.public void setDbvarname(String dbvarname)
dbvarname
- the dbvarname to setpublic void addProcParam(ProcParamBean param)
public void addProcResult(ProcResultBean result)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagSupport
javax.servlet.jsp.JspException
Tag.doStartTag()
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagSupport
PageException
Tag.doEndTag()
public void hasBody(boolean b)
b
- public void setTimeout(double timeout)
timeout
- the timeout to setCopyright © 2015 Lucee