railo.runtime.tag
Class StoredProc

java.lang.Object
  extended by railo.runtime.ext.tag.TagSupport
      extended by railo.runtime.ext.tag.BodyTagSupport
          extended by railo.runtime.ext.tag.BodyTagTryCatchFinallySupport
              extended by 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


Field Summary
 
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
 
Constructor Summary
StoredProc()
           
 
Method Summary
 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(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)
           
 
Methods inherited from class railo.runtime.ext.tag.BodyTagTryCatchFinallySupport
doCatch, doFinally
 
Methods inherited from class railo.runtime.ext.tag.BodyTagSupport
doAfterBody, doInitBody, setBodyContent
 
Methods inherited from class railo.runtime.ext.tag.TagSupport
getParent, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

StoredProc

public StoredProc()
Method Detail

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