railo.runtime.tag
Class StoredProc
java.lang.Object
railo.runtime.ext.tag.TagSupport
railo.runtime.ext.tag.BodyTagSupport
railo.runtime.ext.tag.BodyTagTryCatchFinallySupport
railo.runtime.tag.StoredProc
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
public class StoredProc
- extends BodyTagTryCatchFinallySupport
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
StoredProc
public StoredProc()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BodyTagSupport
- See Also:
Tag.release()
setCachedafter
public void setCachedafter(DateTime cachedafter)
- set the value cachedafter
This is the age of which the query data can be
- Parameters:
cachedafter
- value to set
setCachename
public void setCachename(String cachename)
- set the value cachename
This is specific to JTags, and allows you to give the cache a specific name
- Parameters:
cachename
- value to set
setCachedwithin
public void setCachedwithin(TimeSpan cachedwithin)
- set the value cachedwithin
- Parameters:
cachedwithin
- value to set
setBlockfactor
public void setBlockfactor(double blockfactor)
- Parameters:
blockfactor
- The blockfactor to set.
setBlockfactor
public void setBlockfactor(int blockfactor)
- Deprecated. replaced with setBlockfactor(double)
- Parameters:
blockfactor
-
setDatasource
public void setDatasource(String datasource)
- Parameters:
datasource
- The datasource to set.
setUsername
public void setUsername(String username)
- Parameters:
username
- The username to set.
setPassword
public void setPassword(String password)
- Parameters:
password
- The password to set.
setDebug
public void setDebug(boolean debug)
- Parameters:
debug
- The debug to set.
setProcedure
public void setProcedure(String procedure)
- Parameters:
procedure
- The procedure to set.
setResult
public void setResult(String result)
- Parameters:
result
- The result to set.
setReturncode
public void setReturncode(boolean returncode)
- Parameters:
returncode
- The returncode to set.
setDbvarname
public void setDbvarname(String dbvarname)
- Parameters:
dbvarname
- the dbvarname to set
setDbtype
public void setDbtype(String dbtype)
addProcParam
public void addProcParam(ProcParamBean param)
addProcResult
public void addProcResult(ProcResultBean result)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagSupport
- Throws:
javax.servlet.jsp.JspException
- See Also:
Tag.doStartTag()
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagSupport
- Throws:
javax.servlet.jsp.JspException
- See Also:
TagSupport.doEndTag()
hasBody
public void hasBody(boolean b)
- Parameters:
b
-
setTimeout
public void setTimeout(double timeout)
- Parameters:
timeout
- the timeout to set
Copyright © 2012 Railo