se.kmr.scam.web.taglib.scam
Class HasPermissionTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byse.kmr.scam.web.taglib.scam.HasPermissionTag
All Implemented Interfaces:
BodyTag, IterationTag, Serializable, Tag

public class HasPermissionTag
extends BodyTagSupport

Version:
$Revision: 1.7 $
Author:
Jöran
See Also:
Serialized Form
Created:
den 7 maj 2003

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
HasPermissionTag()
           
 
Method Summary
 int doAfterBody()
          Recives notification after body evaluation
 int doStartTag()
           
 Boolean getValue()
           
 void setPermission(String permissionRef)
          Sets the permission attribute
 void setSubject(String subjectRef)
          Sets the resource attribute
 void setVar(String varRef)
          Sets the var attribute
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

HasPermissionTag

public HasPermissionTag()
Method Detail

setSubject

public void setSubject(String subjectRef)
Sets the resource attribute

Parameters:
subjectRef - The new subject value

setPermission

public void setPermission(String permissionRef)
Sets the permission attribute

Parameters:
permissionRef - The new permission value

setVar

public void setVar(String varRef)
Sets the var attribute

Parameters:
varRef - The new var value

getValue

public Boolean getValue()
                 throws JspException
Throws:
JspException

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

doAfterBody

public int doAfterBody()
Recives notification after body evaluation

Returns:
the value of EVAL_PAGE


Copyright © 2003 SCAM. All Rights Reserved.