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

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.PermissionExistsTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

Deprecated.

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

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

See Also:
Serialized Form

Field Summary
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
PermissionExistsTag()
          Deprecated.  
 
Method Summary
protected  boolean condition()
          Deprecated. Check to see if the specified permission exists for the specified resource type.
 void release()
          Deprecated. Release tag state.
 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. 
Constructor Detail

PermissionExistsTag

public PermissionExistsTag()
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

condition

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

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.