pt.moredata.taglibs.protectcontent
Class GrantAccessPolicyTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bypt.moredata.taglibs.protectcontent.AbstractPolicyTag
          extended bypt.moredata.taglibs.protectcontent.GrantAccessPolicyTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class GrantAccessPolicyTag
extends AbstractPolicyTag

GrantAccessPolicyTag.java Exemplo de implementação de uma tag usada para definir uma politica de proteccao de conteudos. O conteudo protegido por esta tag e incluido incondicionalmente. Company MoreData

Version:
$Revision: 1.2 $
Author:
pcarmo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class pt.moredata.taglibs.protectcontent.AbstractPolicyTag
_parent
 
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
GrantAccessPolicyTag()
           
 
Method Summary
protected  boolean isConditionVerified()
           
 
Methods inherited from class pt.moredata.taglibs.protectcontent.AbstractPolicyTag
doCatch, doEndTag, doFinally, doStartTag, verifyPolicy
 
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
 

Constructor Detail

GrantAccessPolicyTag

public GrantAccessPolicyTag()
Method Detail

isConditionVerified

protected boolean isConditionVerified()
                               throws javax.servlet.jsp.JspTagException
Specified by:
isConditionVerified in class AbstractPolicyTag
Returns:
Um boleano que indica caso seja verdadeiro que se verifica uma condicao.
Throws:
javax.servlet.jsp.JspTagException