railo.runtime.tag
Class Registry

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.Registry
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class Registry
extends TagImpl

Reads, writes, and deletes keys and values in the system registry. The cfregistry tag is supported on all platforms, including Linux, Solaris, and HP-UX.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Registry()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setAction(String action)
          set the value action action to the registry
 void setBranch(String branch)
          set the value branch Name of a registry branch.
 void setEntry(String entry)
          set the value entry Registry value to access.
 void setName(String name)
          set the value name Name of record set to contain returned keys and values.
 void setSort(String sort)
          set the value sort Sorts query column data (case-insensitive).
 void setType(String type)
          set the value type string: return string values dWord: return DWord values key: return keys any: return keys and values
 void setValue(String value)
          set the value value Value data to set.
 void setVariable(String variable)
          set the value variable Variable into which to put value.
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Registry

public Registry()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl
See Also:
Tag.release()

setValue

public void setValue(String value)
set the value value Value data to set. If you omit this attribute, cfregistry creates default value, as follows: string: creates an empty string: "" dWord: creates a value of 0 (zero)

Parameters:
value - value to set

setAction

public void setAction(String action)
               throws ApplicationException
set the value action action to the registry

Parameters:
action - value to set
Throws:
ApplicationException

setSort

public void setSort(String sort)
set the value sort Sorts query column data (case-insensitive). Sorts on Entry, Type, and Value columns as text. Specify a combination of columns from query output, in a comma-delimited list. For example: sort = "value desc, entry asc" asc: ascending (a to z) sort order desc: descending (z to a) sort order

Parameters:
sort - value to set

setType

public void setType(String type)
             throws ApplicationException
set the value type string: return string values dWord: return DWord values key: return keys any: return keys and values

Parameters:
type - value to set
Throws:
ApplicationException

setBranch

public void setBranch(String branch)
set the value branch Name of a registry branch.

Parameters:
branch - value to set

setEntry

public void setEntry(String entry)
set the value entry Registry value to access.

Parameters:
entry - value to set

setVariable

public void setVariable(String variable)
set the value variable Variable into which to put value.

Parameters:
variable - value to set

setName

public void setName(String name)
set the value name Name of record set to contain returned keys and values.

Parameters:
name - value to set

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
PageException
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
See Also:
Tag.doEndTag()


Copyright © 2012 Railo