org.rhq.enterprise.gui.legacy.taglib
Class PermissionGrantedTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.jstl.core.ConditionalTagSupport
          extended by org.rhq.enterprise.gui.legacy.taglib.PermissionGrantedTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

Deprecated.

@Deprecated
public class PermissionGrantedTag
extends javax.servlet.jsp.jstl.core.ConditionalTagSupport

Evaluate the nested body content of this tag if the specified permission is granted for the specified resource type.

See Also:
Serialized Form

Field Summary
protected  String mapName
          Deprecated.  
protected  String permName
          Deprecated.  
protected  String rtName
          Deprecated.  
 
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
PermissionGrantedTag()
          Deprecated.  
 
Method Summary
protected  boolean condition()
          Deprecated. Check to see if the specified operation exists for the specified resource type in the role operation map.
 void release()
          Deprecated. Release tag state.
 void setMap(String name)
          Deprecated. Set the name of the attribute in page, request, session or application scope that holds the Map object.
 void setPerm(String name)
          Deprecated. Set the name of the attribute in page, request, session or application scope that holds the Permission object.
 void setRt(String name)
          Deprecated. Set the name of the attribute in page, request, session or application scope that holds the ResourceTypeValue object.
 
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
doStartTag, setScope, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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

permName

protected String permName
Deprecated. 

rtName

protected String rtName
Deprecated. 

mapName

protected String mapName
Deprecated. 
Constructor Detail

PermissionGrantedTag

public PermissionGrantedTag()
Deprecated. 
Method Detail

setPerm

public void setPerm(String name)
Deprecated. 
Set the name of the attribute in page, request, session or application scope that holds the Permission object.

Parameters:
name - the name of the scoped attribute

setRt

public void setRt(String name)
Deprecated. 
Set the name of the attribute in page, request, session or application scope that holds the ResourceTypeValue object.

Parameters:
name - the name of the scoped attribute

setMap

public void setMap(String name)
Deprecated. 
Set the name of the attribute in page, request, session or application scope that holds the Map object.

Parameters:
name - the name of the scoped attribute

condition

protected boolean condition()
                     throws javax.servlet.jsp.JspTagException
Deprecated. 
Check to see if the specified operation exists for the specified resource type in the role operation map.

Specified by:
condition in class javax.servlet.jsp.jstl.core.ConditionalTagSupport
Throws:
javax.servlet.jsp.JspTagException - if a JSP tag exception occurs

release

public void release()
Deprecated. 
Release tag state.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.jstl.core.ConditionalTagSupport


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.