org.mmbase.bridge.jsp.taglib.security
Class MayCreateTag

org.mmbase.bridge.jsp.taglib.ContextReferrerTag
  |
  +--org.mmbase.bridge.jsp.taglib.CloudReferrerTag
        |
        +--org.mmbase.bridge.jsp.taglib.security.MayCreateTag
All Implemented Interfaces:
Condition

public class MayCreateTag
extends CloudReferrerTag
implements Condition

A very simple tag to check if node may be created

Author:
Michiel Meeuwissen

Field Summary
protected  boolean inverse
           
protected  java.lang.String type
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, PAGE_CATEGORY, pageContextTag, referid
 
Constructor Summary
MayCreateTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
 void setInverse(java.lang.Boolean b)
          This attribute inverses the sense of the condition.
 void setType(java.lang.String t)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, getCloud, getCloudContext, getNode, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, release, setContext, setPageContext, setReferid
 

Field Detail

inverse

protected boolean inverse

type

protected java.lang.String type
Constructor Detail

MayCreateTag

public MayCreateTag()
Method Detail

setInverse

public void setInverse(java.lang.Boolean b)
Description copied from interface: Condition
This attribute inverses the sense of the condition.
Specified by:
setInverse in interface Condition

setType

public void setType(java.lang.String t)
             throws javax.servlet.jsp.JspTagException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException


MMBase 2002