com.atlassian.jira.sharing.type.ShareTypeRenderer |
Known Indirect Subclasses
GlobalShareTypeRenderer,
GroupShareTypeRenderer,
ProjectShareTypeRenderer,
VelocityShareTypeRenderer
|
Implemented by ShareType
s to render their representation on
the UI.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ShareTypeRenderer.RenderMode | Enumeration representing the modes that shared can be rendered in Javascript. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the HTML of the component that is used to configure the ShareType when necessary.
| |||||||||||
Return a string that can be used to differentiate the associated ShareType.
| |||||||||||
Return a simple text only description of the share.
| |||||||||||
Return map of key -> template that can be used to show a configured shares in Javascript.
| |||||||||||
Return whether or not the component needs a button.
| |||||||||||
Return HTML that shows the configured share.
|
Return the HTML of the component that is used to configure the ShareType when necessary.
userCtx | the context of the user calling this method. |
---|
Return a string that can be used to differentiate the associated ShareType. This string is used in the web component that selects a particular ShareType.
userCtx | the context of the user calling this method. |
---|
Return a simple text only description of the share.
permission | the share to describe, containing permission params. |
---|---|
userCtx | the context of the user calling this method. |
Return map of key -> template that can be used to show a configured shares in Javascript.
userCtx | the context of the user calling this method. |
---|---|
type | the type of the shared entity . |
mode | the mode that should be rendered. |
Return whether or not the component needs a button.
userCtx | the context of the user calling this method. |
---|
Return HTML that shows the configured share.
permission | the share to render. |
---|---|
userCtx | the context of the user calling this method. |