|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.tag.Insert
public final class Insert
Inserts records in data sources.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Insert()
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
|
static Object |
getDatasource(PageContext pageContext,
String datasource)
|
static Struct |
getMeta(DatasourceConnection dc,
String tableQualifier,
String tableOwner,
String tableName)
|
void |
release()
|
void |
setDatasource(String datasource)
set the value datasource Name of the data source that contains your table. |
void |
setFormfields(String formfields)
set the value formfields A comma-separated list of form fields to insert. |
void |
setPassword(String password)
set the value password If specified, password overrides the password value specified in the ODBC setup. |
void |
setTablename(String tablename)
set the value tablename Name of the table you want the form fields inserted in. |
void |
setTableowner(String tableowner)
set the value tableowner For data sources that support table ownership such as SQL Server, Oracle, and Sybase SQL Anywhere, use this field to specify the owner of the table. |
void |
setTablequalifier(String tablequalifier)
set the value tablequalifier For data sources that support table qualifiers, use this field to specify the qualifier for the table. |
void |
setUsername(String username)
set the value username If specified, username overrides the username value specified in the ODBC setup. |
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 |
---|
public Insert()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagImpl
public void setPassword(String password)
password
- value to setpublic void setDatasource(String datasource)
datasource
- value to setpublic void setUsername(String username)
username
- value to setpublic void setFormfields(String formfields)
formfields
- value to setpublic void setTableowner(String tableowner)
tableowner
- value to setpublic void setTablename(String tablename)
tablename
- value to setpublic void setTablequalifier(String tablequalifier)
tablequalifier
- value to setpublic int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
public static Object getDatasource(PageContext pageContext, String datasource) throws ApplicationException
ApplicationException
public static Struct getMeta(DatasourceConnection dc, String tableQualifier, String tableOwner, String tableName) throws SQLException
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |