|
|||||||||||
| 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.despodata.java.webappl.tags.AbstractProtectTag
AbstractProtectTag.java Company MoreData
| Field Summary | |
protected java.lang.String |
authorized
Holds value of property authorized. |
protected java.lang.String |
name
Holds value of property name. |
protected ProtectTag |
parent
Tag onde esta tag deve ser aninhada. |
protected IUser |
user
Utilizador autenticado perante a aplicacao. |
| 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 | |
AbstractProtectTag()
|
|
| Method Summary | |
int |
doEndTag()
|
int |
doStartTag()
Implemetacao da tag. |
protected abstract boolean |
isConditionVerified()
|
void |
release()
Tag handlers should always implement release() because handlers can be reused by the JSP container |
void |
setAuthorized(java.lang.String authorized)
Setter for property authorized. |
void |
setName(java.lang.String name)
Setter for property name. |
| Methods inherited from class pt.moredata.taglibs.AbstractTag |
doCatch, doFinally, getAncestor, getAncestor, getUri, getVarFromJspPage, readUri, setVarInJspPage |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected java.lang.String authorized
protected ProtectTag parent
protected IUser user
| Constructor Detail |
public AbstractProtectTag()
| Method Detail |
protected abstract boolean isConditionVerified()
throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public int doStartTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public int doEndTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionpublic void release()
public void setName(java.lang.String name)
name - New value of property name.public void setAuthorized(java.lang.String authorized)
authorized - New value of property authorized.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||