TaskBean API
0.5

glogic.sample.sys
Class CheckAppRightsTag

java.lang.Object
  extended byTagSupport
      extended byglogic.sample.sys.CheckAppRightsTag

public final class CheckAppRightsTag
extends TagSupport

Check if the application has rights to be rendered on the screen. The name of the applicatio is passed in and the rights are looked up from the User objects in the session.

Author:
Sam Taha
See Also:
Serialized Form

Constructor Summary
CheckAppRightsTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Defer our checking until the end of this tag is encountered.
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckAppRightsTag

public CheckAppRightsTag()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

doStartTag

public int doStartTag()
               throws JspException
Defer our checking until the end of this tag is encountered.

Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws JspException
Throws:
JspException - if a JSP exception has occurred

TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.