|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
pt.moredata.taglibs.AbstractTag
pt.moredata.taglibs.dao.DAOAbstractTag
pt.moredata.taglibs.dao.CreateDAOTag
CreateDAOTag.java TODO : Falta uma tag para definir quais as colunas a incluir no DAO. TODO : Precisa de trabalho ao nivel de criar a conexão, talvez usar as tags de conexao das dbtags !? Company MoreData
| Field Summary |
| Fields inherited from class pt.moredata.taglibs.dao.DAOAbstractTag |
dao |
| Fields inherited from class pt.moredata.taglibs.AbstractTag |
uri |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| 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 | |
CreateDAOTag()
Creates a new instance of CreateDAO |
|
| Method Summary | |
int |
doEndTag()
Processa o fim da tag. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
int |
doStartTag()
Processa o inicio da tag. |
void |
setColumnNames(java.util.ArrayList colnames)
Setter for property columnNames. |
void |
setDaoVarName(java.lang.String daoVarName)
Setter for property daoVarName. |
void |
setDataSourceVarName(java.lang.String dataSourceVarName)
Setter for property dataSourceVarName. |
void |
setOrderBy(java.lang.String orderBy)
Setter for property orderBy. |
void |
setQuery(java.lang.String query)
Setter for property query. |
void |
setTableName(java.lang.String tableName)
Setter for property tableName. |
void |
setWhereClause(java.lang.String whereClause)
Setter for property whereClause. |
| Methods inherited from class pt.moredata.taglibs.dao.DAOAbstractTag |
getDAO |
| Methods inherited from class pt.moredata.taglibs.AbstractTag |
doCatch, getAncestor, getAncestor, getUri, getVarFromJspPage, readUri, setVarInJspPage |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.TryCatchFinally |
doCatch |
| Constructor Detail |
public CreateDAOTag()
| Method Detail |
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class DAOAbstractTagjavax.servlet.jsp.JspTagException
public int doEndTag()
throws javax.servlet.jsp.JspTagException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class DAOAbstractTagjavax.servlet.jsp.JspTagExceptionpublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallydoFinally in class DAOAbstractTag
public void setDataSourceVarName(java.lang.String dataSourceVarName)
throws javax.servlet.jsp.JspTagException
dataSourceVarName - New value of property dataSourceVarName.
javax.servlet.jsp.JspTagExceptionpublic void setDaoVarName(java.lang.String daoVarName)
public void setOrderBy(java.lang.String orderBy)
orderBy - New value of property orderBy.public void setQuery(java.lang.String query)
query - New value of property query.public void setTableName(java.lang.String tableName)
tableName - New value of property tableName.public void setWhereClause(java.lang.String whereClause)
whereClause - New value of property whereClause.public void setColumnNames(java.util.ArrayList colnames)
colnames - New value of property columnNames.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||