Company MoreData
- Version:
- $Revision: 1.2 $
- Author:
- pcarmo
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
protected void |
createDAOPrinter()
|
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. |
protected DataAccessObject |
findDAO(java.lang.String daoName)
Devolve o dao dado o nome especificado na tag.
|
boolean |
getCheckboxValue()
Getter for property checkbox. |
java.lang.String |
getColumnName()
Getter for property columnName. |
java.lang.String |
getHtmlName()
Getter for property htmlName. |
java.lang.String |
getHtmlNamePrefix()
Getter for property htmlNamePrefix. |
java.lang.String |
getHtmlNameSufix()
Getter for property htmlNameSufix. |
boolean |
getReadOnlyValue()
Getter for property readonly |
int |
getRowNumberValue()
Getter for property rowNumber. |
java.lang.String |
getShowLabel()
Getter for property dao. |
java.lang.String |
getUrl()
Getter for property url. |
void |
setColumnName(java.lang.String columnName)
Setter for property columnName. |
void |
setDaoName(java.lang.String daoName)
Setter for property name. |
void |
setHtmlName(java.lang.String htmlName)
Setter for property htmlName. |
void |
setHtmlNamePrefix(java.lang.String htmlNamePrefix)
Setter for property htmlNamePrefix. |
void |
setHtmlNameSufix(java.lang.String htmlNameSufix)
Setter for property htmlNameSufix. |
void |
setOutputType(java.lang.String outputType)
Setter for property outputType. |
void |
setReadOnly(java.lang.String readonly)
Setter for property readonly. |
void |
setRowNumber(java.lang.String rowNumber)
Setter for property rowNumber. |
void |
setShowLabel(java.lang.String showLabel)
Setter for property showLabel. |
| 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 |
TXT_KEY
public static final java.lang.String TXT_KEY
- See Also:
- Constant Field Values
HTML_FORM_KEY
public static final java.lang.String HTML_FORM_KEY
- See Also:
- Constant Field Values
HTML_TABLE_KEY
public static final java.lang.String HTML_TABLE_KEY
- See Also:
- Constant Field Values
LEFT_ALIGNMENT
public static final java.lang.String LEFT_ALIGNMENT
- See Also:
- Constant Field Values
TOP_ALIGNMENT
public static final java.lang.String TOP_ALIGNMENT
- See Also:
- Constant Field Values
daoName
protected java.lang.String daoName
- Holds value of property name.
rowNumber
protected int rowNumber
- Holds value of property rowNumber.
daoPrinter
protected DAOPrinter daoPrinter
- Objecto responsavel por gerar o output da tag.
DAOAbstractDataTag
public DAOAbstractDataTag()
- Creates a new instance of DAOAbstractTag
createDAOPrinter
protected void createDAOPrinter()
findDAO
protected DataAccessObject findDAO(java.lang.String daoName)
throws javax.servlet.jsp.JspTagException
- Devolve o dao dado o nome especificado na tag.
Este metodo assume que existe um dao com o nome especificado guardado
no objecto session.
- Parameters:
daoName - A identificacao do DataAccessObject.
- Throws:
javax.servlet.jsp.JspTagException - Se o DataAccessObject nao for encontrado na sessao.
doFinally
public void doFinally()
- Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. This method is invoked even if an exception
has occurred in the BODY of the tag, or in any of the following methods:
Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and
BodyTag.doInitBody().
This method is not invoked if the Throwable occurs during one of the
setter methods.
This method should not throw an Exception.
This method is intended to maintain per-invocation data integrity and
resource management actions.
- Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally- Overrides:
doFinally in class DAOAbstractTag
setDaoName
public void setDaoName(java.lang.String daoName)
throws javax.servlet.jsp.JspTagException
- Setter for property name.
- Parameters:
daoName - New value of property name.
- Throws:
javax.servlet.jsp.JspTagException - Se nao for encontrado um DAO com o nome especificado.
setRowNumber
public void setRowNumber(java.lang.String rowNumber)
throws javax.servlet.jsp.JspTagException
- Setter for property rowNumber.
- Parameters:
rowNumber - New value of property rowNumber.
- Throws:
javax.servlet.jsp.JspTagException
setOutputType
public void setOutputType(java.lang.String outputType)
throws javax.servlet.jsp.JspTagException
- Setter for property outputType.
- Parameters:
outputType - New value of property outputType.
- Throws:
javax.servlet.jsp.JspTagException
getShowLabel
public java.lang.String getShowLabel()
- Getter for property dao.
- Returns:
- Value of property dao.
setShowLabel
public void setShowLabel(java.lang.String showLabel)
throws javax.servlet.jsp.JspTagException
- Setter for property showLabel.
- Parameters:
showLabel - New value of property showLabel.
- Throws:
javax.servlet.jsp.JspTagException
setHtmlName
public void setHtmlName(java.lang.String htmlName)
- Setter for property htmlName.
- Parameters:
htmlName - New value of property htmlName.
setHtmlNamePrefix
public void setHtmlNamePrefix(java.lang.String htmlNamePrefix)
- Setter for property htmlNamePrefix.
- Parameters:
htmlNamePrefix - New value of property htmlNamePrefix.
setHtmlNameSufix
public void setHtmlNameSufix(java.lang.String htmlNameSufix)
- Setter for property htmlNameSufix.
- Parameters:
htmlNameSufix - New value of property htmlNameSufix.
setReadOnly
public void setReadOnly(java.lang.String readonly)
- Setter for property readonly.
- Parameters:
readonly - New value of property readonly.
getReadOnlyValue
public boolean getReadOnlyValue()
- Getter for property readonly
- Returns:
- Value of property readonly.
getRowNumberValue
public int getRowNumberValue()
- Getter for property rowNumber.
- Returns:
- Value of property rowNumber.
getHtmlName
public java.lang.String getHtmlName()
- Getter for property htmlName.
- Returns:
- Value of property htmlName.
getHtmlNamePrefix
public java.lang.String getHtmlNamePrefix()
- Getter for property htmlNamePrefix.
- Returns:
- Value of property htmlNamePrefix.
getHtmlNameSufix
public java.lang.String getHtmlNameSufix()
- Getter for property htmlNameSufix.
- Returns:
- Value of property htmlNameSufix.
getUrl
public java.lang.String getUrl()
- Getter for property url.
- Returns:
- Value of property url.
getCheckboxValue
public boolean getCheckboxValue()
- Getter for property checkbox.
- Returns:
- Value of property checkbox.
setColumnName
public void setColumnName(java.lang.String columnName)
- Setter for property columnName.
- Parameters:
columnName - New value of property columnName.
getColumnName
public java.lang.String getColumnName()
- Getter for property columnName.
- Returns:
- Value of property columnName.