Class SimpleDocumentContextualMenu
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.silverpeas.core.web.attachment.tag.SimpleDocumentContextualMenu
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class SimpleDocumentContextualMenu extends javax.servlet.jsp.tagext.TagSupport
- Author:
- ehugonnet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleDocumentContextualMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
boolean
isComponentPublicationAlwaysVisible(String componentInstanceId)
Indicates if the publication are always visible for the component instance represented by the given identifier.void
setAttachment(SimpleDocument attachment)
void
setFromAlias(boolean fromAlias)
void
setShowMenuNotif(boolean showMenuNotif)
void
setUserRole(SilverpeasRole userRole)
void
setUseWebDAV(boolean useWebDAV)
void
setUseXMLForm(boolean useXMLForm)
-
-
-
Method Detail
-
setAttachment
public void setAttachment(SimpleDocument attachment)
-
setUseXMLForm
public void setUseXMLForm(boolean useXMLForm)
-
setUseWebDAV
public void setUseWebDAV(boolean useWebDAV)
-
setShowMenuNotif
public void setShowMenuNotif(boolean showMenuNotif)
-
setFromAlias
public void setFromAlias(boolean fromAlias)
-
setUserRole
public void setUserRole(SilverpeasRole userRole)
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
isComponentPublicationAlwaysVisible
public boolean isComponentPublicationAlwaysVisible(String componentInstanceId)
Indicates if the publication are always visible for the component instance represented by the given identifier.- Parameters:
componentInstanceId
- the component instance identifier that must be verified.- Returns:
- true if publication are always visible.
-
-