Class ContributionManagementContextTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.buttons.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 aButtonTag
.
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 Summary
Constructors Constructor Description ContributionManagementContextTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
ContributionIdentifier
getContributionId()
Boolean
getContributionIndexable()
String
getJsValidationCallbackMethodName()
Location
getLocation()
protected HttpRequest
getRequest()
String
getSubscriptionResourceId()
SubscriptionResourceType
getSubscriptionResourceType()
void
release()
protected String
renderContributionObject(org.silverpeas.core.web.util.viewgenerator.html.buttons.AbstractContributionManagementContextTag.Item item)
protected String
renderContributionSubscriptionItem(String componentId, org.silverpeas.core.web.util.viewgenerator.html.buttons.AbstractContributionManagementContextTag.Item item, boolean isComment)
protected String
renderJs()
protected String
renderSubscriptionJs(List<org.silverpeas.core.web.util.viewgenerator.html.buttons.AbstractContributionManagementContextTag.Item> items)
void
setContributionId(ContributionIdentifier contributionId)
void
setContributionIndexable(Boolean contributionIndexable)
void
setJsValidationCallbackMethodName(String jsValidationCallbackMethodName)
void
setLocation(Location location)
void
setSubscriptionResourceId(String subscriptionResourceId)
void
setSubscriptionResourceType(SubscriptionResourceType subscriptionResourceType)
-
-
-
Method Detail
-
getSubscriptionResourceType
public SubscriptionResourceType getSubscriptionResourceType()
-
getContributionId
public ContributionIdentifier getContributionId()
-
setContributionId
public void setContributionId(ContributionIdentifier contributionId)
-
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 interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.TagSupport
-
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
-
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
-
getRequest
protected HttpRequest getRequest()
-
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)
-
-