public class ShareTypeRendererBean extends Object
Constructor and Description |
---|
ShareTypeRendererBean(ShareType shareType,
JiraAuthenticationContext authenticationContext,
ShareTypeRenderer.RenderMode renderMode,
SharedEntity.TypeDescriptor typeDescriptor) |
Modifier and Type | Method and Description |
---|---|
String |
getShareType() |
String |
getShareTypeEditor()
Return the HTML of the component that is used to configure the ShareType when necessary.
|
String |
getShareTypeLabel()
Return a string that can be used to differentiate the associated ShareType.
|
String |
getShareTypeSelector()
Return the HTML of the component that is used to select the ShareType instance when necessary.
|
Map |
getTranslatedTemplates()
Return a map of key-> message templates for inclusion in the Javascript that renders the shares.
|
boolean |
isAddButtonNeeded()
Return whether or not the component needs a button.
|
boolean |
isAvailable()
Return true if the share types is available to be used.
|
public ShareTypeRendererBean(ShareType shareType, JiraAuthenticationContext authenticationContext, ShareTypeRenderer.RenderMode renderMode, SharedEntity.TypeDescriptor typeDescriptor)
public String getShareType()
public String getShareTypeEditor()
public String getShareTypeSelector()
public boolean isAddButtonNeeded()
public String getShareTypeLabel()
public boolean isAvailable()
public Map getTranslatedTemplates()
Copyright © 2002-2018 Atlassian. All Rights Reserved.