Class ContributionManagementContextTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class ContributionManagementContextTag
    extends javax.servlet.jsp.tagext.TagSupport
    This TAG can be called into a ButtonTag.
    It permits to display a popups in order to ask to the user some validation and confirmations.

    For now, it asks:

    • for minor/major modifications
    • for user notification sending

    See Also:
    Serialized Form
    • Constructor Detail

      • ContributionManagementContextTag

        public ContributionManagementContextTag()
    • Method Detail

      • setSubscriptionResourceType

        public void setSubscriptionResourceType​(SubscriptionResourceType subscriptionResourceType)
      • getSubscriptionResourceId

        public String getSubscriptionResourceId()
      • setSubscriptionResourceId

        public void setSubscriptionResourceId​(String subscriptionResourceId)
      • getJsValidationCallbackMethodName

        public String getJsValidationCallbackMethodName()
      • setJsValidationCallbackMethodName

        public void setJsValidationCallbackMethodName​(String jsValidationCallbackMethodName)
      • getContributionIndexable

        public Boolean getContributionIndexable()
      • setContributionIndexable

        public void setContributionIndexable​(Boolean contributionIndexable)
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • release

        public void release()
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        release in class javax.servlet.jsp.tagext.TagSupport
      • doEndTag

        public int doEndTag()
                     throws javax.servlet.jsp.JspException
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
      • renderJs

        protected String renderJs()
      • renderContributionObject

        protected String renderContributionObject​(org.silverpeas.core.web.util.viewgenerator.html.buttons.AbstractContributionManagementContextTag.Item item)
      • renderSubscriptionJs

        protected String renderSubscriptionJs​(List<org.silverpeas.core.web.util.viewgenerator.html.buttons.AbstractContributionManagementContextTag.Item> items)
      • renderContributionSubscriptionItem

        protected String renderContributionSubscriptionItem​(String componentId,
                                                            org.silverpeas.core.web.util.viewgenerator.html.buttons.AbstractContributionManagementContextTag.Item item,
                                                            boolean isComment)